Skip to content

Commit

Permalink
Merge pull request #2 from sanddusttx/298
Browse files Browse the repository at this point in the history
Sonarqube updates
  • Loading branch information
gorky authored Jul 4, 2022
2 parents cf61d54 + 984eb9b commit 23d03c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public class Five extends One {
private int two;
private boolean three;
private char four;
private StringBuffer five;
private CharSequence five;

public Five(String one, int two, boolean three, char four, StringBuffer five) {
public Five(String one, int two, boolean three, char four, CharSequence five) {
super(one);
this.two = two;
this.three = three;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public class SerializableFive extends SerializableOne {
private int two;
private boolean three;
private char four;
private StringBuffer five;
private CharSequence five;

public SerializableFive(String one, int two, boolean three, char four, StringBuffer five) {
public SerializableFive(String one, int two, boolean three, char four, CharSequence five) {
super(one);
this.two = two;
this.three = three;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009, 2011, 2015 XStream Committers.
* Copyright (C) 2009, 2011, 2015, 2022 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
Expand Down Expand Up @@ -41,7 +41,7 @@ public JavaBeanTarget() {
five.setTwo(2);
five.setThree(true);
five.setFour('4');
five.setFive(new StringBuffer("5"));
five.setFive(new StringBuilder("5"));
list.add(five);
}

Expand Down

0 comments on commit 23d03c0

Please sign in to comment.