mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
- fixed 1.5 problems
This commit is contained in:
parent
bd657f12b8
commit
c281cd4997
2 changed files with 8 additions and 12 deletions
|
@ -1,8 +1,12 @@
|
||||||
#Tue Apr 07 21:22:12 EDT 2009
|
#Tue Jun 02 17:09:29 EDT 2009
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||||
|
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.source=1.6
|
org.eclipse.jdt.core.compiler.source=1.5
|
||||||
|
|
|
@ -28,7 +28,6 @@ public class ProblemProfile implements IProblemProfile, Cloneable {
|
||||||
* org.eclipse.cdt.codan.core.model.IProblemProfile#getProblem(java.lang
|
* org.eclipse.cdt.codan.core.model.IProblemProfile#getProblem(java.lang
|
||||||
* .String)
|
* .String)
|
||||||
*/
|
*/
|
||||||
@Override
|
|
||||||
public IProblem findProblem(String id) {
|
public IProblem findProblem(String id) {
|
||||||
return getRoot().findProblem(id);
|
return getRoot().findProblem(id);
|
||||||
}
|
}
|
||||||
|
@ -38,7 +37,6 @@ public class ProblemProfile implements IProblemProfile, Cloneable {
|
||||||
*
|
*
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemProfile#getProblems()
|
* @see org.eclipse.cdt.codan.core.model.IProblemProfile#getProblems()
|
||||||
*/
|
*/
|
||||||
@Override
|
|
||||||
public IProblem[] getProblems() {
|
public IProblem[] getProblems() {
|
||||||
Collection<IProblem> problems = new ArrayList<IProblem>();
|
Collection<IProblem> problems = new ArrayList<IProblem>();
|
||||||
collectProblems(getRoot(), problems);
|
collectProblems(getRoot(), problems);
|
||||||
|
@ -62,12 +60,6 @@ public class ProblemProfile implements IProblemProfile, Cloneable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemProfile#getRoot()
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public IProblemCategory getRoot() {
|
public IProblemCategory getRoot() {
|
||||||
return rootCategory;
|
return rootCategory;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue