Skip to content

Commit

Permalink
add value for Useless annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
VGalaxies committed Mar 16, 2024
1 parent afe9906 commit 04c8eff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@
*/
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE})
@Retention(RetentionPolicy.SOURCE)
public @interface Useless {}
public @interface Useless {

String value() default "Remove or handle it later";
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import com.google.common.collect.RangeMap;
import com.google.common.collect.TreeRangeMap;

@Useless // can be merged to org.apache.hugegraph.pd.common.PartitionCacheTest
@Useless("can be merged to org.apache.hugegraph.pd.common.PartitionCacheTest")
public class PartitionCacheTest {

// @Test
Expand Down

0 comments on commit 04c8eff

Please sign in to comment.