diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-11-13 18:59:12 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-13 10:13:05 -0500 |
commit | d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8 (patch) | |
tree | 3cf36e22305cc1da608667cfef85afcf682cc21a /compatibility | |
parent | 9f89d16aa3ca5f96d73a8394d5159dc78dd5d7cf (diff) | |
download | cbt-d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8.tar.gz cbt-d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8.tar.bz2 cbt-d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8.zip |
remove some unnecessary Context fields while we are modifying context
Diffstat (limited to 'compatibility')
-rw-r--r-- | compatibility/BuildInterface.java | 4 | ||||
-rw-r--r-- | compatibility/Dependency.java | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/compatibility/BuildInterface.java b/compatibility/BuildInterface.java index e2b5f36..ebcfb99 100644 --- a/compatibility/BuildInterface.java +++ b/compatibility/BuildInterface.java @@ -2,11 +2,11 @@ package cbt; import java.io.*; public abstract class BuildInterface implements Dependency{ - public abstract BuildInterface copy(Context context); // needed to configure builds - public abstract String scalaVersion(); // needed to propagate scalaVersion to dependent builds public abstract BuildInterface finalBuild(); // needed to propagage through build builds. Maybe we can get rid of this. public abstract File[] triggerLoopFilesArray(); // needed for watching files across composed builds // deprecated methods, which clients are still allowed to implement, but not required + public abstract BuildInterface copy(Context context); + public abstract String scalaVersion(); public abstract String[] crossScalaVersionsArray(); } diff --git a/compatibility/Dependency.java b/compatibility/Dependency.java index 1f719c2..e23faa6 100644 --- a/compatibility/Dependency.java +++ b/compatibility/Dependency.java @@ -13,11 +13,12 @@ public interface Dependency{ // methods that exist for longer which every CBT version in use should have by now, no default values needed public abstract String show(); public abstract Dependency[] dependenciesArray(); - public abstract File[] dependencyClasspathArray(); public abstract File[] exportedClasspathArray(); // deprecated methods @java.lang.Deprecated public abstract boolean needsUpdateCompat(); + @java.lang.Deprecated + public abstract File[] dependencyClasspathArray(); } |