Skip to content

Instantly share code, notes, and snippets.

@benjishults
Created December 31, 2018 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjishults/ac36a343f84a56777f85b649a52e3f8b to your computer and use it in GitHub Desktop.
Save benjishults/ac36a343f84a56777f85b649a52e3f8b to your computer and use it in GitHub Desktop.
TextProcessor in enum refactor demo
public class TextProcessor implements Processor {
@Override
public void processFile(Path file) {
System.out.println("process text file");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment