directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r1178337 - /directory/shared/trunk/dsml/engine/src/main/java/org/apache/directory/shared/dsmlv2/engine/Dsmlv2Engine.java
Date Mon, 03 Oct 2011 08:41:28 GMT
Author: felixk
Date: Mon Oct  3 08:41:28 2011
New Revision: 1178337

URL: http://svn.apache.org/viewvc?rev=1178337&view=rev
Log:
Remove dead code. 'request' will always be 'null' here

Modified:
    directory/shared/trunk/dsml/engine/src/main/java/org/apache/directory/shared/dsmlv2/engine/Dsmlv2Engine.java

Modified: directory/shared/trunk/dsml/engine/src/main/java/org/apache/directory/shared/dsmlv2/engine/Dsmlv2Engine.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/engine/src/main/java/org/apache/directory/shared/dsmlv2/engine/Dsmlv2Engine.java?rev=1178337&r1=1178336&r2=1178337&view=diff
==============================================================================
--- directory/shared/trunk/dsml/engine/src/main/java/org/apache/directory/shared/dsmlv2/engine/Dsmlv2Engine.java
(original)
+++ directory/shared/trunk/dsml/engine/src/main/java/org/apache/directory/shared/dsmlv2/engine/Dsmlv2Engine.java
Mon Oct  3 08:41:28 2011
@@ -381,10 +381,6 @@ public class Dsmlv2Engine
             LOG.warn( "Failed while getting next request", e );
             
             int reqId = 0;
-            if ( request != null )
-            {
-                reqId = request.getDecorated().getMessageId();
-            }
             
             // We create a new ErrorResponse and return the XML response.
             ErrorResponse errorResponse = new ErrorResponse( reqId, ErrorResponseType.MALFORMED_REQUEST,
I18n.err(



Mime
View raw message