You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "S?bastien Tardif (JIRA)" <ax...@ws.apache.org> on 2004/11/12 23:54:23 UTC

[jira] Created: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
----------------------------------------------------------------------------------------------------------------------------------

         Key: AXIS-1667
         URL: http://nagoya.apache.org/jira/browse/AXIS-1667
     Project: Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2RC1    
 Environment: Nov 12, 2004
    Reporter: Sébastien Tardif


Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

An example:
public class Criteria  implements java.io.Serializable {
    /** Use for sorting and whether ascending or descending. */
    private com.docharbor.webservices.SortCriteria[] sortCriteria;
    /** Maximum number of returned rows from a search. If you specified
 * 0 we will retrieved no document you will have received information
 * about the retrieval type and the index fields. */
    private java.lang.Integer maxDocuments;
    /** Indicates whether to show only "display" indexes. */

The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1667?page=history ]

Venkat Reddy updated AXIS-1667:
-------------------------------

    Attachment: patch2.txt

Taken care of similar situations in other places in the same file.

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1667
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>  Attachments: Credential.java, docHarbor.wsdl, patch.txt, patch2.txt
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "S?bastien Tardif (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1667?page=history ]

Sébastien Tardif updated AXIS-1667:
-----------------------------------

    Attachment: Credential.java

The file generated that has the bad indentation.

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1667
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>  Attachments: Credential.java, docHarbor.wsdl
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "S?bastien Tardif (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1667?page=history ]

Sébastien Tardif updated AXIS-1667:
-----------------------------------

    Attachment: docHarbor.wsdl

The WSDL used to generate Java class using the latest version of CVS on Nov 12, 2004.

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1667
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>  Attachments: Credential.java, docHarbor.wsdl
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1667?page=comments#action_55509 ]
     
Davanum Srinivas commented on AXIS-1667:
----------------------------------------

Please submit a patch - http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/SubmitPatches

-- dims

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1667
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>  Attachments: Credential.java, docHarbor.wsdl
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1667?page=all ]
     
Venkat Reddy resolved AXIS-1667:
--------------------------------

    Resolution: Fixed

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://issues.apache.org/jira/browse/AXIS-1667
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>     Assignee: Davanum Srinivas
>  Attachments: Credential.java, docHarbor.wsdl, patch.txt, patch2.txt
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-1667?page=comments#action_12315585 ] 

Davanum Srinivas commented on AXIS-1667:
----------------------------------------

Venkat,

Could you please upload a new patch? or even check it in yourself? patch2 is outdated.

thanks,
dims

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://issues.apache.org/jira/browse/AXIS-1667
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>     Assignee: Davanum Srinivas
>  Attachments: Credential.java, docHarbor.wsdl, patch.txt, patch2.txt
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1667?page=all ]

Davanum Srinivas reassigned AXIS-1667:
--------------------------------------

    Assign To: Davanum Srinivas

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://issues.apache.org/jira/browse/AXIS-1667
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>     Assignee: Davanum Srinivas
>  Attachments: Credential.java, docHarbor.wsdl, patch.txt, patch2.txt
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1667?page=history ]

Venkat Reddy updated AXIS-1667:
-------------------------------

    Attachment: patch.txt

Submitting the fix.

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1667
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>  Attachments: Credential.java, docHarbor.wsdl, patch.txt
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1667) When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.

Posted by "S?bastien Tardif (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1667?page=comments#action_55977 ]
     
Sébastien Tardif commented on AXIS-1667:
----------------------------------------

Thanks for your fix. I try it and it's lot better with it.

I still have some case where I get this:

/**
 * API User (required) -- for now, must be "apiuser",
 * may change in the future. */

But some other places it does this:

/**
 * API User (required) -- for now, must be "apiuser",
 * may change in the future. 
 */

Not very important. I vote to have this patch applied to the core.

> When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1667
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1667
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC1
>  Environment: Nov 12, 2004
>     Reporter: Sébastien Tardif
>  Attachments: Credential.java, docHarbor.wsdl, patch.txt, patch2.txt
>
> Title: When WSDL2Java generate JavaDoc, the left indentation of wrapped line do not match the indentation of previous or subsequent line.
> An example:
> public class Criteria  implements java.io.Serializable {
>     /** Use for sorting and whether ascending or descending. */
>     private com.docharbor.webservices.SortCriteria[] sortCriteria;
>     /** Maximum number of returned rows from a search. If you specified
>  * 0 we will retrieved no document you will have received information
>  * about the retrieval type and the index fields. */
>     private java.lang.Integer maxDocuments;
>     /** Indicates whether to show only "display" indexes. */
> The indentation always use space not tab. So when it’s ok it uses 4 spaces and when it’s wrong it uses just 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira