apply changes from jdt pr to have them here too #707
codacy.yml
on: pull_request
Codacy Security Scan
4m 6s
Annotations
4 errors and 11 warnings
Java10CleanUpTest.testExplicitEncodingParametrized(ExplicitEncodingPatterns)[11] STRING:
sandbox_encoding_quickfix_test/src/org/sandbox/jdt/ui/tests/quickfix/Java10CleanUpTest.java#L819
expected: <package test1;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
public class E5 {
static void bla() throws FileNotFoundException, UnsupportedEncodingException {
byte[] b= {(byte)59};
String s1=new String(b,StandardCharsets.UTF_8);
String s2=new String(b,0,1,StandardCharsets.UTF_8);
}
}
> but was: <package test1;
import java.io.FileNotFoundException;
import java.nio.charset.StandardCharsets;
public class E5 {
static void bla() throws FileNotFoundException {
byte[] b= {(byte)59};
String s1=new String(b,StandardCharsets.UTF_8);
String s2=new String(b,0,1,StandardCharsets.UTF_8);
}
}
>
|
Java10CleanUpTest.testExplicitEncodingParametrized(ExplicitEncodingPatterns)[13] URLDECODER:
sandbox_encoding_quickfix_test/src/org/sandbox/jdt/ui/tests/quickfix/Java10CleanUpTest.java#L819
expected: <package test1;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
public class E2 {
static void bla() throws UnsupportedEncodingException {
String url=URLDecoder.decode("asdf",StandardCharsets.UTF_8);
}
}
> but was: <package test1;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
public class E2 {
static void bla() {
String url=URLDecoder.decode("asdf",StandardCharsets.UTF_8);
}
}
>
|
Java10CleanUpTest.testExplicitEncodingParametrized(ExplicitEncodingPatterns)[14] URLENCODER:
sandbox_encoding_quickfix_test/src/org/sandbox/jdt/ui/tests/quickfix/Java10CleanUpTest.java#L819
expected: <package test1;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
public class E2 {
static void bla() throws UnsupportedEncodingException {
String url=URLEncoder.encode("asdf",StandardCharsets.UTF_8);
}
}
> but was: <package test1;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
public class E2 {
static void bla() {
String url=URLEncoder.encode("asdf",StandardCharsets.UTF_8);
}
}
>
|
Java10CleanUpTest.testExplicitEncodingParametrized(ExplicitEncodingPatterns)[16] FORMATTER:
sandbox_encoding_quickfix_test/src/org/sandbox/jdt/ui/tests/quickfix/Java10CleanUpTest.java#L819
expected: <package test1;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.util.Formatter;
public class E4 {
static void bla() throws FileNotFoundException, UnsupportedEncodingException {
Formatter s=new Formatter(new File("asdf"),StandardCharsets.UTF_8);
}
}
> but was: <package test1;
import java.io.File;
import java.io.FileNotFoundException;
import java.nio.charset.StandardCharsets;
import java.util.Formatter;
public class E4 {
static void bla() throws FileNotFoundException {
Formatter s=new Formatter(new File("asdf"),StandardCharsets.UTF_8);
}
}
>
|
Codacy Security Scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Codacy Security Scan
Calculated fingerprint of bcf444387f639f23:1 for file .github/workflows/codeql.yml line 27, but found existing inconsistent fingerprint value d22195ed1ec0e46191df50a20f52ff5
|
Codacy Security Scan
Calculated fingerprint of 4261b7c02bcb4b38:1 for file .github/workflows/maven.yml line 1, but found existing inconsistent fingerprint value ff5e5f8a531c94a6e2fd0f61111a8ff7
|
Codacy Security Scan
Calculated fingerprint of e6e89a42c8142b3a:1 for file .github/workflows/maven.yml line 45, but found existing inconsistent fingerprint value 8f879acba9ebcf0907f8a8e859f68818
|
Codacy Security Scan
Calculated fingerprint of e808deebe68e952f:1 for file .github/workflows/maven.yml line 47, but found existing inconsistent fingerprint value e04f0a74f9a2c2be9fd48b98b5c7503d
|
Codacy Security Scan
Calculated fingerprint of a60b54b0ad2c6e8e:1 for file .github/workflows/maven-publish.yml line 14, but found existing inconsistent fingerprint value 33a875fdbc58a029f78d4fdd33b3aafd
|
Codacy Security Scan
Calculated fingerprint of 13e1d3fad092a0b7:1 for file .github/workflows/maven-publish.yml line 43, but found existing inconsistent fingerprint value 347def530978326f01b310e672ab9bc7
|
Codacy Security Scan
Calculated fingerprint of 98a5e2c162bc137d:1 for file sandbox_web/src/main/webapp/index.jsp line 1, but found existing inconsistent fingerprint value db2c16a22a372e70c7b96fa69c474c77
|
Codacy Security Scan
Calculated fingerprint of 96aa158b3acfbd71:1 for file .github/workflows/pmd.yml line 34, but found existing inconsistent fingerprint value 39fe246102ba56d42ffe2e152ddb30b4
|
Codacy Security Scan
Calculated fingerprint of 145e72acf03567:1 for file CODE_OF_CONDUCT.md line 119, but found existing inconsistent fingerprint value bf12d662c07c79c9ce55977ccc0012ff
|
Codacy Security Scan
Calculated fingerprint of bdcd54763f959ec9:1 for file CODE_OF_CONDUCT.md line 127, but found existing inconsistent fingerprint value abc324873de68d987f7289e0cc14645f
|