removed unneeded exceptions
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173560 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5feee8876e
commit
cbc92a9a44
|
@ -8,7 +8,6 @@ import lombok.Getter;
|
|||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
import org.gcube.common.storagehubwrapper.shared.tohl.exceptions.InternalErrorException;
|
||||
import org.gcube.common.storagehubwrapper.shared.tohl.items.FileItemType;
|
||||
import org.gcube.common.storagehubwrapper.shared.tohl.items.WorkspaceVersion;
|
||||
|
||||
|
@ -43,7 +42,6 @@ public class FileItem extends WorkspaceItem implements org.gcube.common.storageh
|
|||
@Override
|
||||
public FileItemType getFileItemType() {
|
||||
|
||||
// TODO Auto-generated method stub
|
||||
return fileItemType;
|
||||
}
|
||||
|
||||
|
@ -51,10 +49,7 @@ public class FileItem extends WorkspaceItem implements org.gcube.common.storageh
|
|||
* @see org.gcube.portal.storagehubwrapper.shared.tohl.folder.items.File#getSize()
|
||||
*/
|
||||
@Override
|
||||
public Long getSize()
|
||||
throws InternalErrorException {
|
||||
|
||||
// TODO Auto-generated method stub
|
||||
public Long getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
|
@ -62,10 +57,7 @@ public class FileItem extends WorkspaceItem implements org.gcube.common.storageh
|
|||
* @see org.gcube.portal.storagehubwrapper.shared.tohl.folder.items.File#getMimeType()
|
||||
*/
|
||||
@Override
|
||||
public String getMimeType()
|
||||
throws InternalErrorException {
|
||||
|
||||
// TODO Auto-generated method stub
|
||||
public String getMimeType() {
|
||||
return mimeType;
|
||||
}
|
||||
|
||||
|
@ -73,10 +65,8 @@ public class FileItem extends WorkspaceItem implements org.gcube.common.storageh
|
|||
* @see org.gcube.portal.storagehubwrapper.shared.tohl.folder.items.FileItem#getCurrentVersion()
|
||||
*/
|
||||
@Override
|
||||
public WorkspaceVersion getCurrentVersion()
|
||||
throws InternalErrorException {
|
||||
public WorkspaceVersion getCurrentVersion() {
|
||||
|
||||
// TODO Auto-generated method stub
|
||||
return currentVersion;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public interface File {
|
|||
* @return the size
|
||||
* @throws InternalErrorException the internal error exception
|
||||
*/
|
||||
public Long getSize() throws InternalErrorException;
|
||||
public Long getSize();
|
||||
|
||||
/**
|
||||
* The folder myme type.
|
||||
|
@ -36,7 +36,7 @@ public interface File {
|
|||
* @return the myme type
|
||||
* @throws InternalErrorException the internal error exception
|
||||
*/
|
||||
public String getMimeType() throws InternalErrorException;
|
||||
public String getMimeType();
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue