Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarqube updates #2

Merged
merged 1 commit into from
Jul 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2008, 2009, 2011, 2015 XStream Committers.
* Copyright (C) 2008, 2009, 2011, 2015, 2022 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
Expand All @@ -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
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2008, 2009, 2011, 2015 XStream Committers.
* Copyright (C) 2008, 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 @@ -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