Skip to content

Commit 4b106fb

Browse files
resolve javadoc error. (#344)
* resolve javadoc error. * add maven-war-plugin
1 parent 9b61ef6 commit 4b106fb

File tree

9 files changed

+27
-13
lines changed

9 files changed

+27
-13
lines changed

nacos-spring-context-aot/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
<dependency>
3131
<groupId>com.alibaba.nacos</groupId>
3232
<artifactId>nacos-spring-context</artifactId>
33-
<version>${revision}</version>
3433
<optional>true</optional>
3534
</dependency>
3635
</dependencies>

nacos-spring-context/src/main/java/com/alibaba/nacos/spring/context/annotation/config/SpringValueAnnotationBeanPostProcessor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
/**
5353
* @author wuhaoqiang
5454
* @since 1.1.2
55-
* @desc: spring @Value Processor
5655
**/
5756
public class SpringValueAnnotationBeanPostProcessor
5857
extends AbstractAnnotationBeanPostProcessor implements BeanFactoryAware,

nacos-spring-context/src/main/java/com/alibaba/nacos/spring/context/event/config/EventPublishingConfigService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public Properties getProperties() {
174174

175175
/**
176176
* Destroy lifecycle method to invoke {@link #shutDown()}
177-
* @throws Exception
177+
* @throws Exception throw exception
178178
* @since 1.0.0
179179
*/
180180
@Override

nacos-spring-context/src/main/java/com/alibaba/nacos/spring/enums/FileTypeEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public String getFileType() {
8787
* Get the corresponding FileTypeEnum by file extension or fileType. If not found FileTypeEnum.TEXT is returned
8888
*
8989
* @param extOrFileType file extension or fileType
90-
* @return
90+
* @return return {@link FileTypeEnum}
9191
*/
9292
public static FileTypeEnum getFileTypeEnumByFileExtensionOrFileType(String extOrFileType) {
9393
if (StringUtils.isNotBlank(extOrFileType)) {

nacos-spring-context/src/main/java/com/alibaba/nacos/spring/util/NacosUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ public static Map<String, Object> toProperties(String dataId, String group,
532532
* @param group config group
533533
* @param text config context
534534
* @param type config type
535+
* @return map format of result
535536
*/
536537
public static Map<String, Object> toProperties(String dataId, String group,
537538
String text, String type) {

nacos-spring-context/src/main/java/com/alibaba/nacos/spring/util/PlaceholderHelper.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ public class PlaceholderHelper {
2020

2121
/**
2222
* find keys from placeholder
23-
* ${key} -> "key"
24-
* xxx${key}yyy -> "key"
25-
* ${key:${key2:1}} -> "key", "key2"
26-
* ${${key}} -> "key"
27-
* ${${key:100}} -> "key"
28-
* ${${key}:${key2}} -> "key", "key2"
23+
* ${key} - "key"
24+
* xxx${key}yyy - "key"
25+
* ${key:${key2:1}} - "key", "key2"
26+
* ${${key}} - "key"
27+
* ${${key:100}} - "key"
28+
* ${${key}:${key2}} - "key", "key2"
2929
* @param propertyString ${key}
3030
* @return key
3131
*/

nacos-spring-context/src/main/java/com/alibaba/nacos/spring/util/aot/NativeDetector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public abstract class NativeDetector {
2525
private static final boolean imageCode = (System.getProperty("org.graalvm.nativeimage.imagecode") != null);
2626

2727
/**
28-
* Returns {@code true} if invoked in the context of image building or during image runtime, else {@code false}.
28+
* @return Returns {@code true} if invoked in the context of image building or during image runtime, else {@code false}.
2929
*/
3030
public static boolean inNativeImage() {
3131
return imageCode;

nacos-spring-samples/nacos-spring-webmvc-sample/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@
3939
<dependency>
4040
<groupId>${project.groupId}</groupId>
4141
<artifactId>nacos-spring-context</artifactId>
42-
<version>${project.version}</version>
4342
</dependency>
4443
<dependency>
4544
<groupId>${project.groupId}</groupId>
4645
<artifactId>nacos-embedded-webserver</artifactId>
47-
<version>${project.version}</version>
4846
</dependency>
4947
</dependencies>
5048

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,18 @@
204204
<artifactId>guava</artifactId>
205205
<version>${guava.version}</version>
206206
</dependency>
207+
208+
<dependency>
209+
<groupId>${project.groupId}</groupId>
210+
<artifactId>nacos-spring-context</artifactId>
211+
<version>${revision}</version>
212+
</dependency>
213+
<dependency>
214+
<groupId>${project.groupId}</groupId>
215+
<artifactId>nacos-embedded-webserver</artifactId>
216+
<version>${revision}</version>
217+
</dependency>
218+
207219
</dependencies>
208220
</dependencyManagement>
209221

@@ -386,6 +398,11 @@
386398
</execution>
387399
</executions>
388400
</plugin>
401+
<plugin>
402+
<groupId>org.apache.maven.plugins</groupId>
403+
<artifactId>maven-war-plugin</artifactId>
404+
<version>3.4.0</version>
405+
</plugin>
389406
</plugins>
390407
</build>
391408

0 commit comments

Comments
 (0)