Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
335f51e9
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
3
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
335f51e9
编写于
7月 08, 2013
作者:
D
darcy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8020095: Fix doclint warnings in java.util.regex
Reviewed-by: mchung
上级
4d81c909
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
102 addition
and
109 deletion
+102
-109
src/share/classes/java/util/regex/MatchResult.java
src/share/classes/java/util/regex/MatchResult.java
+2
-2
src/share/classes/java/util/regex/Matcher.java
src/share/classes/java/util/regex/Matcher.java
+8
-7
src/share/classes/java/util/regex/Pattern.java
src/share/classes/java/util/regex/Pattern.java
+92
-100
未找到文件。
src/share/classes/java/util/regex/MatchResult.java
浏览文件 @
335f51e9
/*
* Copyright (c) 2003, 20
04
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 20
13
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -77,7 +77,7 @@ public interface MatchResult {
public
int
start
(
int
group
);
/**
* Returns the offset after the last character matched.
</p>
* Returns the offset after the last character matched.
*
* @return The offset after the last character matched
*
...
...
src/share/classes/java/util/regex/Matcher.java
浏览文件 @
335f51e9
/*
* Copyright (c) 1999, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -28,8 +28,8 @@ package java.util.regex;
import
java.util.Objects
;
/**
* An engine that performs match operations on a {@link java.lang.CharSequence
*
</code>character sequence<code>
} by interpreting a {@link Pattern}.
* An engine that performs match operations on a {@link
plain
java.lang.CharSequence
*
character sequence
} by interpreting a {@link Pattern}.
*
* <p> A matcher is created from a pattern by invoking the pattern's {@link
* Pattern#matcher matcher} method. Once created, a matcher can be used to
...
...
@@ -330,7 +330,7 @@ public final class Matcher implements MatchResult {
}
/**
* Returns the start index of the previous match.
</p>
* Returns the start index of the previous match.
*
* @return The index of the first character matched
*
...
...
@@ -402,7 +402,7 @@ public final class Matcher implements MatchResult {
}
/**
* Returns the offset after the last character matched.
</p>
* Returns the offset after the last character matched.
*
* @return The offset after the last character matched
*
...
...
@@ -647,6 +647,7 @@ public final class Matcher implements MatchResult {
* invocations of the {@link #find()} method will start at the first
* character not matched by this match. </p>
*
* @param start the index to start searching for a match
* @throws IndexOutOfBoundsException
* If start is less than zero or if start is greater than the
* length of the input sequence.
...
...
@@ -736,8 +737,8 @@ public final class Matcher implements MatchResult {
* captured during the previous match: Each occurrence of
* <tt>${</tt><i>name</i><tt>}</tt> or <tt>$</tt><i>g</i>
* will be replaced by the result of evaluating the corresponding
* {@link #group(String) group(name)} or {@link #group(int) group(g)
</tt>
}
* respectively. For <tt>$</tt><i>g</i>
<tt></tt>
,
* {@link #group(String) group(name)} or {@link #group(int) group(g)}
* respectively. For <tt>$</tt><i>g</i>,
* the first number after the <tt>$</tt> is always treated as part of
* the group reference. Subsequent numbers are incorporated into g if
* they would form a legal group reference. Only the numerals '0'
...
...
src/share/classes/java/util/regex/Pattern.java
浏览文件 @
335f51e9
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录