From ae6c64abc51e3402fff1e5f359cf52e9b11418f6 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Fri, 8 Mar 2024 11:59:19 +0100 Subject: [PATCH] Fix Javadoc errors --- .../beans/factory/config/PlaceholderConfigurerSupport.java | 6 +++--- .../java/org/springframework/util/SystemPropertyUtils.java | 2 +- .../web/servlet/view/document/AbstractPdfView.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/config/PlaceholderConfigurerSupport.java b/spring-beans/src/main/java/org/springframework/beans/factory/config/PlaceholderConfigurerSupport.java index e357ec061c..56bb942869 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/config/PlaceholderConfigurerSupport.java +++ b/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}. */ public static final String DEFAULT_VALUE_SEPARATOR = ":"; - /** Default escape character: {@value}. */ + /** Default escape character: {@code '\'}. */ public static final Character DEFAULT_ESCAPE_CHARACTER = '\\'; /** Defaults to {@value #DEFAULT_PLACEHOLDER_PREFIX}. */ @@ -113,7 +113,7 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi @Nullable protected String valueSeparator = DEFAULT_VALUE_SEPARATOR; - /** Defaults to {@value #DEFAULT_ESCAPE_CHARACTER}. */ + /** Defaults to {@link #DEFAULT_ESCAPE_CHARACTER}. */ @Nullable 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 * or value separator, or {@code null} if no escaping should take * place. - *
Default is {@value #DEFAULT_ESCAPE_CHARACTER}. + *
Default is {@link #DEFAULT_ESCAPE_CHARACTER}. * @since 6.2 */ public void setEscapeCharacter(@Nullable Character escsEscapeCharacter) { diff --git a/spring-core/src/main/java/org/springframework/util/SystemPropertyUtils.java b/spring-core/src/main/java/org/springframework/util/SystemPropertyUtils.java index 44d7712f39..76db1b0904 100644 --- a/spring-core/src/main/java/org/springframework/util/SystemPropertyUtils.java +++ b/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}. */ public static final String VALUE_SEPARATOR = ":"; - /** Default escape character: {@value}. */ + /** Default escape character: {@code '\'}. */ public static final Character ESCAPE_CHARACTER = '\\'; diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractPdfView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractPdfView.java index 8cac515a6e..019488099c 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractPdfView.java +++ b/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"); * 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 * them from bean properties defined on the View. * @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 */ protected int getViewerPreferences() {