java: remove unused variables
Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
This commit is contained in:
@@ -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 ) )
|
||||
{
|
||||
|
@@ -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 )
|
||||
{
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user