Skip to content

Commit

Permalink
Change variable type to char #657
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jan 30, 2025
1 parent 6d6b026 commit fad521f
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public final class RdfMacroPipe extends DefaultStreamPipe<StreamReceiver> {
public static final String RDF_ABOUT = "~rdf:about";
public static final String XML_LANG = "~xml:lang";
private String autoAddedSubject = "";
private String refrenceMarker = REFERENCE_MARKER;
private String languageMarker = LANGUAGE_MARKER;
private char refrenceMarker = REFERENCE_MARKER;
private char languageMarker = LANGUAGE_MARKER;

/**
* Creates an instance of {@link RdfMacroPipe}.
Expand All @@ -60,11 +60,11 @@ public void setAutoAddedSubject(final String autoAddedSubject) {
}

/**
* Sets the refrence marker.
* Sets the single char refrence marker.
*
* @param refrenceMarker the refrence marker
*/
public void setRefrenceMarker(final String refrenceMarker) {
public void setRefrenceMarker(final char refrenceMarker) {
this.refrenceMarker = refrenceMarker;
}

Expand All @@ -73,16 +73,16 @@ public void setRefrenceMarker(final String refrenceMarker) {
*
* @return the refrence marker
*/
public String getRefrenceMarker() {
public char getRefrenceMarker() {
return refrenceMarker;
}

/**
* Sets the language marker.
* Sets the single char language marker.
*
* @param languageMarker the language marker
*/
public void setLanguageMarker(final String languageMarker) {
public void setLanguageMarker(final char languageMarker) {
this.languageMarker = languageMarker;
}

Expand All @@ -91,7 +91,7 @@ public void setLanguageMarker(final String languageMarker) {
*
* @return the language marker
*/
public String getLanguageMarker() {
public char getLanguageMarker() {
return languageMarker;
}

Expand Down

0 comments on commit fad521f

Please sign in to comment.