ICU-5410 Remove unneeded Clover:off

X-SVN-Rev: 20496
This commit is contained in:
George Rhoten 2006-10-05 22:20:30 +00:00
parent b393881f49
commit 1f30d7dbb3
2 changed files with 11 additions and 19 deletions
icu4j/src/com/ibm/icu/dev/test

View file

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2004, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -152,9 +152,7 @@ public class SimpleBITest extends TestFmwk{
bundle = (ListResourceBundle)cls.newInstance();
}
catch (Exception e) {
///CLOVER:OFF
errln("could not create bundle: " + bname + "exception: " + e.getMessage());
///CLOVER:ON
return null;
}
@ -251,7 +249,7 @@ public class SimpleBITest extends TestFmwk{
logln(out.toString());
}
private void debugPrintln2(String s) {
/* private void debugPrintln2(String s) {
StringBuffer out = new StringBuffer();
for (int i = 0; i < s.length(); i++) {
char c = s.charAt(i);
@ -261,6 +259,6 @@ public class SimpleBITest extends TestFmwk{
out.append(c);
}
logln(out.toString());
}
}*/
}

View file

@ -199,19 +199,15 @@ public class ICUServiceTest extends TestFmwk
{
Factory factory = new Factory() {
public Object create(Key key, ICUService service) {
return new ULocale(key.currentID());
return new ULocale(key.currentID());
}
///CLOVER:OFF
public void updateVisibleIDs(Map result) {
}
///CLOVER:ON
///CLOVER:OFF
public String getDisplayName(String id, ULocale l) {
return null;
return null;
}
///CLOVER:ON
};
service.registerFactory(factory);
@ -991,15 +987,13 @@ public class ICUServiceTest extends TestFmwk
}
static class ICUNSubclass extends ICUNotifier {
public boolean acceptsListener(EventListener l) {
return l instanceof MyListener;
}
public boolean acceptsListener(EventListener l) {
return l instanceof MyListener;
}
// not used, just needed to implement abstract base
///CLOVER:OFF
public void notifyListener(EventListener l) {
}
///CLOVER:ON
public void notifyListener(EventListener l) {
}
}
static class LKFSubclass extends LocaleKeyFactory {