Skip to content

Commit fe9ea6c

Browse files
author
dlutz2
committed
Formatting only
1 parent 2d04c15 commit fe9ea6c

File tree

6 files changed

+23
-17
lines changed

6 files changed

+23
-17
lines changed

src/org/opensextant/howler/abstraction/Vocabulary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class Vocabulary {
6969

7070
/* ------- parts of predicate expressions ------- */
7171
public static final GenericWord IS_AUX = new GenericWord("is", "VB");
72-
public static final GenericWord IMPLIES = new GenericWord("implies", "VB");
72+
public static final GenericWord IMPLIES = new GenericWord("implies", "VB");
7373
public static final GenericWord DOES_AUX = new GenericWord("does", "VB");
7474
public static final GenericWord HAS_AUX = new GenericWord("has", "VB");
7575
public static final GenericWord INVERSE_OF = new GenericWord("the inverse of", "ZZ");

src/org/opensextant/howler/kanban/elements/KanbanSentence.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,4 @@ public String toString() {
116116
+ ", userId=" + userId + ", boardId=" + boardId + ", keys=" + keys + "]";
117117
}
118118

119-
120119
}

src/org/opensextant/howler/kanban/elements/RawText.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,4 @@ public String toString() {
9797
+ swimlaneId + ", inferred=" + inferred + "]";
9898
}
9999

100-
101-
102-
103100
}

src/org/opensextant/howler/test/OWL2Text.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public static void main(String[] args) throws IOException {
4747

4848
File inputDirsFile = new File(args[0]);
4949
File resultsDir = new File(args[1]);
50-
50+
5151
FileStructure outFormat = FileStructure.DOCUMENT_PER_LINE;
5252

53-
try {
53+
try {
5454
outFormat = FileStructure.valueOf(args[2]);
5555
} catch (Exception e) {
5656
System.err.println("Bad value for format:" + args[2]);
@@ -101,7 +101,7 @@ public static void main(String[] args) throws IOException {
101101
// create a name from the input ontology file
102102
String ontoNameBase = ontoFile.getName().split("\\.")[0];
103103
File outText = new File(byOntoDir, ontoNameBase + ".txt");
104-
FileUtils.writeStringToFile(outText, backText.toString(outFormat,true), "UTF-8");
104+
FileUtils.writeStringToFile(outText, backText.toString(outFormat, true), "UTF-8");
105105
}
106106
}
107107

src/org/opensextant/howler/text/TextDocument.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ public String toString(FileStructure format, boolean hdrs) {
124124
}
125125
for (Sentence s : this.sentences) {
126126
if (s.getSentenceType().equals(typ)) {
127-
if(format.equals(FileStructure.DOCUMENT_PER_LINE)){
127+
if (format.equals(FileStructure.DOCUMENT_PER_LINE)) {
128128
bldr.append(s.toString().replaceAll("\n", " "));
129-
}else{
129+
} else {
130130
bldr.append(s.toString());
131131
}
132132
bldr.append(delim);

src/org/opensextant/howler/text/grammar/HOWL.java

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,24 @@
22

33
package org.opensextant.howler.text.grammar;
44

5-
import org.antlr.v4.runtime.atn.*;
6-
import org.antlr.v4.runtime.dfa.DFA;
7-
import org.antlr.v4.runtime.*;
8-
import org.antlr.v4.runtime.misc.*;
9-
import org.antlr.v4.runtime.tree.*;
105
import java.util.List;
11-
import java.util.Iterator;
12-
import java.util.ArrayList;
6+
7+
import org.antlr.v4.runtime.NoViableAltException;
8+
import org.antlr.v4.runtime.Parser;
9+
import org.antlr.v4.runtime.ParserRuleContext;
10+
import org.antlr.v4.runtime.RecognitionException;
11+
import org.antlr.v4.runtime.RuntimeMetaData;
12+
import org.antlr.v4.runtime.Token;
13+
import org.antlr.v4.runtime.TokenStream;
14+
import org.antlr.v4.runtime.Vocabulary;
15+
import org.antlr.v4.runtime.VocabularyImpl;
16+
import org.antlr.v4.runtime.atn.ATN;
17+
import org.antlr.v4.runtime.atn.ATNDeserializer;
18+
import org.antlr.v4.runtime.atn.ParserATNSimulator;
19+
import org.antlr.v4.runtime.atn.PredictionContextCache;
20+
import org.antlr.v4.runtime.dfa.DFA;
21+
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
22+
import org.antlr.v4.runtime.tree.TerminalNode;
1323

1424
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
1525
public class HOWL extends Parser {

0 commit comments

Comments
 (0)