Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tao chen
asm
Commits
d43e664d
Commit
d43e664d
authored
Jan 16, 2022
by
Eric Bruneton
Browse files
Use a more specific SuppressWarnings for PMD.
parent
1b00e73b
Changes
1
Hide whitespace changes
Inline
Side-by-side
asm/src/main/java/org/objectweb/asm/ClassReader.java
View file @
d43e664d
...
...
@@ -308,7 +308,7 @@ public class ClassReader {
* @return the content of the given input stream.
* @throws IOException if a problem occurs during reading.
*/
@SuppressWarnings
(
"PMD"
)
@SuppressWarnings
(
"PMD
.UseTryWithResources
"
)
private
static
byte
[]
readStream
(
final
InputStream
inputStream
,
final
boolean
close
)
throws
IOException
{
if
(
inputStream
==
null
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment