mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Missing static modifier
This commit is contained in:
parent
29a943b067
commit
f18840cf49
1 changed files with 2 additions and 2 deletions
|
@ -180,7 +180,7 @@ public final class CDTUITools {
|
|||
* @param location the path of the resource backing the document. May be null.
|
||||
* @param locationKind the type of path specified above. May be null.
|
||||
*/
|
||||
public void setupCDocument(IDocument document, IPath location, LocationKind locationKind) {
|
||||
public static void setupCDocument(IDocument document, IPath location, LocationKind locationKind) {
|
||||
CUIPlugin.getDefault().getTextTools().setupCDocument(document, location, locationKind);
|
||||
}
|
||||
|
||||
|
@ -196,7 +196,7 @@ public final class CDTUITools {
|
|||
*
|
||||
* @param document the document to be set up
|
||||
*/
|
||||
public void setupAsmDocument(IDocument document) {
|
||||
public static void setupAsmDocument(IDocument document) {
|
||||
IDocumentPartitioner partitioner= createAsmDocumentPartitioner();
|
||||
if (document instanceof IDocumentExtension3) {
|
||||
IDocumentExtension3 extension3= (IDocumentExtension3) document;
|
||||
|
|
Loading…
Add table
Reference in a new issue