[jboss-cvs] JBossAS SVN: r64482 - projects/microcontainer/trunk/deployers-structure-spi/src/main/org/jboss/deployers/structure/spi/classloading/helpers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Aug 7 08:24:17 EDT 2007
Author: alesj
Date: 2007-08-07 08:24:17 -0400 (Tue, 07 Aug 2007)
New Revision: 64482
Modified:
projects/microcontainer/trunk/deployers-structure-spi/src/main/org/jboss/deployers/structure/spi/classloading/helpers/VersionImpl.java
Log:
Cast typo.
Modified: projects/microcontainer/trunk/deployers-structure-spi/src/main/org/jboss/deployers/structure/spi/classloading/helpers/VersionImpl.java
===================================================================
--- projects/microcontainer/trunk/deployers-structure-spi/src/main/org/jboss/deployers/structure/spi/classloading/helpers/VersionImpl.java 2007-08-07 12:04:57 UTC (rev 64481)
+++ projects/microcontainer/trunk/deployers-structure-spi/src/main/org/jboss/deployers/structure/spi/classloading/helpers/VersionImpl.java 2007-08-07 12:24:17 UTC (rev 64482)
@@ -51,8 +51,8 @@
return 0;
if (o == null || o instanceof VersionImpl == false)
throw new IllegalArgumentException("Not a version impl: " + o);
- org.osgi.framework.Version other = (org.osgi.framework.Version) o;
- return delegate.compareTo(other);
+ VersionImpl other = (VersionImpl) o;
+ return delegate.compareTo(other.delegate);
}
@Override
@@ -62,8 +62,8 @@
return true;
if (obj == null || obj instanceof VersionImpl == false)
return false;
- org.osgi.framework.Version other = (org.osgi.framework.Version) obj;
- return delegate.equals(other);
+ VersionImpl other = (VersionImpl) obj;
+ return delegate.equals(other.delegate);
}
@Override
More information about the jboss-cvs-commits
mailing list