]> granicus.if.org Git - icu/commitdiff
ICU-8876 disabled Clover where necessary.
authorAbhinav Gupta <mail@abhinavg.net>
Wed, 12 Oct 2011 15:31:19 +0000 (15:31 +0000)
committerAbhinav Gupta <mail@abhinavg.net>
Wed, 12 Oct 2011 15:31:19 +0000 (15:31 +0000)
Disabled for parts of  PluralRules, RBBIDataWrapper, RBBISetBuilder,
TimeZoneNames, Calendar.

X-SVN-Rev: 30811

icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java
icu4j/main/classes/core/src/com/ibm/icu/text/RBBIDataWrapper.java
icu4j/main/classes/core/src/com/ibm/icu/text/RBBISetBuilder.java
icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneNames.java
icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java

index 861306614922f4d268bfa153777b5c083efcc567..db7305c90d3bc175d4d87f8135cc45656aa43cde 100644 (file)
@@ -664,6 +664,7 @@ public class PluralRules implements Serializable {
      * Implementation of Rule that uses a constraint.
      * Provides 'and' and 'or' to combine constraints.  Immutable.
      */
+    ///CLOVER:OFF
     private static class ConstrainedRule implements Rule, Serializable {
         private static final long serialVersionUID = 1;
         private final String keyword;
@@ -704,6 +705,7 @@ public class PluralRules implements Serializable {
             return keyword + ": " + constraint;
         }
     }
+    ///CLOVER:ON
 
     /*
      * Implementation of RuleList that is itself a node in a linked list.
index 046061aee573ca46efea353bfc9186b6c5344d8e..91a9b7a4375c39f245656556799d556143a5effe 100644 (file)
@@ -130,6 +130,7 @@ final class RBBIDataWrapper {
         return ROW_DATA + state * (fHeader.fCatCount + 4);
     }
     
+    ///CLOVER:OFF
     static class TrieFoldingFunc implements  Trie.DataManipulate {
         public int getFoldingOffset(int data) {
             if ((data & 0x8000) != 0) {
@@ -139,6 +140,7 @@ final class RBBIDataWrapper {
             }
         }
     }
+    ///CLOVER:ON
     static TrieFoldingFunc  fTrieFoldingFunc = new TrieFoldingFunc();
  
     
index 62e3f3c79ba8542402f0b0f8426585e9bd426ac2..70fae327a448e439710a6150889e603b26f2c339 100644 (file)
@@ -1,6 +1,6 @@
 /*
 *******************************************************************************
-* Copyright (C) 2003-2009, International Business Machines Corporation and    *
+* Copyright (C) 2003-2011, International Business Machines Corporation and    *
 * others. All Rights Reserved.                                                *
 *******************************************************************************
 */
@@ -301,6 +301,7 @@ class RBBISetBuilder {
     //                       getFoldedValue() function needed for Trie table creation.
     //
     //-----------------------------------------------------------------------------------
+   ///CLOVER:OFF
    class RBBIDataManipulate implements IntTrieBuilder.DataManipulate {
         public int getFoldedValue(int start, int offset) {
             int  value;
@@ -321,6 +322,7 @@ class RBBISetBuilder {
             return 0;
          }
     }
+    ///CLOVER:ON
     RBBIDataManipulate dm = new RBBIDataManipulate();
     
     //-----------------------------------------------------------------------------------
index 6c32ee4db219215638fa86a0cd2d5c7bfab6508c..fb7c4a78641e35e77a432f8714dce94b8b3e8a30 100644 (file)
@@ -462,6 +462,7 @@ public abstract class TimeZoneNames implements Serializable {
 
     }
 
+    ///CLOVER:OFF
     /**
      * The default implementation of <code>TimeZoneNames</code> used by {@link TimeZoneNames#getInstance(ULocale)} when
      * the ICU4J tznamedata component is not available.
@@ -551,4 +552,5 @@ public abstract class TimeZoneNames implements Serializable {
             }
         }
     }
+    ///CLOVER:ON
 }
index 9fd3413c57d9c7e80f14db47d944c561dbadf28e..fb5538b0b35f9b2a15321619fa043911e01075c5 100644 (file)
@@ -1733,6 +1733,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
     }
 
     // ==== Factory Stuff ====
+    ///CLOVER:OFF
     /**
      * A CalendarFactory is used to register new calendar implementation.
      * The factory should be able to create a calendar instance for the
@@ -1754,6 +1755,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
         protected CalendarFactory() {
         }
     }
+    ///CLOVER:ON
 
     //  shim so we can build without service code
     static abstract class CalendarShim {