diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-02-10 00:17:18 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-02-10 00:17:18 +0100 |
commit | 12c2ca81edccfdb8356f21ff231816b0338179ee (patch) | |
tree | 4f71e17bb88872a73788baabdbaddaf54844df73 /sonar-plugin-api | |
parent | bc4727a1de0102aad02876b6ab50128499623c16 (diff) | |
download | sonarqube-12c2ca81edccfdb8356f21ff231816b0338179ee.tar.gz sonarqube-12c2ca81edccfdb8356f21ff231816b0338179ee.zip |
Improve code: fix some violations
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/utils/TempFileUtils.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/TempFileUtils.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/TempFileUtils.java index fc2a2401191..e30a69a9594 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/TempFileUtils.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/TempFileUtils.java @@ -34,7 +34,9 @@ public final class TempFileUtils { * <ol> * <li>deleteOnExit() only deletes for normal JVM shutdowns, not crashes or killing the JVM process</li> * <li>deleteOnExit() only deletes on JVM shutdown - not good for long running server processes because 3 :</li> - * <li>The most evil of all - deleteOnExit() consumes memory for each temp file entry. If your process is running for months, or creates a lot of temp files in a short time, you consume memory and never release it until the JVM shuts down.</li> + * <li>The most evil of all - deleteOnExit() consumes memory for each temp file entry. If your process is running for months, + * or creates a lot of temp files in a short time, you consume memory and never release it until the JVM + * shuts down.</li> * </ol> */ public static File createTempDirectory() throws IOException { |