Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8330686

Fix typos in the DatabaseMetaData javadoc

    XMLWordPrintable

Details

    • b21
    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      A few typos exists in documentation.

      diff --git a/src/java.sql/share/classes/java/sql/DatabaseMetaData.java b/src/java.sql/share/classes/java/sql/DatabaseMetaData.java
      index 6f63c2989b8..166f116269e 100644
      --- a/src/java.sql/share/classes/java/sql/DatabaseMetaData.java
      +++ b/src/java.sql/share/classes/java/sql/DatabaseMetaData.java
      @@ -1215,7 +1215,7 @@ boolean dataDefinitionIgnoredInTransactions()
            * Only procedure descriptions matching the schema and
            * procedure name criteria are returned. They are ordered by
            * {@code PROCEDURE_CAT}, {@code PROCEDURE_SCHEM},
      - * {@code PROCEDURE_NAME} and {@code SPECIFIC_ NAME}.
      + * {@code PROCEDURE_NAME} and {@code SPECIFIC_NAME}.
            *
            * <P>Each procedure description has the following columns:
            * <OL>
      @@ -3289,7 +3289,7 @@ ResultSet getClientInfoProperties()
            * function name criteria are returned. They are ordered by
            * {@code FUNCTION_CAT}, {@code FUNCTION_SCHEM},
            * {@code FUNCTION_NAME} and
      - * {@code SPECIFIC_ NAME}.
      + * {@code SPECIFIC_NAME}.
            *
            * <P>Each function description has the following columns:
            * <OL>
      @@ -3339,7 +3339,7 @@ ResultSet getFunctions(String catalog, String schemaPattern,
            * parameter name criteria are returned. They are ordered by
            * {@code FUNCTION_CAT}, {@code FUNCTION_SCHEM},
            * {@code FUNCTION_NAME} and
      - * {@code SPECIFIC_ NAME}. Within this, the return value,
      + * {@code SPECIFIC_NAME}. Within this, the return value,
            * if any, is first. Next are the parameter descriptions in call
            * order. The column descriptions follow in column number order.
            *
      @@ -3358,7 +3358,7 @@ ResultSet getFunctions(String catalog, String schemaPattern,
            * <LI> functionColumnIn - IN parameter
            * <LI> functionColumnInOut - INOUT parameter
            * <LI> functionColumnOut - OUT parameter
      - * <LI> functionColumnReturn - function return value
      + * <LI> functionReturn - function return value
            * <LI> functionColumnResult - Indicates that the parameter or column
            * is a column in the {@code ResultSet}
            * </UL>



      Attachments

        Issue Links

          Activity

            People

              lancea Lance Andersen
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: