idumiY / lucene-gosen

Automatically exported from code.google.com/p/lucene-gosen
0 stars 0 forks source link

wrongly reflected? #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Seems that copy-n-paste error?

Index: 
src/java/org/apache/lucene/analysis/ja/tokenAttributes/PronunciationsAttributeIm
pl.java
===================================================================
--- 
src/java/org/apache/lucene/analysis/ja/tokenAttributes/PronunciationsAttributeIm
pl.java (revision 171)
+++ 
src/java/org/apache/lucene/analysis/ja/tokenAttributes/PronunciationsAttributeIm
pl.java (working copy)
@@ -59,7 +59,7 @@
       }
       enPronunciations = Arrays.asList(p);
     }
-    reflector.reflect(PartOfSpeechAttribute.class, "pronunciations", 
pronunciations);
-    reflector.reflect(PartOfSpeechAttribute.class, "pronunciations (en)", 
enPronunciations);
+    reflector.reflect(PronunciationsAttribute.class, "pronunciations", 
pronunciations);
+    reflector.reflect(PronunciationsAttribute.class, "pronunciations (en)", 
enPronunciations);
   }
 }
Index: 
src/java/org/apache/lucene/analysis/ja/tokenAttributes/ReadingsAttributeImpl.jav
a
===================================================================
--- 
src/java/org/apache/lucene/analysis/ja/tokenAttributes/ReadingsAttributeImpl.jav
a   (revision 171)
+++ 
src/java/org/apache/lucene/analysis/ja/tokenAttributes/ReadingsAttributeImpl.jav
a   (working copy)
@@ -60,7 +60,7 @@
         enReadings.add(ToStringUtil.getRomanization(kana));
       }
     }
-    reflector.reflect(PartOfSpeechAttribute.class, "readings", readings);
-    reflector.reflect(PartOfSpeechAttribute.class, "readings (en)", 
enReadings);
+    reflector.reflect(ReadingsAttribute.class, "readings", readings);
+    reflector.reflect(ReadingsAttribute.class, "readings (en)", enReadings);
   }
 }

Original issue reported on code.google.com by k...@r.email.ne.jp on 20 Mar 2012 at 4:33

GoogleCodeExporter commented 8 years ago
Looks like it to me! Sorry, I think I caused that!

Original comment by rcm...@gmail.com on 20 Mar 2012 at 5:20

GoogleCodeExporter commented 8 years ago
committed in r172.

Original comment by k...@r.email.ne.jp on 20 Mar 2012 at 5:31

GoogleCodeExporter commented 8 years ago

Original comment by k...@r.email.ne.jp on 20 Mar 2012 at 5:32