Revision: 7469
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7469&view=rev
Author:   dnaber
Date:     2012-06-23 09:50:21 +0000 (Sat, 23 Jun 2012)
Log Message:
-----------
tiny cleanup: making variable final

Modified Paths:
--------------
    trunk/JLanguageTool/src/java/org/languagetool/rules/Rule.java

Modified: trunk/JLanguageTool/src/java/org/languagetool/rules/Rule.java
===================================================================
--- trunk/JLanguageTool/src/java/org/languagetool/rules/Rule.java       
2012-06-23 08:29:04 UTC (rev 7468)
+++ trunk/JLanguageTool/src/java/org/languagetool/rules/Rule.java       
2012-06-23 09:50:21 UTC (rev 7469)
@@ -36,6 +36,8 @@
  */
 public abstract class Rule {
 
+  protected final ResourceBundle messages;
+
   private List<String> correctExamples;
   private List<IncorrectExample> incorrectExamples;
   private Category category;
@@ -48,12 +50,11 @@
   private List<RuleMatch> previousMatches;
   private List<RuleMatch> removedMatches;
 
-  protected ResourceBundle messages;
-
   /**
    * Called by language-dependent rules.
    */
   public Rule() {
+    this.messages = null;
   }
 
   /**

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to