[jboss-cvs] JBossAS SVN: r94861 - in projects/jboss-cl/branches/Branch_2_0: classloader/src/test/java/org/jboss/test/classloader/jbcl114/test and 8 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 14 08:43:36 EDT 2009
Author: adrian at jboss.org
Date: 2009-10-14 08:43:35 -0400 (Wed, 14 Oct 2009)
New Revision: 94861
Modified:
projects/jboss-cl/branches/Branch_2_0/classloader/.project
projects/jboss-cl/branches/Branch_2_0/classloader/src/test/java/org/jboss/test/classloader/jbcl114/test/CachingClassesUnitTestCase.java
projects/jboss-cl/branches/Branch_2_0/classloading-vfs/.project
projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/test/java/org/jboss/test/classloading/vfs/metadata/test/GeneratedClassesUnitTestCase.java
projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/test/java/org/jboss/test/classloading/vfs/metadata/xml/SchemaPrinter.java
projects/jboss-cl/branches/Branch_2_0/classloading/.project
projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/plugins/metadata/PackageCapability.java
projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/dependency/Module.java
projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/dependency/RequirementDependencyItem.java
projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/version/Version.java
projects/jboss-cl/branches/Branch_2_0/classloading/src/test/java/org/jboss/test/classloading/metadata/xml/SchemaPrinter.java
Log:
Fix maven/eclipse and some source code tidyup
Modified: projects/jboss-cl/branches/Branch_2_0/classloader/.project
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloader/.project 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloader/.project 2009-10-14 12:43:35 UTC (rev 94861)
@@ -1,5 +1,5 @@
<projectDescription>
- <name>jboss-classloader</name>
+ <name>classloader</name>
<comment>JBoss ClassLoader</comment>
<projects/>
<buildSpec>
Modified: projects/jboss-cl/branches/Branch_2_0/classloader/src/test/java/org/jboss/test/classloader/jbcl114/test/CachingClassesUnitTestCase.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloader/src/test/java/org/jboss/test/classloader/jbcl114/test/CachingClassesUnitTestCase.java 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloader/src/test/java/org/jboss/test/classloader/jbcl114/test/CachingClassesUnitTestCase.java 2009-10-14 12:43:35 UTC (rev 94861)
@@ -55,7 +55,7 @@
return new BlockingClassLoaderSystem();
}
- /**
+ /*
* The second thread allowed into the synchronized block of BaseClassLoader.loadClass
* must not touch the ClassLoaderDomain.
*/
Modified: projects/jboss-cl/branches/Branch_2_0/classloading/.project
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading/.project 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading/.project 2009-10-14 12:43:35 UTC (rev 94861)
@@ -1,5 +1,5 @@
<projectDescription>
- <name>jboss-classloading</name>
+ <name>classloading</name>
<comment>JBoss ClassLoading</comment>
<projects>
<project>jboss-classloader</project>
@@ -16,4 +16,4 @@
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
-</projectDescription>
\ No newline at end of file
+</projectDescription>
Modified: projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/plugins/metadata/PackageCapability.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/plugins/metadata/PackageCapability.java 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/plugins/metadata/PackageCapability.java 2009-10-14 12:43:35 UTC (rev 94861)
@@ -101,6 +101,8 @@
/**
* Get the split package policy
+ *
+ * @return the split package policy
*/
public SplitPackagePolicy getSplitPackagePolicy()
{
@@ -109,6 +111,8 @@
/**
* Set the split package policy
+ *
+ * @param policy the split package policy
*/
public void setSplitPackagePolicy(SplitPackagePolicy policy)
{
Modified: projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/dependency/Module.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/dependency/Module.java 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/dependency/Module.java 2009-10-14 12:43:35 UTC (rev 94861)
@@ -67,6 +67,9 @@
*/
public abstract class Module extends NameAndVersionSupport
{
+ /** The serialVersionUID */
+ private static final long serialVersionUID = 1L;
+
/** The modules by classloader */
private static Map<ClassLoader, Module> modulesByClassLoader = new ConcurrentHashMap<ClassLoader, Module>();
Modified: projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/dependency/RequirementDependencyItem.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/dependency/RequirementDependencyItem.java 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/dependency/RequirementDependencyItem.java 2009-10-14 12:43:35 UTC (rev 94861)
@@ -38,6 +38,7 @@
public class RequirementDependencyItem extends AbstractDependencyItem
{
/** The log */
+ @SuppressWarnings("hiding")
private static final Logger log = Logger.getLogger(RequirementDependencyItem.class);
/** The module */
Modified: projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/version/Version.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/version/Version.java 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading/src/main/java/org/jboss/classloading/spi/version/Version.java 2009-10-14 12:43:35 UTC (rev 94861)
@@ -255,7 +255,6 @@
}
@Override
- @SuppressWarnings("unchecked")
public boolean equals(Object object)
{
if (object == this)
Modified: projects/jboss-cl/branches/Branch_2_0/classloading/src/test/java/org/jboss/test/classloading/metadata/xml/SchemaPrinter.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading/src/test/java/org/jboss/test/classloading/metadata/xml/SchemaPrinter.java 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading/src/test/java/org/jboss/test/classloading/metadata/xml/SchemaPrinter.java 2009-10-14 12:43:35 UTC (rev 94861)
@@ -47,7 +47,6 @@
*/
public class SchemaPrinter
{
- @SuppressWarnings("unchecked")
public static String printSchema(SchemaBinding schemaBinding)
{
String nsURI = schemaBinding.getNamespaces().iterator().next();
@@ -157,7 +156,6 @@
builder.append("</complexType>");
}
- @SuppressWarnings("unchecked")
public static void printTypeInfo(StringBuilder builder, int pad, TypeBinding type)
{
ParticleBinding particle = type.getParticle();
@@ -191,7 +189,6 @@
printModel(builder, pad, particle, "choice");
}
- @SuppressWarnings("unchecked")
public static void printModel(StringBuilder builder, int pad, ParticleBinding particle, String prefix)
{
pad(builder, pad);
Modified: projects/jboss-cl/branches/Branch_2_0/classloading-vfs/.project
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading-vfs/.project 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading-vfs/.project 2009-10-14 12:43:35 UTC (rev 94861)
@@ -1,5 +1,5 @@
<projectDescription>
- <name>jboss-classloading-vfs</name>
+ <name>classloading-vfs</name>
<comment>JBoss ClassLoading VFS</comment>
<projects>
<project>jboss-classloader</project>
@@ -17,4 +17,4 @@
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
-</projectDescription>
\ No newline at end of file
+</projectDescription>
Modified: projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/test/java/org/jboss/test/classloading/vfs/metadata/test/GeneratedClassesUnitTestCase.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/test/java/org/jboss/test/classloading/vfs/metadata/test/GeneratedClassesUnitTestCase.java 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/test/java/org/jboss/test/classloading/vfs/metadata/test/GeneratedClassesUnitTestCase.java 2009-10-14 12:43:35 UTC (rev 94861)
@@ -175,11 +175,6 @@
{
return classname;
}
-
- public String getPackageName()
- {
- return ClassLoaderUtils.getClassPackageName(classname);
- }
public String getResourceName()
{
Modified: projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/test/java/org/jboss/test/classloading/vfs/metadata/xml/SchemaPrinter.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/test/java/org/jboss/test/classloading/vfs/metadata/xml/SchemaPrinter.java 2009-10-14 12:41:31 UTC (rev 94860)
+++ projects/jboss-cl/branches/Branch_2_0/classloading-vfs/src/test/java/org/jboss/test/classloading/vfs/metadata/xml/SchemaPrinter.java 2009-10-14 12:43:35 UTC (rev 94861)
@@ -48,7 +48,6 @@
*/
public class SchemaPrinter
{
- @SuppressWarnings("unchecked")
public static String printSchema(SchemaBinding schemaBinding)
{
String nsURI = schemaBinding.getNamespaces().iterator().next();
@@ -164,7 +163,6 @@
builder.append("</complexType>");
}
- @SuppressWarnings("unchecked")
public static void printTypeInfo(StringBuilder builder, int pad, TypeBinding type)
{
ParticleBinding particle = type.getParticle();
@@ -198,7 +196,6 @@
printModel(builder, pad, particle, "choice");
}
- @SuppressWarnings("unchecked")
public static void printModel(StringBuilder builder, int pad, ParticleBinding particle, String prefix)
{
pad(builder, pad);
More information about the jboss-cvs-commits
mailing list