sentence capitalization

This commit is contained in:
Dmitry Avdeev
2014-12-06 12:52:25 +03:00
parent 127db13c12
commit b2147def98
15 changed files with 16 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
import static java.lang.Integer.parseInt;
// "Static Import Method 'java.lang.Integer.parseInt'" "true"
// "Static import method 'java.lang.Integer.parseInt'" "true"
public class X {
{
<caret>parseInt("",10);

View File

@@ -1,4 +1,4 @@
// "Static Import Method..." "true"
// "Static import method..." "true"
package p;
import static p.FFF.myEqualTo;

View File

@@ -1,6 +1,6 @@
import static java.lang.String.format;
// "Static Import Method 'java.lang.String.format'" "true"
// "Static import method 'java.lang.String.format'" "true"
public class X {
{
format("");

View File

@@ -1,4 +1,4 @@
// "Static Import Method 'foo.B.aaaaaaa'" "true"
// "Static import method 'foo.B.aaaaaaa'" "true"
package foo;
import static foo.B.aaaaaaa;

View File

@@ -1,4 +1,4 @@
// "Static Import Method 'foo.B.aaaaaaa'" "true"
// "Static import method 'foo.B.aaaaaaa'" "true"
package foo;
import static foo.B.aaaaaaa;

View File

@@ -1,4 +1,4 @@
// "Static Import Method 'java.lang.Integer.parseInt'" "true"
// "Static import method 'java.lang.Integer.parseInt'" "true"
public class X {
{
<caret>parseInt("",10);

View File

@@ -1,4 +1,4 @@
// "Static Import Method..." "true"
// "Static import method..." "true"
package p;
public class X {
public void test() throws Exception {

View File

@@ -1,4 +1,4 @@
// "Static Import Method 'foo.B.aaaaaaa'" "false"
// "Static import method 'foo.B.aaaaaaa'" "false"
package foo;
public class X {

View File

@@ -1,4 +1,4 @@
// "Static Import Method 'java.lang.Integer.parseInt'" "false"
// "Static import method 'java.lang.Integer.parseInt'" "false"
public class X {
{
this.<caret>parseInt("",10);

View File

@@ -1,4 +1,4 @@
// "Static Import Method 'java.lang.String.format'" "true"
// "Static import method 'java.lang.String.format'" "true"
public class X {
{
String.format("");

View File

@@ -1,4 +1,4 @@
// "Static Import Method 'foo.B.aaaaaaa'" "true"
// "Static import method 'foo.B.aaaaaaa'" "true"
package foo;
public class X {
{

View File

@@ -1,4 +1,4 @@
// "Static Import Method 'foo.B.aaaaaaa'" "true"
// "Static import method 'foo.B.aaaaaaa'" "true"
package foo;
public class X {

View File

@@ -65,7 +65,7 @@ public class GroovyStaticImportMethodFix extends Intention {
@Override
@NotNull
public String getText() {
String text = "Static Import Method";
String text = "Static import method";
if (getCandidates().size() == 1) {
final int options = PsiFormatUtilBase.SHOW_NAME | PsiFormatUtilBase.SHOW_CONTAINING_CLASS | PsiFormatUtilBase.SHOW_FQ_NAME;
text += " '" + PsiFormatUtil.formatMethod(getCandidates().get(0), PsiSubstitutor.EMPTY, options, 0) + "'";

View File

@@ -1796,7 +1796,7 @@ class A {
foo(<caret>)
''')
myFixture.getAvailableIntention("Static Import Method 'A.foo'")
myFixture.getAvailableIntention("Static import method 'A.foo'")
}
void testInaccessibleWithCompileStatic() {

View File

@@ -223,7 +223,7 @@ orderEntry.fix.circular.dependency.warning=Adding dependency on module ''{0}'' w
orderEntry.fix.title.circular.dependency.warning=Circular Dependency Warning
orderEntry.fix.add.junit.jar.to.classpath=Add junit to classpath
orderEntry.fix.add.annotations.jar.to.classpath=Add 'annotations.jar' to classpath
static.import.method.text=Static Import Method
static.import.method.text=Static import method
static.import.method.choose.method.to.import=Choose Method to Import
add.library.title.dialog=Add Library to Project
@@ -273,4 +273,4 @@ annotations.fix=Annotations
add.missing.annotation.parameters.fix=Add missing annotation parameters - {0}
add.missing.annotation.single.parameter.fix=Add missing annotation parameter ''{0}''
add.method.qualifier.fix.text=Add Qualifier {0} to Method
add.method.qualifier.fix.text=Add qualifier {0} to method