Skip to content

Commit 481537a

Browse files
committed
Inline annotation usage
1 parent 97d489d commit 481537a

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

src/main/java/net/onelitefeather/bettergopaint/brush/BrushSettings.java

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,35 +40,31 @@ public interface BrushSettings {
4040
*
4141
* @return the axis used by the brush settings
4242
*/
43-
@NotNull
44-
Axis axis();
43+
@NotNull Axis axis();
4544

4645
/**
4746
* Returns the brush used by the brush settings.
4847
*
4948
* @return The brush used by the brush settings.
5049
*/
51-
@NotNull
52-
Brush brush();
50+
@NotNull Brush brush();
5351

5452
/**
5553
* Returns the list of blocks used by the brush settings.
5654
*
5755
* @return the list of blocks used by the brush settings
5856
*/
59-
@NotNull
60-
List<Material> blocks();
57+
@NotNull List<Material> blocks();
6158

6259
/**
6360
* Retrieves the mask material used by the brush settings.
6461
*
6562
* @return The mask material.
6663
* @deprecated the mask-material is going to be replaced with a WorldEdit Mask
6764
*/
68-
@NotNull
6965
@Deprecated(since = "1.1.0-SNAPSHOT")
7066
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
71-
Material mask();
67+
@NotNull Material mask();
7268

7369
/**
7470
* Checks if the brush is enabled.
@@ -89,7 +85,7 @@ public interface BrushSettings {
8985
*
9086
* @return The surface mode used by the brush settings.
9187
*/
92-
SurfaceMode surfaceMode();
88+
@NotNull SurfaceMode surfaceMode();
9389

9490
/**
9591
* Returns the angle-height difference used by the brush settings.
@@ -152,15 +148,13 @@ public interface BrushSettings {
152148
*
153149
* @return The randomly picked block material.
154150
*/
155-
@NotNull
156-
Material randomBlock();
151+
@NotNull Material randomBlock();
157152

158153
/**
159154
* The random number generator instance.
160155
*
161156
* @return a Random instance
162157
*/
163-
@NotNull
164-
Random random();
158+
@NotNull Random random();
165159

166160
}

0 commit comments

Comments
 (0)