Author: doogie
Date: Wed Mar 31 05:52:58 2010 New Revision: 929384 URL: http://svn.apache.org/viewvc?rev=929384&view=rev Log: Rename SourceMonitor to SourceMonitored, and remove all the settings. Added: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitored.java - copied, changed from r929370, ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitor.java Removed: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitor.java Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/ExecutionPool.java ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLCachedObject.java ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/AsyncTTLObjectTest.java ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLCachedObjectTest.java ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLObjectTest.java ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/DateTimeTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/json/JSONWriter.java ofbiz/trunk/framework/base/src/org/ofbiz/base/json/test/JSONTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ComparableRange.java ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/IndentingWriter.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/test/FlexibleMapAccessorTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/IndentingWriterTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/ObjectTypeTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/TimeDurationTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilIOTests.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/ExecutionPool.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/ExecutionPool.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/ExecutionPool.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/ExecutionPool.java Wed Mar 31 05:52:58 2010 @@ -27,9 +27,9 @@ import java.util.concurrent.ScheduledThr import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; -@SourceMonitor("Adam Heath") +@SourceMonitored public final class ExecutionPool { protected static class ExecutionPoolThreadFactory implements ThreadFactory { private final String namePrefix; Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLCachedObject.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLCachedObject.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLCachedObject.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLCachedObject.java Wed Mar 31 05:52:58 2010 @@ -18,9 +18,9 @@ *******************************************************************************/ package org.ofbiz.base.concurrent; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; -@SourceMonitor("Adam Heath") +@SourceMonitored public abstract class TTLCachedObject<T> extends TTLObject<T> { public static final long NOT_EXISTANT_TIMESTAMP = Long.MIN_VALUE; public static final long FORCE_REGEN = Long.MIN_VALUE + 1; Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/TTLObject.java Wed Mar 31 05:52:58 2010 @@ -29,11 +29,11 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; import java.util.concurrent.atomic.AtomicReferenceFieldUpdater; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.lang.ObjectWrapper; import org.ofbiz.base.util.UtilIO; -@SourceMonitor("Adam Heath") +@SourceMonitored public abstract class TTLObject<T> implements ObjectWrapper<T> { private static final ScheduledExecutorService updateExecutor = ExecutionPool.getNewOptimalExecutor("TTLObject(async-update)"); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/AsyncTTLObjectTest.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/AsyncTTLObjectTest.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/AsyncTTLObjectTest.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/AsyncTTLObjectTest.java Wed Mar 31 05:52:58 2010 @@ -22,10 +22,10 @@ import java.util.concurrent.Callable; import java.util.concurrent.Future; import org.ofbiz.base.concurrent.TTLObject; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.test.GenericTestCaseBase; -@SourceMonitor("Adam Heath") +@SourceMonitored public class AsyncTTLObjectTest extends TTLObjectTest { public AsyncTTLObjectTest(String name) { super(name, false); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/SyncTTLObjectTest.java Wed Mar 31 05:52:58 2010 @@ -22,11 +22,11 @@ import java.util.concurrent.Callable; import java.util.concurrent.Future; import org.ofbiz.base.concurrent.TTLObject; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.lang.ObjectWrapper; import org.ofbiz.base.test.GenericTestCaseBase; -@SourceMonitor("Adam Heath") +@SourceMonitored public class SyncTTLObjectTest extends TTLObjectTest { public SyncTTLObjectTest(String name) { super(name, true); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLCachedObjectTest.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLCachedObjectTest.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLCachedObjectTest.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLCachedObjectTest.java Wed Mar 31 05:52:58 2010 @@ -21,9 +21,9 @@ package org.ofbiz.base.concurrent.test; import org.ofbiz.base.concurrent.GeneratedResult; import org.ofbiz.base.concurrent.TTLCachedObject; import org.ofbiz.base.concurrent.TTLObject; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; -@SourceMonitor("Adam Heath") +@SourceMonitored public class TTLCachedObjectTest extends TTLObjectTest { static { TTLObject.setDefaultTTLForClass(TTLCachedObjectTestTTLObject.class, 100); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLObjectTest.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLObjectTest.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLObjectTest.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/concurrent/test/TTLObjectTest.java Wed Mar 31 05:52:58 2010 @@ -29,10 +29,10 @@ import java.util.concurrent.atomic.Atomi import org.ofbiz.base.concurrent.ExecutionPool; import org.ofbiz.base.concurrent.TTLObject; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.test.GenericTestCaseBase; -@SourceMonitor("Adam Heath") +@SourceMonitored public abstract class TTLObjectTest extends GenericTestCaseBase { static { TTLObject.setDefaultTTLForClass(TTLObjectTestTTLObject.class, 100); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/Converters.java Wed Mar 31 05:52:58 2010 @@ -25,13 +25,13 @@ import java.util.ServiceLoader; import javolution.util.FastMap; import javolution.util.FastSet; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.ObjectType; import org.ofbiz.base.util.UtilGenerics; /** A <code>Converter</code> factory and repository. */ -@SourceMonitor("Adam Heath") +@SourceMonitored public class Converters { protected static final String module = Converters.class.getName(); protected static final String DELIMITER = "->"; Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/DateTimeTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/DateTimeTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/DateTimeTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/DateTimeTests.java Wed Mar 31 05:52:58 2010 @@ -20,11 +20,11 @@ package org.ofbiz.base.conversion.test; import org.ofbiz.base.conversion.Converter; import org.ofbiz.base.conversion.DateTimeConverters; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.test.GenericTestCaseBase; import org.ofbiz.base.util.UtilGenerics; -@SourceMonitor("Adam Heath") +@SourceMonitored public class DateTimeTests extends GenericTestCaseBase { public DateTimeTests(String name) { Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java Wed Mar 31 05:52:58 2010 @@ -36,13 +36,13 @@ import org.ofbiz.base.conversion.Convert import org.ofbiz.base.conversion.ConverterLoader; import org.ofbiz.base.conversion.Converters; import org.ofbiz.base.conversion.JSONResult; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.test.GenericTestCaseBase; import org.ofbiz.base.util.UtilGenerics; import org.ofbiz.base.util.UtilMisc; import org.ofbiz.base.util.collections.LRUMap; -@SourceMonitor("Adam Heath") +@SourceMonitored public class MiscTests extends GenericTestCaseBase { public MiscTests(String name) { Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/json/JSONWriter.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/json/JSONWriter.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/json/JSONWriter.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/json/JSONWriter.java Wed Mar 31 05:52:58 2010 @@ -25,12 +25,12 @@ import java.util.Collection; import java.util.Iterator; import java.util.Map; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.IndentingWriter; import org.ofbiz.base.util.UtilGenerics; import org.ofbiz.base.util.UtilIO; -@SourceMonitor("Adam Heath") +@SourceMonitored public class JSONWriter { private final IndentingWriter writer; private final FallbackHandler fallbackHandler; Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/json/test/JSONTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/json/test/JSONTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/json/test/JSONTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/json/test/JSONTests.java Wed Mar 31 05:52:58 2010 @@ -33,11 +33,11 @@ import org.ofbiz.base.json.JSONWriter; import org.ofbiz.base.json.ParseException; import org.ofbiz.base.json.Token; import org.ofbiz.base.json.TokenMgrError; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.test.GenericTestCaseBase; import org.ofbiz.base.util.IndentingWriter; -@SourceMonitor("Adam Heath") +@SourceMonitored public class JSONTests extends GenericTestCaseBase { public JSONTests(String name) { super(name); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ComparableRange.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ComparableRange.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ComparableRange.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/ComparableRange.java Wed Mar 31 05:52:58 2010 @@ -19,7 +19,7 @@ package org.ofbiz.base.lang; /** An immutable range of values. */ -@SourceMonitor("Adam Heath") +@SourceMonitored public class ComparableRange<T extends Comparable<T>> implements Range<T>, Comparable<ComparableRange<T>> { protected final T start; Copied: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitored.java (from r929370, ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitor.java) URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitored.java?p2=ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitored.java&p1=ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitor.java&r1=929370&r2=929384&rev=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitor.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitored.java Wed Mar 31 05:52:58 2010 @@ -26,7 +26,5 @@ import java.lang.annotation.Target; @Retention(RetentionPolicy.SOURCE) @Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.TYPE}) -public @interface SourceMonitor { - String[] value(); - String address() default "[hidden email]"; +public @interface SourceMonitored { } Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/test/ComparableRangeTests.java Wed Mar 31 05:52:58 2010 @@ -20,9 +20,9 @@ package org.ofbiz.base.lang.test; import org.ofbiz.base.test.GenericTestCaseBase; import org.ofbiz.base.lang.ComparableRange; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; -@SourceMonitor("Adam Heath") +@SourceMonitored public class ComparableRangeTests extends GenericTestCaseBase { public ComparableRangeTests(String name) { Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/IndentingWriter.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/IndentingWriter.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/IndentingWriter.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/IndentingWriter.java Wed Mar 31 05:52:58 2010 @@ -22,9 +22,9 @@ import java.io.IOException; import java.io.FilterWriter; import java.io.Writer; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; -@SourceMonitor("Adam Heath") +@SourceMonitored public class IndentingWriter extends FilterWriter { protected final StringBuilder indent = new StringBuilder(); protected final boolean doSpace; Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java Wed Mar 31 05:52:58 2010 @@ -33,7 +33,7 @@ import org.ofbiz.base.conversion.Convers import org.ofbiz.base.conversion.Converter; import org.ofbiz.base.conversion.Converters; import org.ofbiz.base.conversion.LocalizedConverter; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.w3c.dom.Node; /** @@ -471,7 +471,7 @@ public class ObjectType { * @return the converted value * @throws GeneralException */ - @SourceMonitor("Adam Heath") + @SourceMonitored @SuppressWarnings("unchecked") public static Object simpleTypeConvert(Object obj, String type, String format, TimeZone timeZone, Locale locale, boolean noTypeFail) throws GeneralException { if (obj == null) { Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java Wed Mar 31 05:52:58 2010 @@ -21,10 +21,10 @@ package org.ofbiz.base.util; import java.io.Serializable; import com.ibm.icu.util.Calendar; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; /** An immutable representation of a period of time. */ -@SourceMonitor("Adam Heath") +@SourceMonitored @SuppressWarnings("serial") public class TimeDuration implements Serializable, Comparable<TimeDuration> { /** A <code>TimeDuration</code> instance that represents a zero time duration. */ Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilObject.java Wed Mar 31 05:52:58 2010 @@ -28,13 +28,13 @@ import java.util.Iterator; import java.util.ServiceLoader; import org.ofbiz.base.lang.Factory; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; /** * UtilObject * */ -@SourceMonitor("Adam Heath") +@SourceMonitored public final class UtilObject { private UtilObject() { } Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/FlexibleMapAccessor.java Wed Mar 31 05:52:58 2010 @@ -23,7 +23,7 @@ import java.util.Locale; import java.util.Map; import javax.el.PropertyNotFoundException; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.UtilGenerics; import org.ofbiz.base.util.UtilObject; @@ -37,7 +37,7 @@ import org.ofbiz.base.util.string.UelUti * accessing sub-map values and the "[]" (square bracket) syntax for accessing * list elements. See individual Map operations for more information. */ -@SourceMonitor("Adam Heath") +@SourceMonitored @SuppressWarnings("serial") public class FlexibleMapAccessor<T> implements Serializable { public static final String module = FlexibleMapAccessor.class.getName(); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/test/FlexibleMapAccessorTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/test/FlexibleMapAccessorTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/test/FlexibleMapAccessorTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/test/FlexibleMapAccessorTests.java Wed Mar 31 05:52:58 2010 @@ -25,13 +25,13 @@ import java.util.Map; import java.util.Set; import java.math.BigDecimal; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.test.GenericTestCaseBase; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.collections.FlexibleMapAccessor; import org.ofbiz.base.util.string.FlexibleStringExpander; -@SourceMonitor("Adam Heath") +@SourceMonitored public class FlexibleMapAccessorTests extends GenericTestCaseBase { private static final Locale localeToTest = new Locale("en", "US"); private static final Locale badLocale = new Locale("fr"); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/FlexibleStringExpander.java Wed Mar 31 05:52:58 2010 @@ -27,7 +27,7 @@ import java.util.TimeZone; import javax.el.PropertyNotFoundException; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.BshUtil; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.GroovyUtil; @@ -50,7 +50,7 @@ import bsh.EvalError; * and specified (XXX) currency.<p>This class extends the UEL by allowing * nested expressions.</p> */ -@SourceMonitor("Adam Heath") +@SourceMonitored @SuppressWarnings("serial") public abstract class FlexibleStringExpander implements Serializable { Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/string/test/FlexibleStringExpanderTests.java Wed Mar 31 05:52:58 2010 @@ -28,14 +28,14 @@ import java.util.TimeZone; import junit.framework.TestCase; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.string.FlexibleStringExpander; import org.ofbiz.base.conversion.AbstractConverter; import org.ofbiz.base.conversion.ConversionException; import org.ofbiz.base.conversion.Converters; -@SourceMonitor("Adam Heath") +@SourceMonitored public class FlexibleStringExpanderTests extends TestCase { private static final Locale localeToTest = new Locale("en", "US"); private static final Locale badLocale = new Locale("fr"); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/IndentingWriterTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/IndentingWriterTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/IndentingWriterTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/IndentingWriterTests.java Wed Mar 31 05:52:58 2010 @@ -20,11 +20,11 @@ package org.ofbiz.base.util.test; import java.io.StringWriter; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.IndentingWriter; import org.ofbiz.base.test.GenericTestCaseBase; -@SourceMonitor("Adam Heath") +@SourceMonitored public class IndentingWriterTests extends GenericTestCaseBase { public IndentingWriterTests(String name) { super(name); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/ObjectTypeTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/ObjectTypeTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/ObjectTypeTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/ObjectTypeTests.java Wed Mar 31 05:52:58 2010 @@ -35,7 +35,7 @@ import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Attr; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.GeneralException; import org.ofbiz.base.util.ObjectType; @@ -45,7 +45,7 @@ import org.ofbiz.base.util.UtilMisc; import org.ofbiz.base.util.UtilXml; import org.ofbiz.base.test.GenericTestCaseBase; -@SourceMonitor("Adam Heath") +@SourceMonitored public class ObjectTypeTests extends GenericTestCaseBase { public static final String module = ObjectTypeTests.class.getName(); private static final LocaleData localeData = new LocaleData("en_US", "Pacific/Wake", "fr", "GMT"); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/TimeDurationTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/TimeDurationTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/TimeDurationTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/TimeDurationTests.java Wed Mar 31 05:52:58 2010 @@ -23,11 +23,11 @@ package org.ofbiz.base.util.test; import com.ibm.icu.util.Calendar; import com.ibm.icu.util.TimeZone; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.TimeDuration; import org.ofbiz.base.test.GenericTestCaseBase; -@SourceMonitor("Adam Heath") +@SourceMonitored public class TimeDurationTests extends GenericTestCaseBase { private static final Calendar zero = Calendar.getInstance(TimeZone.getTimeZone("GMT")); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilIOTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilIOTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilIOTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilIOTests.java Wed Mar 31 05:52:58 2010 @@ -33,12 +33,12 @@ import java.util.Locale; import java.util.TimeZone; import java.util.UUID; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.UtilIO; import org.ofbiz.base.util.UtilMisc; import org.ofbiz.base.test.GenericTestCaseBase; -@SourceMonitor("Adam Heath") +@SourceMonitored public class UtilIOTests extends GenericTestCaseBase { private static final byte[] trademarkBytes = new byte[] { (byte) 0xE2, (byte) 0x84, (byte) 0xA2 Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java?rev=929384&r1=929383&r2=929384&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/test/UtilObjectTests.java Wed Mar 31 05:52:58 2010 @@ -30,13 +30,13 @@ import java.util.HashMap; import java.util.Set; import org.ofbiz.base.lang.Factory; -import org.ofbiz.base.lang.SourceMonitor; +import org.ofbiz.base.lang.SourceMonitored; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.GroovyUtil; import org.ofbiz.base.util.UtilObject; import org.ofbiz.base.test.GenericTestCaseBase; -@SourceMonitor("Adam Heath") +@SourceMonitored public class UtilObjectTests extends GenericTestCaseBase { public UtilObjectTests(String name) { super(name); |
Free forum by Nabble | Edit this page |