Language: align parameter names

This commit is contained in:
Yann Cébron
2015-07-07 09:37:55 +02:00
parent 73663e5896
commit e484245f90
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -58,8 +58,8 @@ public abstract class Language extends UserDataHolderBase {
}
};
protected Language(@NotNull @NonNls String id) {
this(id, ArrayUtil.EMPTY_STRING_ARRAY);
protected Language(@NotNull @NonNls String ID) {
this(ID, ArrayUtil.EMPTY_STRING_ARRAY);
}
protected Language(@NotNull @NonNls final String ID, @NotNull @NonNls final String... mimeTypes) {
@@ -217,8 +217,8 @@ public abstract class Language extends UserDataHolderBase {
}
/** Fake language identifier without registering */
protected Language(@NotNull String id, @SuppressWarnings("UnusedParameters") boolean register) {
myID = id;
protected Language(@NotNull String ID, @SuppressWarnings("UnusedParameters") boolean register) {
myID = ID;
myBaseLanguage = null;
myMimeTypes = null;
}