Author: sshyrkov
Date: Mon Nov 12 13:45:49 2007
New Revision: 19121

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19121&repname=
=3Djahia
Log:
Cleanup unused local fields and import statements

Modified:
    branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/java/org/jahia/services/audi=
t/LoggingEventListener.java

Modified: branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/java/org/jahia/service=
s/audit/LoggingEventListener.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-INCLUD=
E-TAG-BRANCH/core/src/java/org/jahia/services/audit/LoggingEventListener.ja=
va&rev=3D19121&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/java/org/jahia/services/audi=
t/LoggingEventListener.java (original)
+++ branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/java/org/jahia/services/audi=
t/LoggingEventListener.java Mon Nov 12 13:45:49 2007
@@ -27,7 +27,6 @@
 import org.jahia.exceptions.JahiaException;
 import org.jahia.registries.ServicesRegistry;
 import org.jahia.services.pages.JahiaPage;
-import org.jahia.services.pages.JahiaPageDefinition;
 import org.jahia.services.pages.ContentPage;
 import org.jahia.services.version.ActivationTestResults;
 import org.jahia.services.fields.ContentField;
@@ -48,8 +47,6 @@
 =

     private final String MSG_INTERNAL_ERROR =3D new String ("Logging Event=
 Listener internal error");
 =

-    private int objectType =3D 0;
-
     // references to needed services.
     private JahiaAuditLogManagerService mAuditLogManager =3D null;
 =

@@ -84,7 +81,6 @@
      */
     public void fieldAdded (JahiaEvent je) {
         if (je !=3D null && je.getObject () !=3D null) {
-            JahiaField theField =3D (JahiaField)je.getObject ();
             mAuditLogManager.logEvent (je, FIELD_TYPE, "added field");
         }
     }
@@ -97,7 +93,6 @@
      *
      */
     public void fieldUpdated (JahiaEvent je) {
-        JahiaField theField =3D (JahiaField)je.getObject ();
         mAuditLogManager.logEvent (je, FIELD_TYPE, "modified field");
     }
 =

@@ -109,7 +104,6 @@
      *
      */
     public void fieldDeleted (JahiaEvent je) {
-        JahiaField theField =3D (JahiaField)je.getObject ();
         mAuditLogManager.logEvent (je, FIELD_TYPE, "deleted field");
     }
 =

@@ -121,7 +115,6 @@
      *
      */
     public void containerAdded (JahiaEvent je) {
-        JahiaContainer theContainer =3D (JahiaContainer)je.getObject ();
         mAuditLogManager.logEvent (je, CONTAINER_TYPE, "added container");
     }
 =

@@ -131,7 +124,6 @@
      * @param        je                  the associated JahiaEvent
      */
     public void containerUpdated (JahiaEvent je) {
-        JahiaContainer theContainer =3D (JahiaContainer)je.getObject ();
         mAuditLogManager.logEvent (je, CONTAINER_TYPE, "updated container"=
);
     }
 =

@@ -141,7 +133,6 @@
      * @param        je                  the associated JahiaEvent
      */
     public void containerDeleted (JahiaEvent je) {
-        JahiaContainer theContainer =3D (JahiaContainer)je.getObject ();
         mAuditLogManager.logEvent (je, CONTAINER_TYPE, "deleted container"=
);
     }
 =

@@ -151,7 +142,6 @@
      * @param        je                  the associated JahiaEvent
      */
     public void pageAdded (JahiaEvent je) {
-        JahiaPage thePage =3D (JahiaPage)je.getObject ();
         mAuditLogManager.logEvent (je, PAGE_TYPE, "added page");
     }
 =

@@ -161,7 +151,6 @@
      * @param        je                  the associated JahiaEvent
      */
     public void pagePropertiesSet (JahiaEvent je) {
-        JahiaPage thePage =3D (JahiaPage)je.getObject ();
         mAuditLogManager.logEvent (je, PAGE_TYPE, "set properties for page=
");
     }
 =

@@ -173,7 +162,6 @@
      */
     public void templateUpdated (JahiaEvent je) {
         if (je.getObject () !=3D null) {
-            JahiaPageDefinition theTemplate =3D (JahiaPageDefinition)je.ge=
tObject ();
             mAuditLogManager.logEvent (je, JahiaObjectTool.TEMPLATE_TYPE, =
"template updated");
         }
     }
@@ -184,7 +172,6 @@
      * @param        je                  the associated JahiaEvent
      */
     public void containerListPropertiesSet (JahiaEvent je) {
-        JahiaContainerList theContainerList =3D (JahiaContainerList)je.get=
Object ();
         mAuditLogManager.logEvent (je, CONTAINERLIST_TYPE, "set properties=
 for containerList");
     }
 =


_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to