You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2024/11/12 08:16:02 UTC

(directory-ldap-api) branch master updated: Renamed an error

This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 9bca83e01 Renamed an error
9bca83e01 is described below

commit 9bca83e0105d18e72162723ed15e2b425e93d24e
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Tue Nov 12 09:15:52 2024 +0100

    Renamed an error
---
 .../java/org/apache/directory/api/dsmlv2/request/Dsmlv2Grammar.java     | 2 +-
 i18n/src/main/java/org/apache/directory/api/i18n/I18n.java              | 2 +-
 i18n/src/main/resources/org/apache/directory/api/i18n/errors.properties | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/Dsmlv2Grammar.java b/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/Dsmlv2Grammar.java
index 590b8320a..691f06f8a 100644
--- a/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/Dsmlv2Grammar.java
+++ b/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/Dsmlv2Grammar.java
@@ -948,7 +948,7 @@ public final class Dsmlv2Grammar extends AbstractGrammar implements Grammar
             }
             else
             {
-                throw new XmlPullParserException( I18n.err( I18n.ERR_03025_OPERATION_TTRIBUTE_REQUIRED ), xpp, null );
+                throw new XmlPullParserException( I18n.err( I18n.ERR_03025_OPERATION_ATTRIBUTE_REQUIRED ), xpp, null );
             }
 
             // name
diff --git a/i18n/src/main/java/org/apache/directory/api/i18n/I18n.java b/i18n/src/main/java/org/apache/directory/api/i18n/I18n.java
index bab096b9f..2d29088dd 100644
--- a/i18n/src/main/java/org/apache/directory/api/i18n/I18n.java
+++ b/i18n/src/main/java/org/apache/directory/api/i18n/I18n.java
@@ -109,7 +109,7 @@ public enum I18n
     ERR_03022_NULL_REQUEST_NAME( "ERR_03022_NULL_REQUEST_NAME" ),
     ERR_03023_NEW_RDN_ATTRIBUTE_REQUESTED( "ERR_03023_NEW_RDN_ATTRIBUTE_REQUESTED" ),
     ERR_03024_INCORRECT_DELETE_OLD_RDN_VALUE( "ERR_03024_INCORRECT_DELETE_OLD_RDN_VALUE" ),
-    ERR_03025_OPERATION_TTRIBUTE_REQUIRED( "ERR_03025_OPERATION_TTRIBUTE_REQUIRED" ),
+    ERR_03025_OPERATION_ATTRIBUTE_REQUIRED( "ERR_03025_OPERATION_ATTRIBUTE_REQUIRED" ),
     ERR_03026_UNKNOWN_SCOPE( "ERR_03026_UNKNOWN_SCOPE" ),
     ERR_03027_SCOPE_ATTRIBUTE_REQUIRED( "ERR_03027_SCOPE_ATTRIBUTE_REQUIRED" ),
     ERR_03028_UNKNOWN_DEREFALIAS_VALUE( "ERR_03028_UNKNOWN_DEREFALIAS_VALUE" ),
diff --git a/i18n/src/main/resources/org/apache/directory/api/i18n/errors.properties b/i18n/src/main/resources/org/apache/directory/api/i18n/errors.properties
index 9b1ec6496..3ecfc7cb6 100644
--- a/i18n/src/main/resources/org/apache/directory/api/i18n/errors.properties
+++ b/i18n/src/main/resources/org/apache/directory/api/i18n/errors.properties
@@ -98,7 +98,7 @@ ERR_03021_PRINCIPAL_ATTRIBUTE_REQUIRED=principal attribute is required
 ERR_03022_NULL_REQUEST_NAME=The request name can''t be null
 ERR_03023_NEW_RDN_ATTRIBUTE_REQUESTED=newrdn attribute is required
 ERR_03024_INCORRECT_DELETE_OLD_RDN_VALUE=Incorrect value for ''deleteoldrdn'' attribute
-ERR_03025_OPERATION_TTRIBUTE_REQUIRED=operation attribute is required
+ERR_03025_OPERATION_ATTRIBUTE_REQUIRED=operation attribute is required
 ERR_03026_UNKNOWN_SCOPE=unknown scope. Scope must be ''baseObject'', ''singleLevel'' or ''wholeSubtree''.
 ERR_03027_SCOPE_ATTRIBUTE_REQUIRED=scope attribute is required
 ERR_03028_UNKNOWN_DEREFALIAS_VALUE=unknown derefAliases value. derefAliases must be ''neverDerefAliases'', ''derefInSearching'', ''derefFindingBaseObj'' or ''derefAlways''.