mirror of
https://github.com/revanced/jadb.git
synced 2025-05-29 13:00:11 +02:00
Using UnsupportedOperationException
instead of weird NotImplementedException
This commit is contained in:
parent
7dc5d73d00
commit
d716ba0325
@ -1,7 +1,5 @@
|
|||||||
package se.vidstige.jadb;
|
package se.vidstige.jadb;
|
||||||
|
|
||||||
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by vidstige on 2014-03-20
|
* Created by vidstige on 2014-03-20
|
||||||
*/
|
*/
|
||||||
@ -10,10 +8,10 @@ public class RemoteFile {
|
|||||||
|
|
||||||
public RemoteFile(String path) { this.path = path;}
|
public RemoteFile(String path) { this.path = path;}
|
||||||
|
|
||||||
public String getName() { throw new NotImplementedException(); }
|
public String getName() { throw new UnsupportedOperationException(); }
|
||||||
public int getSize() { throw new NotImplementedException(); }
|
public int getSize() { throw new UnsupportedOperationException(); }
|
||||||
public long getLastModified() { throw new NotImplementedException(); }
|
public long getLastModified() { throw new UnsupportedOperationException(); }
|
||||||
public boolean isDirectory() { throw new NotImplementedException(); }
|
public boolean isDirectory() { throw new UnsupportedOperationException(); }
|
||||||
|
|
||||||
public String getPath() { return path;}
|
public String getPath() { return path;}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user