diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-01-14 02:35:05 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-01-14 02:35:05 +0100 |
commit | 79a801b01521ae6dd77517b2112c5ee3167f7e1b (patch) | |
tree | ea5b16b3dc95b0f542968e01164601c5a866b603 /sonar-plugin-api | |
parent | 9d109150c31c984b1adc07561763ae88f635b54d (diff) | |
download | sonarqube-79a801b01521ae6dd77517b2112c5ee3167f7e1b.tar.gz sonarqube-79a801b01521ae6dd77517b2112c5ee3167f7e1b.zip |
SONAR-3024 Improve toString
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/resources/Directory.java | 1 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Directory.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Directory.java index 1bb04d84886..b49dad1b640 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Directory.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Directory.java @@ -120,6 +120,7 @@ public class Directory extends Resource { public String toString() { return new ToStringBuilder(this) .append("key", getKey()) + .append("deprecatedKey", getDeprecatedKey()) .append("path", getPath()) .append("language", language) .toString(); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java index 75adc4cb1b3..1972b72db8b 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/File.java @@ -256,6 +256,7 @@ public class File extends Resource { public String toString() { return new ToStringBuilder(this) .append("key", getKey()) + .append("deprecatedKey", getDeprecatedKey()) .append("path", getPath()) .append("dir", directoryDeprecatedKey) .append("filename", filename) |