From cb28dc94b21c8a3d43a82a77a87828d651b846f5 Mon Sep 17 00:00:00 2001 From: esoe Date: Sun, 23 Oct 2022 13:01:01 +0300 Subject: [PATCH] qq --- .../src/main/java/ru/molokoin/Extension.java | 2 +- files/src/main/java/ru/molokoin/Storage.java | 47 +------------------ 2 files changed, 2 insertions(+), 47 deletions(-) diff --git a/files/src/main/java/ru/molokoin/Extension.java b/files/src/main/java/ru/molokoin/Extension.java index aa9587c..01ecbe6 100644 --- a/files/src/main/java/ru/molokoin/Extension.java +++ b/files/src/main/java/ru/molokoin/Extension.java @@ -1,8 +1,8 @@ -package ru.molokoin; public enum Extension { DOCUMENT, IMAGE, AUDIO, VIDEO, OTHER; + } diff --git a/files/src/main/java/ru/molokoin/Storage.java b/files/src/main/java/ru/molokoin/Storage.java index 292c25b..11c218f 100644 --- a/files/src/main/java/ru/molokoin/Storage.java +++ b/files/src/main/java/ru/molokoin/Storage.java @@ -1,48 +1,3 @@ -package ru.molokoin; - -@File (name="noname", size=0, extension=Extension.OTHER) public class Storage { - public static void main(String[] args) { - System.out.println("Storage.main()"); - Storage storage = new Storage(); - AnnotationReseacher.print(storage); - - - } - private File file; - /** - * @param file - */ - public Storage(File file) { - this.file = file; - } - //Extension extension; - public Storage(){ - - } - - public Storage(Extension extension){ - - } - /** - * @return the file - */ - public File getFile() { - return file; - } - - /** - * @param file the file to set - */ - public void setFile(File file) { - this.file = file; - } - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Storage [file=" + file + "]"; - } - + File[] files; }