Apache Software Foundation JDO API

##### JDO Links

- JDO Wiki

##### JCP Links

- JDO 1.0 JSR-12
- JDO 2.0 JSR-243

##### Project Documentation

- About
- Project Info
- Project Reports
- Development Process

##### Legend

- External Link
- Opens in a new window

## Checkstyle Results

The following document contains the results of Checkstyle .

## Summary

Files | Infos | Warnings | Errors
--- | --- | --- | ---
378 | 0 | 0 | 232

## Files

Files | I | W | E
--- | --- | --- | ---
javax/jdo/Constants.java | 0 | 0 | 5
javax/jdo/Enhancer.java | 0 | 0 | 9
javax/jdo/Extent.java | 0 | 0 | 2
javax/jdo/JDOEntityManager.java | 0 | 0 | 1
javax/jdo/JDOEntityManagerFactory.java | 0 | 0 | 1
javax/jdo/JDOHelper.java | 0 | 0 | 2
javax/jdo/JDOReadOnlyException.java | 0 | 0 | 1
javax/jdo/PersistenceManagerFactory.java | 0 | 0 | 1
javax/jdo/annotations/Cacheable.java | 0 | 0 | 1
javax/jdo/annotations/package.html | 0 | 0 | 1
javax/jdo/metadata/KeyMetadata.java | 0 | 0 | 1
javax/jdo/AbstractJDOConfigTest.java | 0 | 0 | 5
javax/jdo/EnhancerTest.java | 0 | 0 | 71
javax/jdo/JDOConfigTestClassLoader.java | 0 | 0 | 1
javax/jdo/JDOHelperConfigTest.java | 0 | 0 | 25
javax/jdo/JDOHelperTest.java | 0 | 0 | 17
javax/jdo/MockEnhancer.java | 0 | 0 | 2
javax/jdo/ObjectStateTest.java | 0 | 0 | 5
javax/jdo/PMFMapMapTest.java | 0 | 0 | 5
javax/jdo/annotations/Line.java | 0 | 0 | 1
javax/jdo/annotations/Point.java | 0 | 0 | 1
javax/jdo/annotations/TestEmbeddedMap.java | 0 | 0 | 1
javax/jdo/annotations/TestEmbeddedSet.java | 0 | 0 | 1
javax/jdo/annotations/package.html | 0 | 0 | 1
javax/jdo/identity/ByteIdentityTest.java | 0 | 0 | 3
javax/jdo/identity/CharIdentityTest.java | 0 | 0 | 3
javax/jdo/identity/IntIdentityTest.java | 0 | 0 | 3
javax/jdo/identity/LongIdentityTest.java | 0 | 0 | 4
javax/jdo/identity/ObjectIdentityTest.java | 0 | 0 | 7
javax/jdo/identity/ShortIdentityTest.java | 0 | 0 | 3
javax/jdo/identity/SingleFieldIdentityTest.java | 0 | 0 | 3
javax/jdo/identity/StringIdentityTest.java | 0 | 0 | 4
javax/jdo/identity/package.html | 0 | 0 | 1
javax/jdo/listener/package.html | 0 | 0 | 1
javax/jdo/package.html | 0 | 0 | 1
javax/jdo/pc/PCPoint.java | 0 | 0 | 8
javax/jdo/pc/package.html | 0 | 0 | 1
javax/jdo/schema/XMLTest.java | 0 | 0 | 10
javax/jdo/schema/package.html | 0 | 0 | 1
javax/jdo/spi/JDOImplHelperTest.java | 0 | 0 | 1
javax/jdo/spi/StateInterrogationTest.java | 0 | 0 | 1
javax/jdo/spi/package.html | 0 | 0 | 1
javax/jdo/stub/StubPMF.java | 0 | 0 | 1
javax/jdo/stub/package.html | 0 | 0 | 1
javax/jdo/util/BatchResultPrinter.java | 0 | 0 | 1
javax/jdo/util/BatchTestRunner.java | 0 | 0 | 1
javax/jdo/util/XMLTestUtil.java | 0 | 0 | 10
javax/jdo/util/package.html | 0 | 0 | 1

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/Constants.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 832
| Line is longer than 100 characters. | 833
| Line is longer than 100 characters. | 850
| Line is longer than 100 characters. | 852
| Line is longer than 100 characters. | 856

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/Enhancer.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 59
| Name 'NL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 77
| Name 'NL' must match pattern '^[a-z_][a-zA-Z0-9_]*$'. | 77
| Name 'JAR_FILE_SUFFIX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 79
| Name 'JAR_FILE_SUFFIX' must match pattern '^[a-z_][a-zA-Z0-9_]*$'. | 79
| Name 'JDO_FILE_SUFFIX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 81
| Name 'JDO_FILE_SUFFIX' must match pattern '^[a-z_][a-zA-Z0-9_]*$'. | 81
| Name 'CLASS_FILE_SUFFIX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 83
| Name 'CLASS_FILE_SUFFIX' must match pattern '^[a-z_][a-zA-Z0-9_]*$'. | 83

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/Extent.java

Error | Line
--- | ---
| Redundant import from the java.lang package - java.lang.Iterable. | 25
| Type Javadoc comment is missing an @param &lt;E&gt; tag. | 39

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/JDOEntityManager.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 27

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/JDOEntityManagerFactory.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 28

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/JDOHelper.java

Error | Line
--- | ---
| File length is 2,048 lines (max allowed is 2,000). | 1
| Line is longer than 100 characters. | 1893

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/JDOReadOnlyException.java

Error | Line
--- | ---
| File does not end with a newline. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/PersistenceManagerFactory.java

Error | Line
--- | ---
| Unused import - javax.jdo.spi.JDOPermission. | 29

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/annotations/Cacheable.java

Error | Line
--- | ---
| File does not end with a newline. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/annotations/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/src/java/javax/jdo/metadata/KeyMetadata.java

Error | Line
--- | ---
| File does not end with a newline. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/AbstractJDOConfigTest.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 11
| Name 'JDOCONFIG_CLASSPATH_PREFIX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 17
| Name 'TEST_CLASSPATH' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 36
| Name 'API_CLASSPATH' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 51
| Name 'RANDOM' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 87

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/EnhancerTest.java

Error | Line
--- | ---
| Array brackets at illegal position. | 47
| Line is longer than 100 characters. | 56
| Line is longer than 100 characters. | 57
| Line is longer than 100 characters. | 65
| Line is longer than 100 characters. | 66
| Line is longer than 100 characters. | 74
| Line is longer than 100 characters. | 75
| Line is longer than 100 characters. | 83
| Line is longer than 100 characters. | 91
| Line is longer than 100 characters. | 92
| Line is longer than 100 characters. | 93
| Line is longer than 100 characters. | 94
| Line is longer than 100 characters. | 95
| Line is longer than 100 characters. | 96
| Line is longer than 100 characters. | 104
| Line is longer than 100 characters. | 105
| Line is longer than 100 characters. | 113
| Line is longer than 100 characters. | 114
| Line is longer than 100 characters. | 122
| Line is longer than 100 characters. | 123
| Line is longer than 100 characters. | 124
| Line is longer than 100 characters. | 132
| Line is longer than 100 characters. | 133
| Line is longer than 100 characters. | 134
| Line is longer than 100 characters. | 142
| Line is longer than 100 characters. | 143
| Line is longer than 100 characters. | 144
| Line is longer than 100 characters. | 152
| Line is longer than 100 characters. | 153
| Line is longer than 100 characters. | 154
| Line is longer than 100 characters. | 155
| Line is longer than 100 characters. | 156
| Line is longer than 100 characters. | 164
| Line is longer than 100 characters. | 165
| Line is longer than 100 characters. | 166
| Line is longer than 100 characters. | 167
| Line is longer than 100 characters. | 168
| Line is longer than 100 characters. | 182
| Line is longer than 100 characters. | 183
| Line is longer than 100 characters. | 184
| Line is longer than 100 characters. | 185
| Line is longer than 100 characters. | 195
| Line is longer than 100 characters. | 196
| Line is longer than 100 characters. | 205
| Line is longer than 100 characters. | 206
| Line is longer than 100 characters. | 218
| Line is longer than 100 characters. | 225
| Line is longer than 100 characters. | 226
| Line is longer than 100 characters. | 234
| Line is longer than 100 characters. | 235
| Line is longer than 100 characters. | 246
| Line is longer than 100 characters. | 249
| Line is longer than 100 characters. | 250
| Line is longer than 100 characters. | 251
| Line is longer than 100 characters. | 252
| Line is longer than 100 characters. | 253
| Line is longer than 100 characters. | 254
| Line is longer than 100 characters. | 255
| Line is longer than 100 characters. | 260
| Line is longer than 100 characters. | 263
| Line is longer than 100 characters. | 264
| Line is longer than 100 characters. | 265
| Line is longer than 100 characters. | 266
| Line is longer than 100 characters. | 267
| Line is longer than 100 characters. | 268
| Line is longer than 100 characters. | 269
| Line is longer than 100 characters. | 270
| Line is longer than 100 characters. | 271
| Line is longer than 100 characters. | 272
| Line is longer than 100 characters. | 283
| Missing a Javadoc comment. | 343

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/JDOConfigTestClassLoader.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 23

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/JDOHelperConfigTest.java

Error | Line
--- | ---
| Array brackets at illegal position. | 38
| Name 'testPositive00_PMF0_BasicPMFConfigUsingOnlyStandardAttributesAndListeners' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 236
| Line is longer than 100 characters. | 242
| Name 'testPositive00_PMF1_BasicPMFConfigUsingOnlyPropertyElementsWithStandardJavaxDotJDOProperties' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 242
| Name 'testPositive00_PMF2_NestedPropertyElementsWithOnlyStandardAttributeNames' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 248
| Name 'testPositive00_PMF3_StandardAttributesPlusNonstandardPropertiesInPropertyElements' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 254
| Name 'testPositive00_PMF4_StandardAttributesPlusNonstandardAttributes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 260
| Name 'testPositive01_DuplicatePUsInDifferentConfigFilesButNotRequested' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 266
| Name 'testPositive02_GetAnonymousPMFWithNoProperties' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 279
| Name 'testPositive03_PMF0_PMFClassNameViaServicesLookup' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 293
| Name 'testPositive04_PMF0_PMFClassNameViaServicesLookup' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 306
| Name 'testPositive05_PMF0_PMFClassNameViaServicesLookup' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 319
| Name 'testPositive06_PMF0_GetAnonymousPMFProperties' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 332
| Name 'testPositive07_PMF0_GetAnonymousPMFPropertiesWithPUName' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 348
| Name 'testNegative00_EmptyJDOConfigXML' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 364
| Name 'testNegative01_NoPersistenceUnitsDefined' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 377
| Name 'testNegative02_DuplicateAnonymousPersistenceUnitsInSameConfig' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 390
| Name 'testNegative03_DuplicateNamedPersistenceUnitsInSameConfig' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 404
| Name 'testNegative04_DuplicatePUNamePropertyInAttributeAndElement' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 419
| Name 'testNegative05_DuplicatePropertyInAttributeAndElement' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 435
| Name 'testNegative06_DuplicatePUInDifferentConfigFiles' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 450
| Name 'testNegative07_EmptyServicesFile' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 466
| Name 'testNegative08_NoResourcesFound' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 474
| Name 'testNegative08_ServicesFileWithOnlyComments' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 490
| Name 'testNegative09_MultipleInvalidClassesInDifferentServicesFiles' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 499

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/JDOHelperTest.java

Error | Line
--- | ---
| Array brackets at illegal position. | 45
| Line is longer than 100 characters. | 111
| Line is longer than 100 characters. | 136
| Line is longer than 100 characters. | 212
| Line is longer than 100 characters. | 240
| Line is longer than 100 characters. | 268
| Line is longer than 100 characters. | 296
| Line is longer than 100 characters. | 324
| Line is longer than 100 characters. | 352
| Line is longer than 100 characters. | 380
| Line is longer than 100 characters. | 425
| Missing a Javadoc comment. | 579
| Missing a Javadoc comment. | 582
| Missing a Javadoc comment. | 589
| Missing a Javadoc comment. | 596
| Missing a Javadoc comment. | 604
| Missing a Javadoc comment. | 612

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/MockEnhancer.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 79
| Line is longer than 100 characters. | 132

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/ObjectStateTest.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 36
| Array brackets at illegal position. | 71
| Line is longer than 100 characters. | 102
| Line is longer than 100 characters. | 107
| Missing a Javadoc comment. | 167

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/PMFMapMapTest.java

