incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1170536 - /incubator/ace/trunk/ace-gateway-log-store/src/main/java/org/apache/ace/gateway/log/store/impl/LogStoreImpl.java
Date Wed, 14 Sep 2011 11:20:37 GMT
Author: marrs
Date: Wed Sep 14 11:20:37 2011
New Revision: 1170536

URL: http://svn.apache.org/viewvc?rev=1170536&view=rev
Log:
ACE-169 changed the target log store to no longer store target IDs

Modified:
    incubator/ace/trunk/ace-gateway-log-store/src/main/java/org/apache/ace/gateway/log/store/impl/LogStoreImpl.java

Modified: incubator/ace/trunk/ace-gateway-log-store/src/main/java/org/apache/ace/gateway/log/store/impl/LogStoreImpl.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-gateway-log-store/src/main/java/org/apache/ace/gateway/log/store/impl/LogStoreImpl.java?rev=1170536&r1=1170535&r2=1170536&view=diff
==============================================================================
--- incubator/ace/trunk/ace-gateway-log-store/src/main/java/org/apache/ace/gateway/log/store/impl/LogStoreImpl.java
(original)
+++ incubator/ace/trunk/ace-gateway-log-store/src/main/java/org/apache/ace/gateway/log/store/impl/LogStoreImpl.java
Wed Sep 14 11:20:37 2011
@@ -251,12 +251,9 @@ public class LogStoreImpl implements Log
      * @throws java.io.IOException
      *             in case of any IO error.
      */
-    public synchronized LogEvent put(int type, Dictionary props)
-            throws IOException {
+    public synchronized LogEvent put(int type, Dictionary props) throws IOException {
         try {
-            LogEvent result = new LogEvent(m_identification.getID(),
-                    m_store.getId(), getNextID(), System.currentTimeMillis(),
-                    type, props);
+            LogEvent result = new LogEvent(null, m_store.getId(), getNextID(), System.currentTimeMillis(),
type, props);
             m_store.append(result.getID(), result.toRepresentation().getBytes());
             return result;
         } 



Mime
View raw message