summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/inflexion/nouns/Prepositions.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/bjc/inflexion/nouns/Prepositions.java')
-rw-r--r--src/main/java/bjc/inflexion/nouns/Prepositions.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/bjc/inflexion/nouns/Prepositions.java b/src/main/java/bjc/inflexion/nouns/Prepositions.java
index 9564baf..96f6108 100644
--- a/src/main/java/bjc/inflexion/nouns/Prepositions.java
+++ b/src/main/java/bjc/inflexion/nouns/Prepositions.java
@@ -37,10 +37,9 @@ public class Prepositions {
* Check if a word is a preposition.
*
* @param word
- * The word as a preposition.
+ * The word as a preposition.
*
- * @return
- * Whether or not the word is a preposition.
+ * @return Whether or not the word is a preposition.
*/
public boolean isPreposition(final String word) {
return prepositions.contains(word);
@@ -50,7 +49,7 @@ public class Prepositions {
* Load the contents of the stream into this DB.
*
* @param stream
- * The stream to load from.
+ * The stream to load from.
*/
public void loadFromStream(final InputStream stream) {
try (Scanner scn = new Scanner(stream)) {