a more generic way to disprefer *Ex, *Impl classes and String.subSequence method

This commit is contained in:
peter.gromov
2010-11-17 21:14:27 +03:00
parent ebff15c9eb
commit 1dc9d6426e
10 changed files with 45 additions and 64 deletions

View File

@@ -7,5 +7,6 @@ public class Aaaaaaa {
}
class XxxEx {}
class XxxImpl {}
class Xxy {}

View File

@@ -2,10 +2,9 @@ public class Aaaaaaa {
private final String aaa;
Aaaaaaa(Object aabbb) {
new Xx<caret>
Xxx x = new Xx<caret>
}
}
class XxxImpl {}
class Xxy {}
class XxxImpl implements Xxx {}

View File

@@ -0,0 +1,12 @@
public class Aaaaaaa {
private final String aaa;
Aaaaaaa(Object aabbb) {
if (aabbb instanceof XY<caret>)
}
}
class XaYaEx {}
class XaYaImpl {}
class XyYaXa {}

View File

@@ -2,7 +2,7 @@ class A{
{
String str;
str.subSequence(<caret>);
str.substring(<caret>);
jhasgfjhsdgf();
}
}