From e71ef0d03e87df19900db8328cda68d38d523b0b Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Mon, 13 Apr 2020 18:52:30 -0400 Subject: Cleanup some latent bugs Cleanup some latent bugs --- src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java') diff --git a/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java b/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java index eb5e4ea..8f1fde9 100644 --- a/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java +++ b/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java @@ -111,7 +111,7 @@ public class CategoricalNounInflection implements NounInflection { return singular.affix(classicalPlural.deaffix(plural)); } else { final String msg = String - .format("Noun '%s' doesn't belong to this inflection", plural, this); + .format("Noun '%s' doesn't belong to this (%s) inflection", plural, this); throw new InflectionException(msg); } @@ -128,7 +128,7 @@ public class CategoricalNounInflection implements NounInflection { return singlar; } else { final String msg = String - .format("Noun '%s' doesn't belong to this inflection", singlar, this); + .format("Noun '%s' doesn't belong to this (%s) inflection", singlar, this); throw new InflectionException(msg); } -- cgit v1.2.3