Skip to content

Commit

Permalink
Merge pull request #5157 from stuartwdouglas/remove-template
Browse files Browse the repository at this point in the history
Remove deprecated @template
  • Loading branch information
gsmet authored Nov 4, 2019
2 parents b244d7f + 8929189 commit 619d458
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
import io.quarkus.runtime.annotations.Recorder;
import io.quarkus.runtime.annotations.Template;
import io.quarkus.runtime.configuration.ApplicationPropertiesConfigSource;
import io.quarkus.runtime.configuration.ConverterSupport;
import io.quarkus.runtime.configuration.DeploymentProfileConfigSource;
Expand Down Expand Up @@ -113,7 +112,7 @@ private ExtensionLoader() {

@SuppressWarnings("deprecation")
private static boolean isRecorder(AnnotatedElement element) {
return element.isAnnotationPresent(Recorder.class) || element.isAnnotationPresent(Template.class);
return element.isAnnotationPresent(Recorder.class);
}

/**
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import io.quarkus.extest.runtime.config.XmlConfig;
import io.quarkus.runtime.RuntimeValue;
import io.quarkus.runtime.ShutdownContext;
import io.quarkus.runtime.annotations.Template;
import io.quarkus.runtime.annotations.Recorder;

/**
* The runtime recorder
Expand All @@ -22,7 +22,7 @@
*
*/
@SuppressWarnings("deprecation")
@Template
@Recorder
public class TestRecorder {
static final Logger log = Logger.getLogger(TestRecorder.class);

Expand Down

0 comments on commit 619d458

Please sign in to comment.