java: remove unused variables

Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
This commit is contained in:
Noel Grandin
2014-08-05 11:30:20 +02:00
parent 27459c71ef
commit e7a474b29a
33 changed files with 38 additions and 103 deletions

View File

@@ -99,8 +99,6 @@ public class UCBStreamHandler extends URLStreamHandler {
String sUrl = url.toString();
if ( !( sUrl.lastIndexOf(separator) == -1) ) {
String path = sUrl.substring(0, sUrl.lastIndexOf(separator));
String file = sUrl.substring(
sUrl.lastIndexOf(separator) + separator.length());
if ( m_xSimpleFileAccess.isReadOnly( path ) )
{

View File

@@ -70,10 +70,9 @@ public class XInputStreamImpl implements XInputStream
public void skipBytes( /*IN*/int nBytesToSkip ) throws com.sun.star.io.NotConnectedException, com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException
{
long bytesSkipped = 0;
try
{
bytesSkipped = is.skip( nBytesToSkip );
is.skip( nBytesToSkip );
}
catch ( IOException e )
{

View File

@@ -201,7 +201,6 @@ class GlyphGutter extends JComponent {
for (int i = startLine; i < endLine; i++) {
String text;
text = Integer.toString(i + 1) + " ";
int w = metrics.stringWidth(text);
int y = i * h;
g.setColor(Color.blue);
g.drawString(text, 0, y + ascent);