[Pocketgames-devel] SF.net SVN: pocketgames: [221] libraries/cab/src/org/pocketgames/cab/ installd
Status: Beta
Brought to you by:
idominguez
|
From: <ido...@us...> - 2008-01-12 03:51:52
|
Revision: 221
http://pocketgames.svn.sourceforge.net/pocketgames/?rev=221&view=rev
Author: idominguez
Date: 2008-01-11 19:51:57 -0800 (Fri, 11 Jan 2008)
Log Message:
-----------
One unnecessary line per kind of value removed
Modified Paths:
--------------
libraries/cab/src/org/pocketgames/cab/installdata/frontend/ParserREGKEY.java
Modified: libraries/cab/src/org/pocketgames/cab/installdata/frontend/ParserREGKEY.java
===================================================================
--- libraries/cab/src/org/pocketgames/cab/installdata/frontend/ParserREGKEY.java 2008-01-12 03:51:29 UTC (rev 220)
+++ libraries/cab/src/org/pocketgames/cab/installdata/frontend/ParserREGKEY.java 2008-01-12 03:51:57 UTC (rev 221)
@@ -34,15 +34,13 @@
if (bit0 && bit16)
{
int v = fromWord (nextWord32 (content, os+12+posNull));
- DWORD d = new DWORD (v);
- val = d;
+ val = new DWORD (v);
}
else if (!bit0 && !bit16)
{
byte[] rest = new byte[len - posNull];
System.arraycopy (content, os+12+posNull+1, rest, 0, len-posNull-1);
- SZ sz = new SZ(new String (rest));
- val = sz;
+ val = new SZ(new String (rest));
}
else if (!bit0 && bit16)
{
@@ -74,15 +72,13 @@
}
}
}
- MULTI_SZ sz = new MULTI_SZ(l);
- val = sz;
+ val = new MULTI_SZ(l);
}
else // if (bit0 && !bit16)
{
byte[] rest = new byte[len - posNull];
System.arraycopy (content, os+12+posNull+1, rest, 0, len-posNull-1);
- BINARY binary = new BINARY(rest);
- val = binary;
+ val = new BINARY(rest);
}
return new Pair<Integer,REGKEY>
(os + 12 + len,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|