diff options
Diffstat (limited to 'org.aspectj.matcher/src/main/java/org/aspectj/weaver/RuntimeVersion.java')
-rw-r--r-- | org.aspectj.matcher/src/main/java/org/aspectj/weaver/RuntimeVersion.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/RuntimeVersion.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/RuntimeVersion.java index 0cf90a9a2..4196e4ee7 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/RuntimeVersion.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/RuntimeVersion.java @@ -2,9 +2,9 @@ * Copyright (c) 2018 Contributors * All rights reserved. * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 + * under the terms of the Eclipse Public License v 2.0 * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/epl-v10.html + * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt * ******************************************************************/ package org.aspectj.weaver; @@ -12,19 +12,19 @@ package org.aspectj.weaver; * Captures important runtime versions. Typically new versions are added here if something * changes in the runtime and the code generation may be able to do something different * (more optimal) for a later runtime. - * + * * @author Andy Clement */ public enum RuntimeVersion { - + V1_2("1.2"), V1_5("1.5"), V1_6_10("1.6.10"), V1_9("1.9"); - + private String[] aliases = null; RuntimeVersion(String... aliases) { this.aliases = aliases; } - + public static RuntimeVersion getVersionFor(String version) { for (RuntimeVersion candidateVersion: values()) { if (candidateVersion.name().equals(version)) { |