Author: doogie
Date: Wed Mar 24 03:16:50 2010 New Revision: 926912 URL: http://svn.apache.org/viewvc?rev=926912&view=rev Log: Add new annotation, SourceMonitor, which provides a source-level documention of which people, on which mailing list, will be giving extra attention to changes to the annotated classes, constructors, and methods. Added: 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -27,6 +27,9 @@ import java.util.concurrent.ScheduledThr import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; +import org.ofbiz.base.lang.SourceMonitor; + +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -18,6 +18,9 @@ *******************************************************************************/ package org.ofbiz.base.concurrent; +import org.ofbiz.base.lang.SourceMonitor; + +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -28,9 +28,11 @@ import java.util.concurrent.ScheduledExe import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; import java.util.concurrent.atomic.AtomicReferenceFieldUpdater; +import org.ofbiz.base.lang.SourceMonitor; import org.ofbiz.base.lang.ObjectWrapper; import org.ofbiz.base.util.UtilIO; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -22,8 +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.test.GenericTestCaseBase; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -22,9 +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.ObjectWrapper; import org.ofbiz.base.test.GenericTestCaseBase; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -21,7 +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; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -29,8 +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.test.GenericTestCaseBase; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -25,11 +25,13 @@ import java.util.ServiceLoader; import javolution.util.FastMap; import javolution.util.FastSet; +import org.ofbiz.base.lang.SourceMonitor; 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") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -20,9 +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.test.GenericTestCaseBase; import org.ofbiz.base.util.UtilGenerics; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -36,11 +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.test.GenericTestCaseBase; import org.ofbiz.base.util.UtilGenerics; import org.ofbiz.base.util.UtilMisc; import org.ofbiz.base.util.collections.LRUMap; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -25,10 +25,12 @@ import java.util.Collection; import java.util.Iterator; import java.util.Map; +import org.ofbiz.base.lang.SourceMonitor; import org.ofbiz.base.util.IndentingWriter; import org.ofbiz.base.util.UtilGenerics; import org.ofbiz.base.util.UtilIO; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -33,9 +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.test.GenericTestCaseBase; import org.ofbiz.base.util.IndentingWriter; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -19,6 +19,7 @@ package org.ofbiz.base.lang; /** An immutable range of values. */ +@SourceMonitor("Adam Heath") public class ComparableRange<T extends Comparable<T>> implements Range<T> { protected final T start; Added: 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/SourceMonitor.java?rev=926912&view=auto ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitor.java (added) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/SourceMonitor.java Wed Mar 24 03:16:50 2010 @@ -0,0 +1,32 @@ +/******************************************************************************* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + *******************************************************************************/ +package org.ofbiz.base.lang; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +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]"; +} 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -20,7 +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; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -22,6 +22,9 @@ import java.io.IOException; import java.io.FilterWriter; import java.io.Writer; +import org.ofbiz.base.lang.SourceMonitor; + +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -32,6 +32,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.w3c.dom.Node; /** @@ -469,6 +470,7 @@ public class ObjectType { * @return the converted value * @throws GeneralException */ + @SourceMonitor("Adam Heath") @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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -21,7 +21,10 @@ package org.ofbiz.base.util; import java.io.Serializable; import com.ibm.icu.util.Calendar; +import org.ofbiz.base.lang.SourceMonitor; + /** An immutable representation of a period of time. */ +@SourceMonitor("Adam Heath") @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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -28,11 +28,13 @@ import java.util.Iterator; import java.util.ServiceLoader; import org.ofbiz.base.lang.Factory; +import org.ofbiz.base.lang.SourceMonitor; /** * UtilObject * */ +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -23,6 +23,7 @@ import java.util.Locale; import java.util.Map; import javax.el.PropertyNotFoundException; +import org.ofbiz.base.lang.SourceMonitor; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.UtilGenerics; import org.ofbiz.base.util.UtilObject; @@ -36,6 +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") @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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -25,11 +25,13 @@ import java.util.Map; import java.util.Set; import java.math.BigDecimal; +import org.ofbiz.base.lang.SourceMonitor; 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") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -27,6 +27,7 @@ import java.util.TimeZone; import javax.el.PropertyNotFoundException; +import org.ofbiz.base.lang.SourceMonitor; import org.ofbiz.base.util.BshUtil; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.GroovyUtil; @@ -49,6 +50,7 @@ import bsh.EvalError; * and specified (XXX) currency.<p>This class extends the UEL by allowing * nested expressions.</p> */ +@SourceMonitor("Adam Heath") @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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -28,12 +28,14 @@ import java.util.TimeZone; import junit.framework.TestCase; +import org.ofbiz.base.lang.SourceMonitor; 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") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -20,9 +20,11 @@ package org.ofbiz.base.util.test; import java.io.StringWriter; +import org.ofbiz.base.lang.SourceMonitor; import org.ofbiz.base.util.IndentingWriter; import org.ofbiz.base.test.GenericTestCaseBase; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -35,6 +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.util.Debug; import org.ofbiz.base.util.GeneralException; import org.ofbiz.base.util.ObjectType; @@ -44,6 +45,7 @@ import org.ofbiz.base.util.UtilMisc; import org.ofbiz.base.util.UtilXml; import org.ofbiz.base.test.GenericTestCaseBase; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -23,9 +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.util.TimeDuration; import org.ofbiz.base.test.GenericTestCaseBase; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -33,10 +33,12 @@ import java.util.Locale; import java.util.TimeZone; import java.util.UUID; +import org.ofbiz.base.lang.SourceMonitor; import org.ofbiz.base.util.UtilIO; import org.ofbiz.base.util.UtilMisc; import org.ofbiz.base.test.GenericTestCaseBase; +@SourceMonitor("Adam Heath") 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=926912&r1=926911&r2=926912&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 24 03:16:50 2010 @@ -30,11 +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.util.Debug; import org.ofbiz.base.util.GroovyUtil; import org.ofbiz.base.util.UtilObject; import org.ofbiz.base.test.GenericTestCaseBase; +@SourceMonitor("Adam Heath") public class UtilObjectTests extends GenericTestCaseBase { public UtilObjectTests(String name) { super(name); |
Free forum by Nabble | Edit this page |