You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2020/08/10 16:34:07 UTC
[commons-io] branch master updated: Quieten sonarlint
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new e71f7b7 Quieten sonarlint
e71f7b7 is described below
commit e71f7b77f891d6807fc54e973a86ed983d041ae8
Author: Sebb <se...@apache.org>
AuthorDate: Mon Aug 10 17:33:24 2020 +0100
Quieten sonarlint
---
src/main/java/org/apache/commons/io/FileUtils.java | 2 +-
src/main/java/org/apache/commons/io/IOUtils.java | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java
index 61b1541..0f0f5d0 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -3231,7 +3231,7 @@ public class FileUtils {
/**
* Instances should NOT be constructed in standard programming.
*/
- public FileUtils() {
+ public FileUtils() { //NOSONAR
super();
}
}
diff --git a/src/main/java/org/apache/commons/io/IOUtils.java b/src/main/java/org/apache/commons/io/IOUtils.java
index 275c255..118a414 100644
--- a/src/main/java/org/apache/commons/io/IOUtils.java
+++ b/src/main/java/org/apache/commons/io/IOUtils.java
@@ -3131,7 +3131,7 @@ public class IOUtils {
* @deprecated replaced by write(CharSequence, OutputStream)
*/
@Deprecated
- public static void write(final StringBuffer data, final OutputStream output)
+ public static void write(final StringBuffer data, final OutputStream output) //NOSONAR
throws IOException {
write(data, output, (String) null);
}
@@ -3156,7 +3156,7 @@ public class IOUtils {
* @deprecated replaced by write(CharSequence, OutputStream, String)
*/
@Deprecated
- public static void write(final StringBuffer data, final OutputStream output, final String charsetName)
+ public static void write(final StringBuffer data, final OutputStream output, final String charsetName) //NOSONAR
throws IOException {
if (data != null) {
output.write(data.toString().getBytes(Charsets.toCharset(charsetName)));
@@ -3174,7 +3174,7 @@ public class IOUtils {
* @deprecated replaced by write(CharSequence, Writer)
*/
@Deprecated
- public static void write(final StringBuffer data, final Writer output)
+ public static void write(final StringBuffer data, final Writer output) //NOSONAR
throws IOException {
if (data != null) {
output.write(data.toString());
@@ -3355,7 +3355,7 @@ public class IOUtils {
/**
* Instances should NOT be constructed in standard programming.
*/
- public IOUtils() {
+ public IOUtils() { //NOSONAR
super();
}