directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r487171 - in /directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap: name/LdapDNTest.java schema/SchemaUtilsTest.java
Date Thu, 14 Dec 2006 10:55:27 GMT
Author: elecharny
Date: Thu Dec 14 02:55:27 2006
New Revision: 487171

URL: http://svn.apache.org/viewvc?view=rev&rev=487171
Log:
A few less warnings

Modified:
    directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java
    directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/SchemaUtilsTest.java

Modified: directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java?view=diff&rev=487171&r1=487170&r2=487171
==============================================================================
--- directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java
(original)
+++ directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java
Thu Dec 14 02:55:27 2006
@@ -257,7 +257,6 @@
    public void testLdapDNRFC253_Lucic() throws InvalidNameException
    {
        LdapDN dn = new LdapDN( "SN=Lu\\C4\\8Di\\C4\\87" );
-       byte[] lucic = new byte[] { 's', 'n', '=', 'L', 'u', (byte)0xC4, (byte)0x8D, 'i',
(byte)0xC4, (byte)0x87}; 
        Assert.assertEquals( "sn=Lu\\C4\\8Di\\C4\\87", dn.toString() );
        Assert.assertEquals( "SN=Lu\\C4\\8Di\\C4\\87", dn.getUpName() );
    }
@@ -2523,9 +2522,6 @@
     */
    public void testDoubleQuoteInNameDIRSERVER_642_1() throws NamingException
    {
-       LdapDN dn1 = new LdapDN( "cn= a " );
-       LdapDN dn2 = new LdapDN( "cn=\" a \"" );
-       LdapDN dn3 = new LdapDN( "cn= \" a \" " );
        LdapDN dn = new LdapDN( "cn=\" Kylie Minogue \",dc=example,dc=com" );
 
        Assert.assertEquals( "cn=\" Kylie Minogue \",dc=example,dc=com", dn.getUpName() );

Modified: directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/SchemaUtilsTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/SchemaUtilsTest.java?view=diff&rev=487171&r1=487170&r2=487171
==============================================================================
--- directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/SchemaUtilsTest.java
(original)
+++ directory/trunks/shared/ldap/src/test/java/org/apache/directory/shared/ldap/schema/SchemaUtilsTest.java
Thu Dec 14 02:55:27 2006
@@ -196,6 +196,8 @@
 
     static class SyntaxImpl extends AbstractSyntax
     {
+        public final static long serialVersionUID = 1L;
+        
         protected SyntaxImpl(String oid)
         {
             super( oid );
@@ -279,6 +281,8 @@
 
     static class MatchingRuleImpl extends AbstractMatchingRule
     {
+        private static final long serialVersionUID = 1L;
+
         Syntax syntax;
 
 



Mime
View raw message