Skip to content

Commit 6cf7f22

Browse files
committed
Work on operators and greater self-documentation.
1 parent 64937db commit 6cf7f22

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

src/main/java/com/sillelien/jas/impl/jproxy/JProxyConfigImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ public List<String> getImports() {
196196
return imports;
197197
}
198198

199+
@NotNull
199200
public JProxyConfig setImports(List<String> imports) {
200201
this.imports = imports;
201202
return this;
@@ -205,6 +206,7 @@ public List<String> getStaticImports() {
205206
return staticImports;
206207
}
207208

209+
@NotNull
208210
public JProxyConfig setStaticImports(List<String> staticImports) {
209211
this.staticImports = staticImports;
210212
return this;

src/main/java/com/sillelien/jas/jproxy/JProxyConfig.java

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public interface JProxyConfig {
4141
* @return this object for flow API use.
4242
*/
4343
@NotNull
44-
public JProxyConfig setEnabled(boolean enabled);
44+
JProxyConfig setEnabled(boolean enabled);
4545

4646
/**
4747
* Sets the class reload listener.
@@ -50,7 +50,7 @@ public interface JProxyConfig {
5050
* @return this object for flow API use.
5151
*/
5252
@NotNull
53-
public JProxyConfig setRelProxyOnReloadListener(RelProxyOnReloadListener relListener);
53+
JProxyConfig setRelProxyOnReloadListener(RelProxyOnReloadListener relListener);
5454

5555
/**
5656
* Defines the folder root to locate source code Java files.
@@ -65,7 +65,7 @@ public interface JProxyConfig {
6565
* @see #setInputPaths(java.lang.String[])
6666
*/
6767
@NotNull
68-
public JProxyConfig setInputPath(String inputPath);
68+
JProxyConfig setInputPath(String inputPath);
6969

7070
/**
7171
* Defines the folder roots to locate source code Java files.
@@ -81,7 +81,7 @@ public interface JProxyConfig {
8181
* @see #setRequiredExtraJarPaths(String[])
8282
*/
8383
@NotNull
84-
public JProxyConfig setInputPaths(String[] inputPaths);
84+
JProxyConfig setInputPaths(String[] inputPaths);
8585

8686
/**
8787
* Defines the extra required jars providing the absolute paths to them.
@@ -97,7 +97,7 @@ public interface JProxyConfig {
9797
* @see #setInputPaths(String[])
9898
*/
9999
@NotNull
100-
public JProxyConfig setRequiredExtraJarPaths(String[] inputJarPaths);
100+
JProxyConfig setRequiredExtraJarPaths(String[] inputJarPaths);
101101

102102
/**
103103
* Registers the listener implementing excluding rules to filter source files not to be part of the hot reloading system in spite of included in input paths.
@@ -106,7 +106,7 @@ public interface JProxyConfig {
106106
* @return this object for flow API use.
107107
*/
108108
@NotNull
109-
public JProxyConfig setJProxyInputSourceFileExcludedListener(@Nullable JProxyInputSourceFileExcludedListener listener);
109+
JProxyConfig setJProxyInputSourceFileExcludedListener(@Nullable JProxyInputSourceFileExcludedListener listener);
110110

111111
/**
112112
* Registers the listener for monitoring files being compiled.
@@ -115,7 +115,7 @@ public interface JProxyConfig {
115115
* @return this object for flow API use.
116116
*/
117117
@NotNull
118-
public JProxyConfig setJProxyCompilerListener(JProxyCompilerListener listener);
118+
JProxyConfig setJProxyCompilerListener(JProxyCompilerListener listener);
119119

120120

121121
/**
@@ -129,7 +129,7 @@ public interface JProxyConfig {
129129
* @return this object for flow API use.
130130
*/
131131
@NotNull
132-
public JProxyConfig setClassFolder(@Nullable String classFolder);
132+
JProxyConfig setClassFolder(@Nullable String classFolder);
133133

134134
/**
135135
* Sets the delay between source code change checking.
@@ -141,7 +141,7 @@ public interface JProxyConfig {
141141
* @return this object for flow API use.
142142
*/
143143
@NotNull
144-
public JProxyConfig setScanPeriod(long scanPeriod);
144+
JProxyConfig setScanPeriod(long scanPeriod);
145145

146146
/**
147147
* Sets the compilation options to be provided to the compiler built-in in JDK like <code>JavaCompiler.getTask()</code> method and the same you would provide to javac.
@@ -153,7 +153,7 @@ public interface JProxyConfig {
153153
* @return this object for flow API use.
154154
*/
155155
@NotNull
156-
public JProxyConfig setCompilationOptions(Iterable<String> compilationOptions);
156+
JProxyConfig setCompilationOptions(Iterable<String> compilationOptions);
157157

158158
/**
159159
* Sets the diagnostic listener to capture compilation errors and warnings thrown by the internal compiler.
@@ -190,12 +190,13 @@ public interface JProxyConfig {
190190
* @return this object for flow API use.
191191
*/
192192
@NotNull
193-
public JProxyConfig setJProxyDiagnosticsListener(JProxyDiagnosticsListener diagnosticsListener);
193+
JProxyConfig setJProxyDiagnosticsListener(JProxyDiagnosticsListener diagnosticsListener);
194194

195195

196-
public JProxyConfig setImports(List<String> imports);
197-
196+
@NotNull
197+
JProxyConfig setImports(List<String> imports);
198198

199199

200-
public JProxyConfig setStaticImports(List<String> staticImports);
200+
@NotNull
201+
JProxyConfig setStaticImports(List<String> staticImports);
201202
}

0 commit comments

Comments
 (0)