Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSergey Prigogin2016-11-14 23:28:53 -0500
committerSergey Prigogin2016-11-14 23:28:53 -0500
commit3797ebcc83ba416152b470d009cf8c3ab49b08e4 (patch)
treefe69934d2814e12ae21d092cf611b3d34686b730 /core
parent08eb54b46dee9899e91653c3d3ea37177e53efa9 (diff)
downloadorg.eclipse.cdt-3797ebcc83ba416152b470d009cf8c3ab49b08e4.tar.gz
org.eclipse.cdt-3797ebcc83ba416152b470d009cf8c3ab49b08e4.tar.xz
org.eclipse.cdt-3797ebcc83ba416152b470d009cf8c3ab49b08e4.zip
Made template argument classes final.
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateNonTypeArgument.java2
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateTypeArgument.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateNonTypeArgument.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateNonTypeArgument.java
index f582e7a7d1..a0d72588d3 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateNonTypeArgument.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateNonTypeArgument.java
@@ -27,7 +27,7 @@ import org.eclipse.core.runtime.Assert;
/**
* Implementation of non-type template argument, used by AST and index.
*/
-public class CPPTemplateNonTypeArgument implements ICPPTemplateArgument {
+public final class CPPTemplateNonTypeArgument implements ICPPTemplateArgument {
private final ICPPEvaluation fEvaluation;
public CPPTemplateNonTypeArgument(ICPPEvaluation evaluation, IASTNode point) {
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateTypeArgument.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateTypeArgument.java
index b7ad7ff7c0..1a09607330 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateTypeArgument.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateTypeArgument.java
@@ -21,7 +21,7 @@ import org.eclipse.core.runtime.Assert;
/**
* Implementation of type template arguments, used by AST and index.
*/
-public class CPPTemplateTypeArgument implements ICPPTemplateArgument {
+public final class CPPTemplateTypeArgument implements ICPPTemplateArgument {
private final IType fType;
private final IType fOriginalType;

Back to the top