Revision: 3116
http://vexi.svn.sourceforge.net/vexi/?rev=3116&view=rev
Author: mkpg2
Date: 2008-09-24 16:31:05 +0000 (Wed, 24 Sep 2008)
Log Message:
-----------
Eliminating compiler warnings.
Modified Paths:
--------------
trunk/core/org.ibex.io/src/org/ibex/io/Stream.java
Modified: trunk/core/org.ibex.io/src/org/ibex/io/Stream.java
===================================================================
--- trunk/core/org.ibex.io/src/org/ibex/io/Stream.java 2008-09-24 16:30:55 UTC
(rev 3115)
+++ trunk/core/org.ibex.io/src/org/ibex/io/Stream.java 2008-09-24 16:31:05 UTC
(rev 3116)
@@ -288,8 +288,8 @@
private void ensurec(int space) { if (cend-cstart+space>cbuf.length)
growc(space); if (cend+space>cbuf.length) shiftc(); }
private void growb(int s) { byte[] buf2 = new byte[buf.length+s*2];
System.arraycopy(buf,0,buf2,0,buf.length); buf=buf2; }
- private void shiftb() { System.arraycopy(buf, start, buf, 0,
end-start); end -= start; start = 0; }
- private void ensureb(int space) { if (end-start+space>buf.length)
growb(space); if (end+space>buf.length) shiftb(); }
+ //private void shiftb() { System.arraycopy(buf, start, buf, 0,
end-start); end -= start; start = 0; }
+ //private void ensureb(int space) { if (end-start+space>buf.length)
growb(space); if (end+space>buf.length) shiftb(); }
private void ensureb2(int space) { if (end-start+space>buf.length)
growb(space); if (start<space) unshiftb(); }
private void unshiftb() {
System.arraycopy(buf,start,buf,buf.length-(end-start),end-start);start=buf.length-(end-start);end=buf.length;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn