directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r578175 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/ChangeType.java
Date Fri, 21 Sep 2007 15:29:42 GMT
Author: elecharny
Date: Fri Sep 21 08:29:42 2007
New Revision: 578175

URL: http://svn.apache.org/viewvc?rev=578175&view=rev
Log:
Removed ^M from file

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/ChangeType.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/ChangeType.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/ChangeType.java?rev=578175&r1=578174&r2=578175&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/ChangeType.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/ChangeType.java
Fri Sep 21 08:29:42 2007
@@ -1,67 +1,67 @@
-/*
- *   Licensed to the Apache Software Foundation (ASF) under one
- *   or more contributor license agreements.  See the NOTICE file
- *   distributed with this work for additional information
- *   regarding copyright ownership.  The ASF licenses this file
- *   to you 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 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.directory.shared.ldap.ldif;
-
-
-/**
- * A type safe enumeration for an LDIF record's change type.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$, $Date$
- */
-public enum ChangeType
-{
-    Add( 0 ),
-    Modify( 1 ),
-    ModDn( 2 ),
-    ModRdn( 3 ),
-    Delete( 4 );
-    
-    public static final int ADD_ORDINAL = 0;
-    public static final int MODIFY_ORDINAL = 1;
-    public static final int MODDN_ORDINAL = 2;
-    public static final int MODRDN_ORDINAL = 3;
-    public static final int DELETE_ORDINAL = 4;
-
-    /* the ordinal value for a change type */
-    private final int changeType;
-    
-    
-    /**
-     * Creates a new instance of ChangeType.
-     *
-     * @param changeType
-     */
-    private ChangeType( int changeType )
-    {
-        this.changeType = changeType;
-    }
-
-
-    /**
-     * Get's the ordinal value for a ChangeType.
-     * 
-     * @return the changeType
-     */
-    public final int getChangeType()
-    {
-        return changeType;
-    }
-}
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you 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 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.directory.shared.ldap.ldif;
+
+
+/**
+ * A type safe enumeration for an LDIF record's change type.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public enum ChangeType
+{
+    Add( 0 ),
+    Modify( 1 ),
+    ModDn( 2 ),
+    ModRdn( 3 ),
+    Delete( 4 );
+    
+    public static final int ADD_ORDINAL = 0;
+    public static final int MODIFY_ORDINAL = 1;
+    public static final int MODDN_ORDINAL = 2;
+    public static final int MODRDN_ORDINAL = 3;
+    public static final int DELETE_ORDINAL = 4;
+
+    /* the ordinal value for a change type */
+    private final int changeType;
+    
+    
+    /**
+     * Creates a new instance of ChangeType.
+     *
+     * @param changeType
+     */
+    private ChangeType( int changeType )
+    {
+        this.changeType = changeType;
+    }
+
+
+    /**
+     * Get's the ordinal value for a ChangeType.
+     * 
+     * @return the changeType
+     */
+    public final int getChangeType()
+    {
+        return changeType;
+    }
+}



Mime
View raw message