Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
-fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Michail Plushnikov committed Mar 9, 2014
1 parent 68f39ec commit ad8cb07
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
1 change: 0 additions & 1 deletion lombok-api/lombok-api.iml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<excludeFolder url="file://$MODULE_DIR$/target/maven-archiver" />
<excludeFolder url="file://$MODULE_DIR$/target/maven-status" />
<excludeFolder url="file://$MODULE_DIR$/target/surefire" />
<excludeFolder url="file://$MODULE_DIR$/target/test-classes" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
Expand Down
12 changes: 12 additions & 0 deletions lombok-plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,18 @@
<!--<li>TODO: Add delombok action for @Cleanup, @Synchronized and other annotations</li>-->
<change-notes><![CDATA[
<ul>
<li>0.8.2
<ol>
<li>Added support for "topic" annotation value of all @Log annotations (Lombok >= 1.12.6)</li>
<li>Added validation of static fields/methods of @Delegate annotation (@Delegate is legal only on instance fields or no-argument instance methods)</li>
<li>Fixed #19: Slf4j in static context</li>
<li>Fixed #29: Renaming a class with the @Log* annotation adds extra qualification to calls</li>
<li>Fixed #31: Prevent errors with invalid identifiers for builderClassName in @Builder annotation</li>
<li>Fixed #32: Refactor -> Extract -> Parameter Object || Change Signature broken</li>
<li>Fixed (on GoogleCode) #83: @Slf4j does not work when added for first time</li>
<li>Fixed (on GoogleCode) #100: Refactor Change Signature || Extract - Parameter Object</li>
</ol>
</li>
<li>0.8.1
<ol>
<li>Issue (on Git) #23: Fixed @Delegate inspection reports error</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ public abstract class LombokLightCodeInsightTestCase extends LightCodeInsightFix
private static final String LOMBOK_SRC_PATH = "./lombok-api/target/generated-sources/lombok";
private static final String LOMBOKPG_SRC_PATH = "./lombok-api/target/generated-sources/lombok-pg";

// @Override
// protected String getTestDataPath() {
// return ".";
// }

@Override
protected String getBasePath() {
return "lombok-plugin/src/test/data";
Expand Down Expand Up @@ -77,7 +72,7 @@ protected void checkResultByFile(String expectedFile) throws IOException {
String actualFileText = myFixture.getFile().getText();
actualFileText = actualFileText.replace("java.lang.", "");

final String path = getTestDataPath() + "/" + expectedFile;
final String path = "." + "/" + expectedFile;
String expectedFileText = StringUtil.convertLineSeparators(FileUtil.loadFile(new File(path)));

assertEquals(expectedFileText.replaceAll("\\s+", ""), actualFileText.replaceAll("\\s+", ""));
Expand Down

0 comments on commit ad8cb07

Please sign in to comment.