-
-
Save karol-lotkowski/f90df33aeec6df874f1a to your computer and use it in GitHub Desktop.
Example of deprecated class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.karollotkowski.softwarehouse.dev; | |
import com.karollotkowski.softwarehouse.app.Application; | |
public interface Developer { | |
Application code(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.karollotkowski.softwarehouse.dev; | |
import com.karollotkowski.softwarehouse.app.Application; | |
import com.karollotkowski.softwarehouse.app.NumericApplication; | |
@Deprecated | |
public class FortranDeveloper implements Developer { | |
@Override | |
public Application code() { | |
return new NumericApplication("Numerical weather prediction"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment