Merge branch 'master' of git.labs.intellij.net:idea/community

Conflicts:
	platform/lang-impl/src/com/intellij/psi/impl/source/codeStyle/CodeStyleManagerImpl.java
This commit is contained in:
Dmitry Trofimov
2010-11-11 21:36:40 +03:00
613 changed files with 194624 additions and 191225 deletions
@@ -0,0 +1,7 @@
public class Foooo {
{
for (fin<caret>x)
}
}
@@ -0,0 +1,8 @@
public class Foooo {
{
int intaaaa;
for (in<caret>)
}
}
@@ -0,0 +1,8 @@
public class Foooo {
{
int intaaaa;
for (int <caret>)
}
}
@@ -0,0 +1,8 @@
public abstract class Zzza {
int foo() {
ret<caret>x
}
}
@@ -0,0 +1,8 @@
public abstract class Zzza {
int foo() {
return <caret>x
}
}
@@ -1 +1 @@
abcd
abcd<caret>
@@ -0,0 +1,9 @@
// "Change 'implements b' to 'extends b'" "true"
class a extends b<C.D> {
}
class b<T> {}
class C {
static class D {}
}
@@ -0,0 +1,9 @@
// "Change 'implements b' to 'extends b'" "true"
class a implements <caret>b<C.D> {
}
class b<T> {}
class C {
static class D {}
}
@@ -0,0 +1,14 @@
import org.jetbrains.annotations.NotNull;
class Test {
@NotNull
public String noNull(@NotNull String text) {
assert text != null;
return "";
}
private void foo() {
@NotNull String str = "";
assert str != null;
}
}
@@ -0,0 +1,9 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
class Test {
@NotNull
public String noNull( @Nullable String text) {
return text == null ? "" : text;
}
}
@@ -1,37 +1,37 @@
import org.jetbrains.annotations.*;
class Test {
void bar(@Nullable String str) {
if (str == null) {
foo(str);
}
}
String foo(String str) {
return str;
}
@Nullable
String foo1(@Nullable String str) {
if (str == null);
return (str);
}
@NotNull
String foo2(@Nullable String str) {
if (str == null);
return ((String)str);
}
@Nullable
String fram(@Nullable String str, boolean b) {
if (str != null) {
return b ? str : "not null strimg";
}
return "str was null";
}
import org.jetbrains.annotations.*;
class Test {
void bar(@Nullable String str) {
if (str == null) {
foo(str);
}
}
String foo(String str) {
return str;
}
@Nullable
String foo1(@Nullable String str) {
if (str == null);
return (str);
}
@NotNull
String foo2(@Nullable String str) {
if (str == null);
return ((String)str);
}
@NotNull
String fram(@Nullable String str, boolean b) {
if (str != null) {
return b ? str : "not null strimg";
}
return "str was null";
}
}
@@ -0,0 +1,11 @@
class Test {
public String noNull(String text) {
assert text != null;
return "";
}
private void foo() {
String str = "";
assert str != null;
}
}
@@ -0,0 +1,5 @@
class Test {
public String noNull( String text) {
return text == null ? "" : text;
}
}