1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2012-07-09 19:51:59 -07:00
parent 8d580f3b98
commit ee27356ecf
5 changed files with 32 additions and 40 deletions

View file

@ -18,22 +18,19 @@ package org.eclipse.cdt.core.dom.ast;
* @noinstantiate This class is not intended to be instantiated by clients. * @noinstantiate This class is not intended to be instantiated by clients.
*/ */
public class DOMException extends Exception { public class DOMException extends Exception {
private static final long serialVersionUID = 0; private static final long serialVersionUID = 0;
IProblemBinding problemBinding; IProblemBinding problemBinding;
/** /**
* @param problem * @param problem the binding for throwing
* binding for throwing
*
*/ */
public DOMException(IProblemBinding problem) { public DOMException(IProblemBinding problem) {
problemBinding = problem; problemBinding = problem;
} }
/** /**
* Get the problem associated w/this exception. * Returns the problem associated w/this exception.
* *
* @return problem * @return problem
*/ */

View file

@ -20,7 +20,6 @@ import org.eclipse.cdt.core.dom.ast.IASTExpression;
* @noextend This interface is not intended to be extended by clients. * @noextend This interface is not intended to be extended by clients.
*/ */
public interface ICPPTemplateNonTypeParameter extends ICPPTemplateParameter, ICPPVariable { public interface ICPPTemplateNonTypeParameter extends ICPPTemplateParameter, ICPPVariable {
/** /**
* @deprecated, use {@link ICPPTemplateParameter#getDefaultValue()}. * @deprecated, use {@link ICPPTemplateParameter#getDefaultValue()}.
*/ */

View file

@ -57,11 +57,11 @@ public class CPPClassSpecialization extends CPPSpecialization
private ObjectMap specializationMap= ObjectMap.EMPTY_MAP; private ObjectMap specializationMap= ObjectMap.EMPTY_MAP;
private final ThreadLocal<Set<IBinding>> fInProgress= new ThreadLocal<Set<IBinding>>(); private final ThreadLocal<Set<IBinding>> fInProgress= new ThreadLocal<Set<IBinding>>();
public CPPClassSpecialization(ICPPClassType specialized, IBinding owner, ICPPTemplateParameterMap argumentMap) { public CPPClassSpecialization(ICPPClassType specialized, IBinding owner,
ICPPTemplateParameterMap argumentMap) {
super(specialized, owner, argumentMap); super(specialized, owner, argumentMap);
} }
@Override @Override
public ICPPClassType getSpecializedBinding() { public ICPPClassType getSpecializedBinding() {
return (ICPPClassType) super.getSpecializedBinding(); return (ICPPClassType) super.getSpecializedBinding();
@ -233,9 +233,6 @@ public class CPPClassSpecialization extends CPPSpecialization
return specScope; return specScope;
} }
/* (non-Javadoc)
* @see org.eclipse.cdt.core.dom.ast.IType#isSameType(org.eclipse.cdt.core.dom.ast.IType)
*/
@Override @Override
public boolean isSameType(IType type) { public boolean isSameType(IType type) {
if (type == this) if (type == this)
@ -251,7 +248,6 @@ public class CPPClassSpecialization extends CPPSpecialization
@Override @Override
public Object clone() { public Object clone() {
// TODO Auto-generated method stub
return this; return this;
} }

View file

@ -1145,7 +1145,7 @@ public class CPPTemplates {
} }
/** /**
* Instantiates the given type with the provided map and packoffset. * Instantiates the given type with the provided map and packОffset.
* The context is used to replace templates with their specialization, where appropriate. * The context is used to replace templates with their specialization, where appropriate.
* @param point * @param point
*/ */