| org.slf4j.migrator.AternativeApproach
AternativeApproach | public class AternativeApproach extends TestCase (Code) | | |
Method Summary | |
public void | test() | public void | test2() In this test we replace, using the simple Pattern (Log), the full Log
declaration and instanciation. | public void | test3() In this test we use a simple Pattern to replace the log instanciation
without influence on Log declaration. | public void | test4() | public void | test5() |
test | public void test()(Code) | | In this test we see that we cans use more simple Pattern to do the
conversion
|
test2 | public void test2()(Code) | | In this test we replace, using the simple Pattern (Log), the full Log
declaration and instanciation. This is not convenient because we will also
replace all String containing "Log".
|
test3 | public void test3()(Code) | | In this test we use a simple Pattern to replace the log instanciation
without influence on Log declaration.
|
test4 | public void test4()(Code) | | In this test we try to replace keyword Log without influence on String
containg Log We see that we have to use two differents Patterns
|
test5 | public void test5()(Code) | | In this test we combine two Pattern to achieve the intended conversion
|
|
|