Skip to content

Commit

Permalink
Remove unnecessary SuppressWarnings annotation
Browse files Browse the repository at this point in the history
Change-Id: I74ec2bb205558743e7aaf171e7271c1dbb118c6f
  • Loading branch information
frankfliu committed Dec 30, 2020
1 parent b5cce93 commit ecda5e9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ private static final class FactoryImpl implements TranslatorFactory<Image, Detec

/** {@inheritDoc} */
@Override
@SuppressWarnings("unchecked")
public Translator<Image, DetectedObjects> newInstance(
Model model, Map<String, ?> arguments) {
return PpFaceDetectionTranslator.builder(arguments).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ private static final class FactoryImpl implements TranslatorFactory<Image, Class

/** {@inheritDoc} */
@Override
@SuppressWarnings("unchecked")
public Translator<Image, Classifications> newInstance(
Model model, Map<String, ?> arguments) {
return ImageClassificationTranslator.builder(arguments).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ private static final class FactoryImpl implements TranslatorFactory<Image, Detec

/** {@inheritDoc} */
@Override
@SuppressWarnings("unchecked")
public Translator<Image, DetectedObjects> newInstance(
Model model, Map<String, ?> arguments) {
return PtSsdTranslator.builder(arguments).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ private static final class FactoryImpl implements TranslatorFactory<Image, Detec

/** {@inheritDoc} */
@Override
@SuppressWarnings("unchecked")
public Translator<Image, DetectedObjects> newInstance(
Model model, Map<String, ?> arguments) {

Expand Down

0 comments on commit ecda5e9

Please sign in to comment.