Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

minor javadoc tweaks to reduce warnings

Chris M. Hostetter2fbda0c19725
diff --git a/build.xml b/build.xml
index c48e01ba100..50198a51c05 100644
--- a/build.xml
+++ b/build.xml
@@ -23,6 +23,8 @@
<!-- Example directory -->
<property name="example" value="example" />
+ <!-- Javadoc properties -->
+ <property name="year" value="2006" />
<property name="build.docs" value="${dest}/docs"/>
<property name="javadoc.link.java"
value="http://java.sun.com/j2se/1.5.0/docs/api/"/>
@@ -33,6 +35,7 @@
<property name="javadoc.packages" value="org.apache.solr.*"/>
<property name="build.javadoc" value="${build.docs}/api"/>
+ <!-- JUnit properties -->
<property name="junit.output.dir" location="${dest}/test-results"/>
<property name="junit.reports" location="${dest}/test-results/reports"/>
<property name="junit.includes" value="**/Test*.java,**/*Test.java"/>
@@ -77,7 +80,8 @@
<javac destdir="${dest}"
target="1.5"
source="1.5"
- debug="on"
+ debug="on"
+ encoding="utf8"
classpathref="compile.classpath">
<src path="${src}/java" />
<src path="${src}/webapp/src" />
@@ -93,6 +97,7 @@
author="true"
version="true"
use="true"
+ encoding="utf8"
windowtitle="${Name} ${version} API"
doctitle="${Name} ${version} API"
bottom="Copyright &amp;copy; ${year} The Apache Software Foundation"
@@ -134,6 +139,7 @@
target="1.5"
source="1.5"
debug="on"
+ encoding="utf8"
classpathref="test.compile.classpath">
<src path="${src}/test" />
<src path="${src}/apps/SolrTest/src" />
diff --git a/src/java/org/apache/solr/analysis/HTMLStripReader.java b/src/java/org/apache/solr/analysis/HTMLStripReader.java
index 95981315a80..8bcc255c9ef 100644
--- a/src/java/org/apache/solr/analysis/HTMLStripReader.java
+++ b/src/java/org/apache/solr/analysis/HTMLStripReader.java
@@ -764,14 +764,14 @@ This version of HTML supports several sets of character entity references:
The following sections present the complete lists of character entity references. Although, by convention, [ISO10646] the comments following each entry are usually written with uppercase letters, we have converted them to lowercase in this specification for reasons of readability.
24.2 Character entity references for ISO 8859-1 characters
-The character entity references in this section produce characters whose numeric equivalents should already be supported by conforming HTML 2.0 user agents. Thus, the character entity reference &divide; is a more convenient form than &#247; for obtaining the division sign (�).
+The character entity references in this section produce characters whose numeric equivalents should already be supported by conforming HTML 2.0 user agents. Thus, the character entity reference &divide; is a more convenient form than &#247; for obtaining the division sign.
To support these named entities, user agents need only recognize the entity names and convert them to characters that lie within the repertoire of [ISO88591].
Character 65533 (FFFD hexadecimal) is the last valid character in UCS-2. 65534 (FFFE hexadecimal) is unassigned and reserved as the byte-swapped version of ZERO WIDTH NON-BREAKING SPACE for byte-order detection purposes. 65535 (FFFF hexadecimal) is unassigned.
24.2.1 The list of characters
-<!-- Portions � International Organization for Standardization 1986
+<!-- Portions (c) International Organization for Standardization 1986
Permission to copy in any form is granted for use with
conforming SGML systems and applications as defined in
ISO 8879, provided this notice is included in all copies.
@@ -982,7 +982,7 @@ When to use Greek entities. This entity set contains all the letters used in mod
"-//W3C//ENTITIES Symbols//EN//HTML">
%HTMLsymbol; -->
-<!-- Portions � International Organization for Standardization 1986:
+<!-- Portions (c) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with
conforming SGML systems and applications as defined in
ISO 8879, provided this notice is included in all copies.
@@ -1233,7 +1233,7 @@ To support these entities, user agents may support full [ISO10646] or use other
"-//W3C//ENTITIES Special//EN//HTML">
%HTMLspecial; -->
-<!-- Portions � International Organization for Standardization 1986:
+<!-- Portions (c) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with
conforming SGML systems and applications as defined in
ISO 8879, provided this notice is included in all copies.