Skip to content

Commit ef093e0

Browse files
[MIN] Dictionary, cleanups
1 parent 0f8652c commit ef093e0

11 files changed

Lines changed: 25 additions & 18 deletions

File tree

basex-api/src/main/java/org/basex/api/xmldb/BXCollection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ private void check() throws XMLDBException {
288288
* Returns the specified resource as a project specific XML resource.
289289
* If that's not possible, throws an exception
290290
* @param resource input resource
291-
* @return xml resource
291+
* @return XML resource
292292
* @throws XMLDBException exception
293293
*/
294294
private static BXXMLResource checkXML(final Resource resource) throws XMLDBException {

basex-api/src/test/java/org/basex/api/xmldb/CollectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Object run() throws XMLDBException {
196196
Util.debug(ex);
197197
}
198198

199-
// test xml resource and ID creation
199+
// test XML resource and ID creation
200200
Resource resource = collection.createResource(null, XMLResource.RESOURCE_TYPE);
201201
assertInstanceOf(XMLResource.class, resource, "XMLResource expected.");
202202
assertNotNull(resource.getId(), "No ID was created.");

basex-core/.settings/dictionary.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,3 +378,10 @@ cyan
378378
variadic
379379
compactified
380380
tarjan
381+
gunther
382+
rademacher
383+
regex
384+
enums
385+
subtypes
386+
grün
387+
dba

basex-core/src/main/java/org/basex/api/client/Session.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ public final String execute(final String command) throws IOException {
6161
/**
6262
* Creates a database.
6363
* @param name name of database
64-
* @param input xml input
64+
* @param input XML input
6565
* @throws IOException I/O exception
6666
*/
6767
public abstract void create(String name, InputStream input) throws IOException;
6868

6969
/**
7070
* Adds a document to the opened database.
7171
* @param path target path
72-
* @param input xml input
72+
* @param input XML input
7373
* @throws IOException I/O exception
7474
*/
7575
public abstract void add(String path, InputStream input) throws IOException;

basex-core/src/main/java/org/basex/build/html/HtmlParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class HtmlParser extends XMLParser {
3838
* Constructor.
3939
* @param source document source
4040
* @param options main options
41-
* @param hopts html options
41+
* @param hopts HTML options
4242
* @throws IOException I/O exception
4343
*/
4444
public HtmlParser(final IO source, final MainOptions options, final HtmlOptions hopts)
@@ -51,7 +51,7 @@ public HtmlParser(final IO source, final MainOptions options, final HtmlOptions
5151
* @param source document source
5252
* @param parser parser to be used (can be {@code null})
5353
* @param options main options
54-
* @param hopts html options
54+
* @param hopts HTML options
5555
* @throws IOException I/O exception
5656
*/
5757
public HtmlParser(final IO source, final Parser parser, final MainOptions options,
@@ -63,7 +63,7 @@ public HtmlParser(final IO source, final Parser parser, final MainOptions option
6363
* Converts an HTML document to XML.
6464
* @param io io reference
6565
* @param parser parser to be used (can be {@code null})
66-
* @param hopts html options
66+
* @param hopts HTML options
6767
* @return parser
6868
* @throws IOException I/O exception
6969
*/

basex-core/src/main/java/org/basex/core/parse/XMLParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ private String password(final Item root) throws QueryException {
208208
/**
209209
* Returns the serialized XML value.
210210
* @param context context node
211-
* @return xml value
211+
* @return XML string
212212
* @throws IOException I/O exception
213213
* @throws QueryException query exception
214214
*/

basex-core/src/main/java/org/basex/io/IO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public abstract class IO {
6161
public static final String IGNORESUFFIX = ".ignore";
6262
/** File prefix. */
6363
public static final String FILEPREF = "file:/";
64-
/** Jar prefix. */
64+
/** JAR prefix. */
6565
public static final String JARPREF = "jar:";
6666

6767
/** XQuery suffixes. */

basex-core/src/main/java/org/basex/io/serial/AdaptiveSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected AdaptiveSerializer(final OutputStream os, final SerializerOptions sopt
4343
* Constructor, specifying serialization options.
4444
* @param os output stream
4545
* @param sopts serialization parameters
46-
* @param omit omit xml declaration
46+
* @param omit omit XML declaration
4747
* @throws IOException I/O exception
4848
*/
4949
protected AdaptiveSerializer(final OutputStream os, final SerializerOptions sopts,

basex-core/src/main/java/org/basex/io/serial/MarkupSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ protected void indent() throws IOException {
368368
/**
369369
* Prints the content type declaration.
370370
* @param empty empty flag
371-
* @param html method
371+
* @param html HTML/XHTML flag
372372
* @return {@code true} if declaration was printed
373373
* @throws IOException I/O exception
374374
*/

basex-core/src/test/java/org/basex/build/CreateTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public final class CreateTest extends SandboxTest {
3030
/** First document in test folder. */
3131
private static final String FOLDERFILE;
3232

33-
// finds the first document in the xml folder
33+
// finds the first document in the XML folder
3434
static {
3535
String file = "";
3636
for(final IOFile c : new IOFile(FOLDER).children()) {

0 commit comments

Comments
 (0)