[infinispan-commits] Infinispan SVN: r1671 - trunk/server/memcached/src/main/scala/org/infinispan/server/memcached.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Thu Apr 8 11:06:24 EDT 2010
Author: galder.zamarreno at jboss.com
Date: 2010-04-08 11:06:24 -0400 (Thu, 08 Apr 2010)
New Revision: 1671
Modified:
trunk/server/memcached/src/main/scala/org/infinispan/server/memcached/TextProtocolUtil.scala
Log:
vals do not need final modifier.
Modified: trunk/server/memcached/src/main/scala/org/infinispan/server/memcached/TextProtocolUtil.scala
===================================================================
--- trunk/server/memcached/src/main/scala/org/infinispan/server/memcached/TextProtocolUtil.scala 2010-04-08 13:49:34 UTC (rev 1670)
+++ trunk/server/memcached/src/main/scala/org/infinispan/server/memcached/TextProtocolUtil.scala 2010-04-08 15:06:24 UTC (rev 1671)
@@ -10,19 +10,19 @@
// todo: refactor name once old code has been removed?
trait TextProtocolUtil {
- final val CRLF = "\r\n"
- final val CRLFBytes = "\r\n".getBytes
- final val END = "END\r\n".getBytes
- final val DELETED = "DELETED\r\n".getBytes
- final val NOT_FOUND = "NOT_FOUND\r\n".getBytes
- final val EXISTS = "EXISTS\r\n".getBytes
- final val STORED = "STORED\r\n".getBytes
- final val NOT_STORED = "NOT_STORED\r\n".getBytes
- final val OK = "OK\r\n".getBytes
- final val ERROR = "ERROR\r\n".getBytes
+ val CRLF = "\r\n"
+ val CRLFBytes = "\r\n".getBytes
+ val END = "END\r\n".getBytes
+ val DELETED = "DELETED\r\n".getBytes
+ val NOT_FOUND = "NOT_FOUND\r\n".getBytes
+ val EXISTS = "EXISTS\r\n".getBytes
+ val STORED = "STORED\r\n".getBytes
+ val NOT_STORED = "NOT_STORED\r\n".getBytes
+ val OK = "OK\r\n".getBytes
+ val ERROR = "ERROR\r\n".getBytes
- final val CR = 13
- final val LF = 10
+ val CR = 13
+ val LF = 10
def readElement(buffer: ChannelBuffer): String = readElement(buffer, new StringBuilder())
More information about the infinispan-commits
mailing list