Author: pcl
Date: Fri Jun 30 15:37:18 2006
New Revision: 418401

URL: http://svn.apache.org/viewvc?rev=418401&view=rev
Log:
reformatted using a better formatter; added a bunch of tests

Added:
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/conf/
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/conf/TestConfigurations.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/conf/test/
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/conf/test/TestConfigurationImpl.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/conf/test/TestPluginValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/ResultListTest.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestEagerResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestLazyForwardResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestListResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestMergedResultObjectProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestOrderedMergedResultObjectProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestRandomAccessResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestRangeResultObjectProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestSimpleResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestSoftRandomAccessResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/rop/TestWindowResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/AbstractTestCase.java
   (with props)
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/xml/
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/xml/TestDocTypeReader.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/xml/TestXMLWriter.java
Modified:
    incubator/openjpa/trunk/openjpa-lib/pom.xml
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/BooleanValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurable.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configuration.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurations.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/DoubleValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/FileValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/GenericConfigurable.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/IntValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/MapConfigurationProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ObjectValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/PluginListValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/PluginValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/StringListValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/StringValue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Value.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ValueListener.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/AbstractJDBCListener.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/ConfiguringConnectionDecorator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/ConnectionDecorator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DataSourceLogs.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DecoratingDataSource.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingCallableStatement.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingConnection.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingDataSource.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingDatabaseMetaData.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingPreparedStatement.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingResultSet.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingStatement.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/JDBCEvent.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/JDBCEventConnectionDecorator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/JDBCListener.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/LoggingConnectionDecorator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/ReportingSQLException.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/SQLFormatter.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/AbstractLog.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/CommonsLogFactory.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/Log.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/Log4JLogFactory.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/LogFactory.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/LogFactoryAdapter.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/LogFactoryImpl.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/LogOutputStream.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/MultiLogFactory.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/log/NoneLogFactory.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/CFMetaDataParser.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/CFMetaDataSerializer.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ClassAnnotationMetaDataFilter.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ClassArgParser.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ClassMetaDataIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ClasspathMetaDataIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/FileMetaDataIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/MetaDataFilter.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/MetaDataIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/MetaDataIteratorChain.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/MetaDataParser.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/MetaDataSerializer.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ResourceMetaDataIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/SourceTracker.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/SourceTrackers.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/SuffixMetaDataFilter.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/URLMetaDataIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/XMLMetaDataParser.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/XMLMetaDataSerializer.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ZipFileMetaDataIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/ZipStreamMetaDataIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/AbstractListIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/AbstractNonSequentialResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/AbstractResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/AbstractSequentialResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/EagerResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/LazyForwardResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/ListResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/ListResultObjectProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/MergedResultObjectProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/RandomAccessResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/RangeResultObjectProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/ResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/ResultListIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/ResultObjectProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/ResultObjectProviderIterator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/SimpleResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/SoftRandomAccessResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/rop/WindowResultList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/AbstractEventManager.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/Base16Encoder.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/BytecodeWriter.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/Closeable.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/CodeFormat.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/EventManager.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/Files.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/FormatPreservingProperties.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/JavaVersions.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/LRUMap.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/Localizer.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/MultiClassLoader.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/Options.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/ParameterTemplate.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/ParseException.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/ReferenceHashMap.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/ReferenceHashSet.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/ReferenceMap.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/ResourceBundleProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/Services.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/SimpleRegex.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/SimpleResourceBundleProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/SizedMap.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/StreamResourceBundleProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/StringDistance.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/TemporaryClassLoader.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/TypedProperties.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/ZipResourceBundleProvider.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/AbstractCollection.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/AbstractConcurrentEventManager.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/AbstractQueue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/AbstractSet.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/Arrays.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentHashMap.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentHashSet.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentLinkedQueue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentMap.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentReferenceHashMap.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentReferenceHashSet.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/CondVar.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/Condition.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/CopyOnWriteArrayList.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/CopyOnWriteArraySet.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/FIFOCondVar.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/FIFOWaitQueue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/Lock.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/NanoTimer.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/Queue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ReentrantLock.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/TimeUnit.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/Utils.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/WaitQueue.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/xml/Commentable.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/xml/DocTypeReader.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/xml/Location.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/xml/ValidatingErrorHandler.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/xml/XMLFactory.java
    
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/xml/XMLWriter.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestAbstractEventManager.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestLocalizer.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestMultiClassLoader.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestOptions.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestParameterTemplate.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestPropertiesParser.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestReferenceSet.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestSimpleRegex.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestTemporaryClassLoader.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestTypedProperties.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestUUIDGenerator.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/concurrent/TestConcurrentMap.java
    
incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/util/testlocalizer/LocalizerTestHelper.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ArrayInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ArrayLoadInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ArrayState.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ArrayStoreInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Attribute.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Attributes.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/BCClass.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/BCClassLoader.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/BCEntity.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/BCField.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/BCMember.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/BCMethod.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ClassConstantInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ClassInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/CmpInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Code.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/CodeEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ConstantInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ConstantValue.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Constants.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ConvertInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Deprecated.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ExceptionHandler.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Exceptions.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/FieldInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/GetFieldInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/IIncInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/IfInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/InnerClass.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/InnerClasses.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Instruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/InstructionPtr.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/InstructionPtrStrategy.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/JumpInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LineNumber.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LineNumberTable.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LoadInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Local.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LocalTable.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LocalVariable.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LocalVariableInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LocalVariableTable.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LocalVariableType.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LocalVariableTypeTable.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/LookupSwitchInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/MathInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/MethodInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/MonitorEnterInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/MonitorExitInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/MonitorInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/MultiANewArrayInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/NameCache.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/NewArrayInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ObjectState.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/PrimitiveState.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Project.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/PutFieldInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/RetInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/ReturnInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/SourceFile.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/StackInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/State.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/StoreInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/SwitchInstruction.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/Synthetic.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/TableSwitchInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/TypedInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/UnknownAttribute.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/WideInstruction.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/ClassEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/ComplexEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/ConstantEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/ConstantPool.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/ConstantPoolTable.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/DoubleEntry.java
    incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/Entry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/FieldEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/FloatEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/IntEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/InterfaceMethodEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/LongEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/MethodEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/NameAndTypeEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/StringEntry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/lowlevel/UTF8Entry.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/visitor/BCVisitor.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/visitor/PrettyPrintVisitor.java
    
incubator/openjpa/trunk/serp/src/main/java/serp/bytecode/visitor/VisitAcceptor.java
    incubator/openjpa/trunk/serp/src/main/java/serp/util/Numbers.java
    incubator/openjpa/trunk/serp/src/main/java/serp/util/Strings.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/AbstractStateTest.java
    incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestArray.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestArrayLoadInstruction.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestArrayStoreInstruction.java
    incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestAttributes.java
    incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestBCClass.java
    incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestCode.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestConstantInstruction.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestConvertInstruction.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestLoadInstruction.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestMathInstruction.java
    incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestNameCache.java
    incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestPrimitive.java
    incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestProject.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/TestStoreInstruction.java
    
incubator/openjpa/trunk/serp/src/test/java/serp/bytecode/lowlevel/TestConstantPool.java
    incubator/openjpa/trunk/serp/src/test/java/serp/util/TestStrings.java

Modified: incubator/openjpa/trunk/openjpa-lib/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/pom.xml?rev=418401&r1=418400&r2=418401&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-lib/pom.xml (original)
+++ incubator/openjpa/trunk/openjpa-lib/pom.xml Fri Jun 30 15:37:18 2006
@@ -26,6 +26,14 @@
                </dependency>
                <dependency>
                
+                       <groupId>jakarta-regexp</groupId>
+                       <artifactId>jakarta-regexp</artifactId>
+                       <version>1.4</version>
+                       <scope>test</scope>
+                       
+               </dependency>
+               <dependency>
+               
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>1.0.4</version>

Modified: 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java
URL: 
http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java?rev=418401&r1=418400&r2=418401&view=diff
==============================================================================
--- 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java
 (original)
+++ 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java
 Fri Jun 30 15:37:18 2006
@@ -1,136 +1,123 @@
 /*
  * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ *  Licensed 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
+ *  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.apache.openjpa.lib.ant;
 
+import java.io.*;
+import java.util.*;
 import org.apache.openjpa.lib.conf.*;
 import org.apache.openjpa.lib.util.*;
-
 import org.apache.tools.ant.*;
 import org.apache.tools.ant.taskdefs.*;
 import org.apache.tools.ant.types.*;
 import org.apache.tools.ant.util.*;
 
-import java.io.*;
-
-import java.util.*;
-
-
 /**
- *  <p>Ant tasks all have a nested <code>&lt;config&rt;</code> tag, which uses
- *  the configuration as a bean-like task. E.g., you can do:
- *  <p>
- *  <code>
- *  &lt;mytask&rt;<br />
- *  &nbsp;&nbsp;&lt;config licenseKey="key" connectionUserName="foo"/&rt;<br />
- *  &lt;/mytask&rt;
- *  </code></p>
- *
- *  <p>The defailt configuration for the system will be used if the
- *  <code>&lt;config&rt;</code> subtask is excluded.</p>
- *
- *  @nojavadoc */
+ * Ant tasks all have a nested <code>&lt;config&rt;</code> tag, which uses
+ * the configuration as a bean-like task. E.g., you can do:
+ * 
+ * <code> &lt;mytask&rt;<br />
+ * &nbsp;&nbsp;&lt;config licenseKey="key" connectionUserName="foo"/&rt;<br />
+ * &lt;/mytask&rt;
+ * </code>
+ *  The defailt configuration for the system will be used if the
+ * <code>&lt;config&rt;</code> subtask is excluded.
+ * 
+ * @nojavadoc
+ */
 public abstract class AbstractTask extends MatchingTask {
     static final Localizer _loc = Localizer.forPackage(AbstractTask.class);
+
     protected List fileSets = new ArrayList();
     protected boolean haltOnError = true;
     protected Path classpath = null;
     protected boolean useParent = false;
     protected boolean isolate = false;
+
     private Configuration _conf = null;
     private AntClassLoader _cl = null;
 
     /**
-     *  Set whether we want the task to ignore all errors.
+     * Set whether we want the task to ignore all errors.
      */
     public void setHaltOnError(boolean haltOnError) {
         this.haltOnError = haltOnError;
     }
 
     /**
-     *  Whether we want the ClassLoader to be isolated from
-     *  all other ClassLoaders
+     * Whether we want the ClassLoader to be isolated from
+     * all other ClassLoaders
      */
     public void setIsolate(boolean isolate) {
         this.isolate = isolate;
     }
 
     /**
-     *  Whether we want to delegate to the parent ClassLoader
-     *  for resolveing classes. This may "taint" classes.
+     * Whether we want to delegate to the parent ClassLoader
+     * for resolveing classes. This may "taint" classes.
      */
     public void setUseParentClassloader(boolean useParent) {
         this.useParent = useParent;
     }
 
     /**
-     *  The task configuration.
+     * The task configuration.
      */
     public Configuration getConfiguration() {
-        if (_conf == null) {
+        if (_conf == null)
             _conf = newConfiguration();
-        }
-
         return _conf;
     }
 
     /**
-     *  Implement this method to return a configuration object for the
-     *  product in use.
+     * Implement this method to return a configuration object for the
+     * product in use.
      */
     protected abstract Configuration newConfiguration();
 
     /**
-     *  Perform the task action on the given files.
+     * Perform the task action on the given files.
      */
     protected abstract void executeOn(String[] files) throws Exception;
 
     /**
-     *  Return the classloader to use.
+     * Return the classloader to use.
      */
     protected ClassLoader getClassLoader() {
-        if (_cl != null) {
+        if (_cl != null)
             return _cl;
-        }
 
-        if (classpath != null) {
+        if (classpath != null)
             _cl = new AntClassLoader(project, classpath, useParent);
-        } else {
+        else
             _cl = new AntClassLoader(project.getCoreLoader(), project,
-                    new Path(project), useParent);
-        }
-
+                new Path(project), useParent);
         _cl.setIsolated(isolate);
 
         return _cl;
     }
 
     /**
-     *  Helper method to throw a standard exception if the task is not given
-     *  any files to execute on.  Implementations might call this method as
-     *  the first step in [EMAIL PROTECTED] #executeOn} to validate that they 
are given
-     *  files to work on.
+     * Helper method to throw a standard exception if the task is not given
+     * any files to execute on. Implementations might call this method as
+     * the first step in [EMAIL PROTECTED] #executeOn} to validate that they 
are given
+     * files to work on.
      */
     protected void assertFiles(String[] files) {
-        if (files.length == 0) {
+        if (files.length == 0)
             throw new BuildException(_loc.get("no-filesets"));
-        }
     }
 
     public void setClasspath(Path classPath) {
@@ -138,10 +125,8 @@
     }
 
     public Path createClasspath() {
-        if (classpath == null) {
+        if (classpath == null)
             classpath = new Path(project);
-        }
-
         return classpath.createPath();
     }
 
@@ -155,44 +140,37 @@
 
     public void execute() throws BuildException {
         String[] files = getFiles();
-
         try {
             executeOn(files);
         } catch (Throwable e) {
             e.printStackTrace();
-
-            if (haltOnError) {
+            if (haltOnError)
                 throw new BuildException(e);
-            }
-        } finally {
-            if (_conf != null) {
+        }
+        finally {
+            if (_conf != null)
                 _conf.close();
-            }
-
             _conf = null;
         }
     }
 
     private String[] getFiles() {
         List files = new ArrayList();
-
-        for (Iterator i = fileSets.iterator(); i.hasNext();) {
-            FileSet fs = (FileSet) i.next();
+        for (Iterator i = fileSets.iterator(); i.hasNext(); ) {
+            FileSet fs = (FileSet)i.next();
             DirectoryScanner ds = fs.getDirectoryScanner(project);
 
             String[] dsFiles = ds.getIncludedFiles();
-
             for (int j = 0; j < dsFiles.length; j++) {
                 File f = new File(dsFiles[j]);
-
-                if (!f.isFile()) {
+                if (!f.isFile())
                     f = new File(ds.getBasedir(), dsFiles[j]);
-                }
 
                 files.add(f.getAbsolutePath());
             }
         }
 
-        return (String[]) files.toArray(new String[files.size()]);
+        return(String[]) files.toArray(new String[files.size()]);
     }
 }
+

Modified: 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/BooleanValue.java
URL: 
http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/BooleanValue.java?rev=418401&r1=418400&r2=418401&view=diff
==============================================================================
--- 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/BooleanValue.java
 (original)
+++ 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/BooleanValue.java
 Fri Jun 30 15:37:18 2006
@@ -1,13 +1,10 @@
 /*
  * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ *  Licensed 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
+ *  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
@@ -15,11 +12,10 @@
  */
 package org.apache.openjpa.lib.conf;
 
-
 /**
- *  A boolean [EMAIL PROTECTED] Value}.
- *
- *  @author Marc Prud'hommeaux
+ * A boolean [EMAIL PROTECTED] Value}.
+ * 
+ * @author Marc Prud'hommeaux
  */
 public class BooleanValue extends Value {
     private boolean value;
@@ -34,19 +30,17 @@
     }
 
     /**
-     *  The internal value.
+     * The internal value.
      */
     public void set(boolean value) {
         boolean oldValue = this.value;
         this.value = value;
-
-        if (oldValue != value) {
+        if (oldValue != value)
             valueChanged();
-        }
     }
 
     /**
-     *  The internal value.
+     * The internal value.
      */
     public boolean get() {
         return value;
@@ -61,10 +55,9 @@
     }
 
     protected void setInternalObject(Object obj) {
-        if (obj == null) {
+        if (obj == null)
             set(false);
-        } else {
+        else
             set(((Boolean) obj).booleanValue());
-        }
     }
 }

Modified: 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurable.java
URL: 
http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurable.java?rev=418401&r1=418400&r2=418401&view=diff
==============================================================================
--- 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurable.java
 (original)
+++ 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configurable.java
 Fri Jun 30 15:37:18 2006
@@ -1,13 +1,10 @@
 /*
  * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ *  Licensed 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
+ *  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
@@ -15,28 +12,27 @@
  */
 package org.apache.openjpa.lib.conf;
 
-
 /**
- *  <p>This interface provides a mechanism for notifying interested
- *  objects when configuration events occur. It provides an object
- *  with the opportunity to set itself up for configuration and to
- *  perform any necessary post-configuration.</p>
- *
- *  @author Patrick Linskey
+ * This interface provides a mechanism for notifying interested
+ * objects when configuration events occur. It provides an object
+ * with the opportunity to set itself up for configuration and to
+ * perform any necessary post-configuration.
+ * 
+ * @author Patrick Linskey
  */
 public interface Configurable {
     /**
-     *  Invoked prior to setting bean properties.
+     * Invoked prior to setting bean properties.
      */
     public void setConfiguration(Configuration conf);
 
     /**
-     *  Invoked before bean property configuration is begun on this object.
+     * Invoked before bean property configuration is begun on this object.
      */
     public void startConfiguration();
 
     /**
-     *  Invoked upon completion of bean property configuration for this object.
+     * Invoked upon completion of bean property configuration for this object.
      */
     public void endConfiguration();
 }

Modified: 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configuration.java
URL: 
http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configuration.java?rev=418401&r1=418400&r2=418401&view=diff
==============================================================================
--- 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configuration.java
 (original)
+++ 
incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/Configuration.java
 Fri Jun 30 15:37:18 2006
@@ -1,13 +1,10 @@
 /*
  * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ *  Licensed 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
+ *  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
@@ -15,191 +12,184 @@
  */
 package org.apache.openjpa.lib.conf;
 
-import org.apache.openjpa.lib.log.*;
-import org.apache.openjpa.lib.util.Closeable;
-
 import java.beans.*;
-
 import java.io.*;
-
 import java.util.*;
-
+import org.apache.openjpa.lib.log.*;
+import org.apache.openjpa.lib.util.Closeable;
 
 /**
- *  <p>Interface for generic configuration objects.  Includes the ability
- *  to write configuration to and from [EMAIL PROTECTED] Properties} 
instances.  Instances
- *  are threadsafe for reads, but not for writes.</p>
- *
- *  @author Marc Prud'hommeaux
- *  @author Abe White
+ * Interface for generic configuration objects. Includes the ability
+ * to write configuration to and from [EMAIL PROTECTED] Properties} instances. 
Instances
+ * are threadsafe for reads, but not for writes.
+ * 
+ * @author Marc Prud'hommeaux
+ * @author Abe White
  */
-public interface Configuration extends BeanInfo, Serializable, Closeable,
-    Cloneable {
+public interface Configuration
+    extends BeanInfo, Serializable, Closeable, Cloneable {
     /**
-     *  Attribute of returned [EMAIL PROTECTED] Value} property descriptors 
listing
-     *  recognized values for the property.
+     * Attribute of returned [EMAIL PROTECTED] Value} property descriptors 
listing
+     * recognized values for the property.
      */
     public static final String ATTRIBUTE_ALLOWED_VALUES = "allowedValues";
 
     /**
-     *  Attribute of the returned [EMAIL PROTECTED] Value} property 
descriptors naming
-     *  the property's type or category.
+     * Attribute of the returned [EMAIL PROTECTED] Value} property descriptors 
naming
+     * the property's type or category.
      */
     public static final String ATTRIBUTE_TYPE = "propertyType";
 
     /**
-     *  Attribute of the returned [EMAIL PROTECTED] Value} property 
descriptors naming
-     *  the property' hierarchical category.
+     * Attribute of the returned [EMAIL PROTECTED] Value} property descriptors 
naming
+     * the property' hierarchical category.
      */
     public static final String ATTRIBUTE_CATEGORY = "propertyCategory";
 
     /**
-     *  Attribute of the returned [EMAIL PROTECTED] Value} property 
descriptors naming
-     *  the property's ordering in its category.
+     * Attribute of the returned [EMAIL PROTECTED] Value} property descriptors 
naming
+     * the property's ordering in its category.
      */
     public static final String ATTRIBUTE_ORDER = "propertyCategoryOrder";
 
     /**
-     *  Attribute of the returned [EMAIL PROTECTED] Value} property 
descriptors naming
-     *  the interface that plugin values for this property must implement.
+     * Attribute of the returned [EMAIL PROTECTED] Value} property descriptors 
naming
+     * the interface that plugin values for this property must implement.
      */
     public static final String ATTRIBUTE_INTERFACE = "propertyInterface";
 
     /**
-     *  Return the product name.  Defaults to <code>solarmetric</code>.
+     * Return the product name. Defaults to <code>solarmetric</code>.
      */
     public String getProductName();
 
     /**
-     *  The log factory. If no log factory has been set explicitly,
-      *  this method will create one.
+     * The log factory. If no log factory has been set explicitly,
+     * this method will create one.
      */
     public LogFactory getLogFactory();
 
     /**
-     *   The log factory.
+     * The log factory.
      */
     public void setLogFactory(LogFactory factory);
 
     /**
-     *  Log plugin setting.
+     * Log plugin setting.
      */
     public String getLog();
 
     /**
-     *  Log plugin setting.
+     * Log plugin setting.
      */
     public void setLog(String log);
 
     /**
-     *  Return the log for the given category.
-     *
-     *  @see #getLogFactory
+     * Return the log for the given category.
+     * 
+     * @see #getLogFactory
      */
     public Log getLog(String category);
 
     /**
-     *  Return the log to use for configuration messages.
+     * Return the log to use for configuration messages.
      */
     public Log getConfigurationLog();
 
     /**
-     *  Return the log to use for management messages.
+     * Return the log to use for management messages.
      */
     public Log getManagementLog();
 
     /**
-     *  Return the log to use for profiling messages.
+     * Return the log to use for profiling messages.
      */
     public Log getProfilingLog();
 
     /**
-     *  Return the [EMAIL PROTECTED] Value} for the given property, or null if 
none.
+     * Return the [EMAIL PROTECTED] Value} for the given property, or null if 
none.
      */
     public Value getValue(String property);
 
     /**
-     *  Return the set of all [EMAIL PROTECTED] Value}s.
+     * Return the set of all [EMAIL PROTECTED] Value}s.
      */
     public Value[] getValues();
 
     /**
-     *  Add the given value to the set of configuration properties.  This
-     *  method replaces any existing value under the same property.
+     * Add the given value to the set of configuration properties. This
+     * method replaces any existing value under the same property.
      */
     public Value addValue(Value val);
 
     /**
-     *  Remove the given value from the set of configuration properties.
+     * Remove the given value from the set of configuration properties.
      */
     public boolean removeValue(Value val);
 
     /**
-     *  A properties representation of this Configuration.
-     *  Note that changes made to this properties object will
-     *  not be automatically reflected in this Configuration object.
-     *
-     *  @param storeDefaults if true, then properties will be written
-     *                                          out even if they match the 
default value
-     *                                          for a property
+     * A properties representation of this Configuration.
+     * Note that changes made to this properties object will
+     * not be automatically reflected in this Configuration object.
+     * 
+     * @param storeDefaults if true, then properties will be written
+     * out even if they match the default value for a property
      */
     public Map toProperties(boolean storeDefaults);
 
     /**
-     *  Set this Configuration via the given map.  Any keys missing from
-     *  the given map will not be set. Note that changes made to this map
-     *  will not be automatically reflected in this Configuration object.
-     *
-     *  IMPORTANT: If the map contains instantiated objects (rather than
-     *  string values), only the string representation of those objects
-     *  are considered in this configuration's <code>equals</code> and
-     *  <code>hashCode</code> methods.   If the object's property has no
-     *  string form (such as an [EMAIL PROTECTED] ObjectValue}), the object is 
not
-     *  part of the equality and hashing calculations.
+     * Set this Configuration via the given map. Any keys missing from
+     * the given map will not be set. Note that changes made to this map
+     * will not be automatically reflected in this Configuration object.
+     *  IMPORTANT: If the map contains instantiated objects(rather than
+     * string values), only the string representation of those objects
+     * are considered in this configuration's <code>equals</code> and
+     * <code>hashCode</code> methods. If the object's property has no
+     * string form(such as an [EMAIL PROTECTED] ObjectValue}), the object is 
not
+     * part of the equality and hashing calculations.
      */
     public void fromProperties(Map map);
 
     /**
-     *  Adds a listener for any property changes.  The property events fired
-     *  will <b>not</b> include the old value.
-     *
-     *  @param listener          the listener to receive notification
-     *                                          of property changes
+     * Adds a listener for any property changes. The property events fired
+     * will <b>not</b> include the old value.
+     * 
+     * @param listener the listener to receive notification of property changes
      */
     public void addPropertyChangeListener(PropertyChangeListener listener);
 
     /**
-     *  Removes a listener for any property changes.
-     *
-     *  @param listener  the listener to remove
+     * Removes a listener for any property changes.
+     * 
+     * @param listener the listener to remove
      */
     public void removePropertyChangeListener(PropertyChangeListener listener);
 
     /**
-     *  Lock down the configuration's state.  Attempting to set state on a
-     *  read-only configuration results in an exception.
+     * Lock down the configuration's state. Attempting to set state on a
+     * read-only configuration results in an exception.
      */
     public void setReadOnly(boolean readOnly);
 
     /**
-     *  Return true if this configuration is immutable.
+     * Return true if this configuration is immutable.
      */
     public boolean isReadOnly();
 
     /**
-     *  Call the instantiating get methods for all values.  Up-front
-     *  instantiation allows one to avoid the synchronization necessary with
-     *  lazy instantiation.
+     * Call the instantiating get methods for all values. Up-front
+     * instantiation allows one to avoid the synchronization necessary with
+     * lazy instantiation.
      */
     public void instantiateAll();
 
     /**
-     *  Free the resources used by this object.
+     * Free the resources used by this object.
      */
     public void close();
 
     /**
-     *  Return a copy of this configuration.
+     * Return a copy of this configuration.
      */
     public Object clone();
 }


Reply via email to