Browse Source

Fix Javadoc errors

pull/32405/head
Sam Brannen 2 years ago
parent
commit
ae6c64abc5
  1. 6
      spring-beans/src/main/java/org/springframework/beans/factory/config/PlaceholderConfigurerSupport.java
  2. 2
      spring-core/src/main/java/org/springframework/util/SystemPropertyUtils.java
  3. 4
      spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractPdfView.java

6
spring-beans/src/main/java/org/springframework/beans/factory/config/PlaceholderConfigurerSupport.java

@ -100,7 +100,7 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
/** Default value separator: {@value}. */ /** Default value separator: {@value}. */
public static final String DEFAULT_VALUE_SEPARATOR = ":"; public static final String DEFAULT_VALUE_SEPARATOR = ":";
/** Default escape character: {@value}. */ /** Default escape character: {@code '\'}. */
public static final Character DEFAULT_ESCAPE_CHARACTER = '\\'; public static final Character DEFAULT_ESCAPE_CHARACTER = '\\';
/** Defaults to {@value #DEFAULT_PLACEHOLDER_PREFIX}. */ /** Defaults to {@value #DEFAULT_PLACEHOLDER_PREFIX}. */
@ -113,7 +113,7 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
@Nullable @Nullable
protected String valueSeparator = DEFAULT_VALUE_SEPARATOR; protected String valueSeparator = DEFAULT_VALUE_SEPARATOR;
/** Defaults to {@value #DEFAULT_ESCAPE_CHARACTER}. */ /** Defaults to {@link #DEFAULT_ESCAPE_CHARACTER}. */
@Nullable @Nullable
protected Character escapeCharacter = DEFAULT_ESCAPE_CHARACTER; protected Character escapeCharacter = DEFAULT_ESCAPE_CHARACTER;
@ -161,7 +161,7 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
* Specify the escape character to use to ignore placeholder prefix * Specify the escape character to use to ignore placeholder prefix
* or value separator, or {@code null} if no escaping should take * or value separator, or {@code null} if no escaping should take
* place. * place.
* <p>Default is {@value #DEFAULT_ESCAPE_CHARACTER}. * <p>Default is {@link #DEFAULT_ESCAPE_CHARACTER}.
* @since 6.2 * @since 6.2
*/ */
public void setEscapeCharacter(@Nullable Character escsEscapeCharacter) { public void setEscapeCharacter(@Nullable Character escsEscapeCharacter) {

2
spring-core/src/main/java/org/springframework/util/SystemPropertyUtils.java

@ -44,7 +44,7 @@ public abstract class SystemPropertyUtils {
/** Value separator for system property placeholders: {@value}. */ /** Value separator for system property placeholders: {@value}. */
public static final String VALUE_SEPARATOR = ":"; public static final String VALUE_SEPARATOR = ":";
/** Default escape character: {@value}. */ /** Default escape character: {@code '\'}. */
public static final Character ESCAPE_CHARACTER = '\\'; public static final Character ESCAPE_CHARACTER = '\\';

4
spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractPdfView.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2018 the original author or authors. * Copyright 2002-2024 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -138,7 +138,7 @@ public abstract class AbstractPdfView extends AbstractView {
* The subclass can either have fixed preferences or retrieve * The subclass can either have fixed preferences or retrieve
* them from bean properties defined on the View. * them from bean properties defined on the View.
* @return an int containing the bits information against PdfWriter definitions * @return an int containing the bits information against PdfWriter definitions
* @see com.lowagie.text.pdf.PdfWriter#AllowPrinting * @see com.lowagie.text.pdf.PdfWriter#ALLOW_PRINTING
* @see com.lowagie.text.pdf.PdfWriter#PageLayoutSinglePage * @see com.lowagie.text.pdf.PdfWriter#PageLayoutSinglePage
*/ */
protected int getViewerPreferences() { protected int getViewerPreferences() {

Loading…
Cancel
Save