Skip to content

Commit 6f88f0c

Browse files
committed
Add NonEmptyAtclauseDescription (#396)
1 parent 87e602a commit 6f88f0c

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
lines changed

config/checkstyle/checkstyle.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
<module name="NoClone"/>
102102
<module name="NoEnumTrailingComma"/>
103103
<module name="NoFinalizer"/>
104+
<module name="NonEmptyAtclauseDescription"/>
104105
<module name="NoWhitespaceAfter"/>
105106
<module name="NoWhitespaceBefore"/>
106107
<module name="OneStatementPerLine">

metafacture-commons/src/main/java/org/metafacture/commons/ResourceUtil.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public static Properties loadProperties(final String location)
153153
*
154154
* @param stream properties as InputStream
155155
* @return Properties
156-
* @throws IOException
156+
* @throws IOException if an I/O error occurs
157157
*/
158158
public static Properties loadProperties(final InputStream stream)
159159
throws IOException {
@@ -168,7 +168,7 @@ public static Properties loadProperties(final InputStream stream)
168168
*
169169
* @param url properties as URL
170170
* @return Properties
171-
* @throws IOException
171+
* @throws IOException if an I/O error occurs
172172
*/
173173
public static Properties loadProperties(final URL url) throws IOException {
174174
return loadProperties(url.openStream());
@@ -179,7 +179,7 @@ public static Properties loadProperties(final URL url) throws IOException {
179179
*
180180
* @param location the filename
181181
* @return the content of the file
182-
* @throws IOException
182+
* @throws IOException if an I/O error occurs
183183
*/
184184
public static String loadTextFile(final String location) throws IOException {
185185
final StringBuilder builder = new StringBuilder();
@@ -200,7 +200,7 @@ public static String loadTextFile(final String location) throws IOException {
200200
* @param location the filename
201201
* @param list a List of Strings to append the lines of the file to
202202
* @return the List of Strings with the lines of the file appended
203-
* @throws IOException
203+
* @throws IOException if an I/O error occurs
204204
*/
205205
public static List<String> loadTextFile(final String location,
206206
final List<String> list) throws IOException {
@@ -221,7 +221,7 @@ public static List<String> loadTextFile(final String location,
221221
* @param inputStream the InputStream
222222
* @param encoding the Charset
223223
* @return a String of the content of the InputStream
224-
* @throws IOException
224+
* @throws IOException if an I/O error occurs
225225
*/
226226
public static String readAll(final InputStream inputStream, final Charset encoding)
227227
throws IOException {
@@ -235,7 +235,7 @@ public static String readAll(final InputStream inputStream, final Charset encodi
235235
*
236236
* @param reader the Reader
237237
* @return a String of the content of the Reader
238-
* @throws IOException
238+
* @throws IOException if an I/O error occurs
239239
*/
240240
public static String readAll(final Reader reader) throws IOException {
241241
final StringBuilder loadedText = new StringBuilder();

metafacture-commons/src/main/java/org/metafacture/commons/reflection/ConfigurableClass.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ public T newInstance() {
109109
* Creates an instance of the class using the first constructor that matches the
110110
* varargs argument of the methods.
111111
*
112-
* @param setterValues
113-
* @param constructorArgs
112+
* @param setterValues the Map of setter values
113+
* @param constructorArgs the Object of args of the constructor
114114
* @return the new instance
115115
*/
116116
public T newInstance(final Map<String, String> setterValues, final Object... constructorArgs) {

metafacture-commons/src/main/java/org/metafacture/commons/tries/SetReplacer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void addReplacements(final Map<String, String> replacements) {
6060
* Replaces the Strings defined with {@link #addReplacement(String, String)} in
6161
* the text.
6262
*
63-
* @param text
63+
* @param text the text
6464
* @return the text with the replacements
6565
*/
6666
public String replaceIn(final String text) {

metafacture-framework/src/main/java/org/metafacture/framework/objects/Triple.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public ObjectType getObjectType() {
8282
*
8383
* @param in the ObjectInputStream
8484
* @return the Triple
85-
* @throws IOException
85+
* @throws IOException if an I/O error occurs
8686
*/
8787
public static Triple read(final ObjectInputStream in) throws IOException {
8888
try {
@@ -98,7 +98,7 @@ public static Triple read(final ObjectInputStream in) throws IOException {
9898
* Writes the Triple to an ObjectOutputStream.
9999
*
100100
* @param out the ObjectOutputStream.
101-
* @throws IOException
101+
* @throws IOException if an I/O error occurs
102102
*/
103103
public void write(final ObjectOutputStream out) throws IOException {
104104
out.writeUTF(subject);

metafacture-jdom/src/main/java/org/metafacture/jdom/JDomDocumentToStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public final class JDomDocumentToStream
4444
/**
4545
* Contructs a JDomDocumentToStream with a given XmlPipe.
4646
*
47-
* @param xmlPipe
47+
* @param xmlPipe the XmlPipe of type StreamReceiver
4848
*/
4949
public JDomDocumentToStream(final XmlPipe<StreamReceiver> xmlPipe) {
5050
this.xmlPipe = xmlPipe;

metafacture-runner/src/main/java/org/metafacture/runner/Flux.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ private Flux() {
5151
* Runs the Flux.
5252
*
5353
* @param args the pathname of the flux file to run
54-
* @throws IOException
55-
* @throws RecognitionException
54+
* @throws IOException if an I/O error occurs
55+
* @throws RecognitionException if an ANTLR error occurs
5656
*/
5757
public static void main(final String[] args) throws IOException, RecognitionException {
5858
loadCustomJars();

0 commit comments

Comments
 (0)