From d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 13 Nov 2016 18:59:12 -0500 Subject: remove some unnecessary Context fields while we are modifying context --- compatibility/BuildInterface.java | 4 ++-- compatibility/Dependency.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'compatibility') 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(); } -- cgit v1.2.3