Error | Line
--- | ---
| Unused import - java.net.MalformedURLException. | 22
| Unused import - javax.jdo.util.AbstractTest. | 24
| Unused import - java.net.URL. | 27
| Name 'PMFName' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 45
| Array brackets at illegal position. | 56

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/annotations/Line.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 26

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/annotations/Point.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 26

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/annotations/TestEmbeddedMap.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 28

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/annotations/TestEmbeddedSet.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 28

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/annotations/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/ByteIdentityTest.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 136
| Line is longer than 100 characters. | 137
| Line is longer than 100 characters. | 138

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/CharIdentityTest.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 145
| Line is longer than 100 characters. | 146
| Line is longer than 100 characters. | 147

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/IntIdentityTest.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 135
| Line is longer than 100 characters. | 136
| Line is longer than 100 characters. | 137

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/LongIdentityTest.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 139
| Line is longer than 100 characters. | 140
| Line is longer than 100 characters. | 141
| Line is longer than 100 characters. | 142

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/ObjectIdentityTest.java

Error | Line
--- | ---
| Unused import - java.lang.reflect.Constructor. | 25
| Line is longer than 100 characters. | 151
| Line is longer than 100 characters. | 152
| Line is longer than 100 characters. | 153
| Missing a Javadoc comment. | 416
| Missing a Javadoc comment. | 435
| Missing a Javadoc comment. | 438

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/ShortIdentityTest.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 135
| Line is longer than 100 characters. | 136
| Line is longer than 100 characters. | 137

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/SingleFieldIdentityTest.java

Error | Line
--- | ---
| Unused import - java.io.IOException. | 27
| Unused import - java.io.ObjectInput. | 30
| Unused import - java.io.ObjectOutput. | 31

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/StringIdentityTest.java

Error | Line
--- | ---
| Unused import - javax.jdo.JDOUserException. | 26
| Line is longer than 100 characters. | 98
| Line is longer than 100 characters. | 99
| Line is longer than 100 characters. | 100

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/identity/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/listener/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/pc/PCPoint.java

Error | Line
--- | ---
| Using the '.*' form of import should be avoided - javax.jdo.spi.*. | 23
| Array brackets at illegal position. | 43
| Array brackets at illegal position. | 44
| Array brackets at illegal position. | 45
| Array brackets at illegal position. | 230
| Array brackets at illegal position. | 239
| Array brackets at illegal position. | 406
| Name 'sunjdo$classForName$' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 450

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/pc/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/schema/XMLTest.java

Error | Line
--- | ---
| Unused import - java.io.IOException. | 21
| Unused import - java.util.Arrays. | 24
| Unused import - java.util.List. | 25
| Unused import - javax.jdo.JDOFatalException. | 27
| Using the '.*' form of import should be avoided - javax.xml.parsers.*. | 32
| Unused import - org.w3c.dom.Document. | 33
| Using the '.*' form of import should be avoided - org.xml.sax.*. | 34
| Using the '.*' form of import should be avoided - org.xml.sax.helpers.*. | 35
| Name 'BASEDIR' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 44
| Array brackets at illegal position. | 93

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/schema/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/spi/JDOImplHelperTest.java

Error | Line
--- | ---
| Array brackets at illegal position. | 39

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/spi/StateInterrogationTest.java

Error | Line
--- | ---
| File does not end with a newline. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/spi/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/stub/StubPMF.java

Error | Line
--- | ---
| Missing a Javadoc comment. | 17

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/stub/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/util/BatchResultPrinter.java

Error | Line
--- | ---
| Line is longer than 100 characters. | 77

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/util/BatchTestRunner.java

Error | Line
--- | ---
| Array brackets at illegal position. | 88

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/util/XMLTestUtil.java

Error | Line
--- | ---
| Unused import - java.util.Iterator. | 34
| Using the '.*' form of import should be avoided - javax.xml.parsers.*. | 41
| Using the '.*' form of import should be avoided - org.xml.sax.*. | 43
| Using the '.*' form of import should be avoided - org.xml.sax.helpers.*. | 44
| Name 'BASEDIR' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 53
| Name 'METADATA_PROP' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 99
| Name 'RECURSIVE_PROP' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 103
| Line is longer than 100 characters. | 424
| Array brackets at illegal position. | 521
| Line is longer than 100 characters. | 540

### C:/OpenSource/jdo/branches/3.0.1/api/test/java/javax/jdo/util/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0