You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Robert Liguori (JIRA)" <ji...@apache.org> on 2011/07/26 03:11:09 UTC

[jira] [Created] (CXF-3686) Adjust sample project method calls that should be accessed in a static manner.

Adjust sample project method calls that should be accessed in a static manner.
------------------------------------------------------------------------------

                 Key: CXF-3686
                 URL: https://issues.apache.org/jira/browse/CXF-3686
             Project: CXF
          Issue Type: Improvement
          Components: Samples
    Affects Versions: 2.4.1
            Reporter: Robert Liguori
            Priority: Trivial


The repeated sample projects usage of this statement:

--> bf.setDefaultBus(bus);

causes the following warnings to be raised:

"The static method setDefaultBus(Bus) from the type BusFactory should be accessed in a static way."

Note that the sample projects ws_rm and jax_rs_basic_https do access the method is a static way:

-->  BusFactory.setDefaultBus(bus);

The adjustment from "bf.setDefaultBus(bus);" to "BusFactory.setDefaultBus(bus);" should be made for the following sample projects: ws_policy, wsdl_first_https and wssec_sign_enc.

I'm working on the diffs for these now and will attach them to this JIRA issue later tonight.

Note that this activity is part of the effort to resolve warnings as identified by IDEs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3686) Adjust sample project method calls that should be accessed in a static manner.

Posted by "Robert Liguori (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070911#comment-13070911 ] 

Robert Liguori commented on CXF-3686:
-------------------------------------

I've attached six diff files.  I hope you can use these as-is...  I'm still trying to figure out the best practice of creating and submitting diffs... I just noticed that Glen posted some pointers to one of the other JIRA issues I opened... Thanks.  Any more advice is appreciated.

Btw, application of these six diffs should close this issue. Thanks.

> Adjust sample project method calls that should be accessed in a static manner.
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3686
>                 URL: https://issues.apache.org/jira/browse/CXF-3686
>             Project: CXF
>          Issue Type: Improvement
>          Components: Samples
>    Affects Versions: 2.4.1
>            Reporter: Robert Liguori
>            Priority: Trivial
>         Attachments: diff_1.txt, diff_2.txt, diff_3.txt, diff_4.txt, diff_5.txt, diff_6.txt
>
>
> The repeated sample projects usage of this statement:
> --> bf.setDefaultBus(bus);
> causes the following warnings to be raised:
> "The static method setDefaultBus(Bus) from the type BusFactory should be accessed in a static way."
> Note that the sample projects ws_rm and jax_rs_basic_https do access the method is a static way:
> -->  BusFactory.setDefaultBus(bus);
> The adjustment from "bf.setDefaultBus(bus);" to "BusFactory.setDefaultBus(bus);" should be made for the following sample projects: ws_policy, wsdl_first_https and wssec_sign_enc.
> I'm working on the diffs for these now and will attach them to this JIRA issue later tonight.
> Note that this activity is part of the effort to resolve warnings as identified by IDEs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (CXF-3686) Adjust sample project method calls that should be accessed in a static manner.

Posted by "Robert Liguori (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Liguori closed CXF-3686.
-------------------------------


Thank you.

> Adjust sample project method calls that should be accessed in a static manner.
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3686
>                 URL: https://issues.apache.org/jira/browse/CXF-3686
>             Project: CXF
>          Issue Type: Improvement
>          Components: Samples
>    Affects Versions: 2.4.1
>            Reporter: Robert Liguori
>            Assignee: Daniel Kulp
>            Priority: Trivial
>             Fix For: 2.3.7, 2.4.3
>
>         Attachments: diff_1.txt, diff_2.txt, diff_3.txt, diff_4.txt, diff_5.txt, diff_6.txt
>
>
> The repeated sample projects usage of this statement:
> --> bf.setDefaultBus(bus);
> causes the following warnings to be raised:
> "The static method setDefaultBus(Bus) from the type BusFactory should be accessed in a static way."
> Note that the sample projects ws_rm and jax_rs_basic_https do access the method is a static way:
> -->  BusFactory.setDefaultBus(bus);
> The adjustment from "bf.setDefaultBus(bus);" to "BusFactory.setDefaultBus(bus);" should be made for the following sample projects: ws_policy, wsdl_first_https and wssec_sign_enc.
> I'm working on the diffs for these now and will attach them to this JIRA issue later tonight.
> Note that this activity is part of the effort to resolve warnings as identified by IDEs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-3686) Adjust sample project method calls that should be accessed in a static manner.

Posted by "Robert Liguori (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Liguori updated CXF-3686:
--------------------------------

    Attachment: diff_6.txt
                diff_5.txt
                diff_4.txt
                diff_3.txt
                diff_2.txt
                diff_1.txt

> Adjust sample project method calls that should be accessed in a static manner.
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3686
>                 URL: https://issues.apache.org/jira/browse/CXF-3686
>             Project: CXF
>          Issue Type: Improvement
>          Components: Samples
>    Affects Versions: 2.4.1
>            Reporter: Robert Liguori
>            Priority: Trivial
>         Attachments: diff_1.txt, diff_2.txt, diff_3.txt, diff_4.txt, diff_5.txt, diff_6.txt
>
>
> The repeated sample projects usage of this statement:
> --> bf.setDefaultBus(bus);
> causes the following warnings to be raised:
> "The static method setDefaultBus(Bus) from the type BusFactory should be accessed in a static way."
> Note that the sample projects ws_rm and jax_rs_basic_https do access the method is a static way:
> -->  BusFactory.setDefaultBus(bus);
> The adjustment from "bf.setDefaultBus(bus);" to "BusFactory.setDefaultBus(bus);" should be made for the following sample projects: ws_policy, wsdl_first_https and wssec_sign_enc.
> I'm working on the diffs for these now and will attach them to this JIRA issue later tonight.
> Note that this activity is part of the effort to resolve warnings as identified by IDEs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (CXF-3686) Adjust sample project method calls that should be accessed in a static manner.

Posted by "Robert Liguori (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070911#comment-13070911 ] 

Robert Liguori edited comment on CXF-3686 at 8/31/11 4:25 PM:
--------------------------------------------------------------

The attached six diff files will resolve this JIRA issue, once they are applied.

      was (Author: rliguori):
    I've attached six diff files.  I hope you can use these as-is...  I'm still trying to figure out the best practice of creating and submitting diffs... I just noticed that Glen posted some pointers to one of the other JIRA issues I opened... Thanks.  Any more advice is appreciated.

Btw, application of these six diffs should close this issue. Thanks.
  
> Adjust sample project method calls that should be accessed in a static manner.
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3686
>                 URL: https://issues.apache.org/jira/browse/CXF-3686
>             Project: CXF
>          Issue Type: Improvement
>          Components: Samples
>    Affects Versions: 2.4.1
>            Reporter: Robert Liguori
>            Priority: Trivial
>         Attachments: diff_1.txt, diff_2.txt, diff_3.txt, diff_4.txt, diff_5.txt, diff_6.txt
>
>
> The repeated sample projects usage of this statement:
> --> bf.setDefaultBus(bus);
> causes the following warnings to be raised:
> "The static method setDefaultBus(Bus) from the type BusFactory should be accessed in a static way."
> Note that the sample projects ws_rm and jax_rs_basic_https do access the method is a static way:
> -->  BusFactory.setDefaultBus(bus);
> The adjustment from "bf.setDefaultBus(bus);" to "BusFactory.setDefaultBus(bus);" should be made for the following sample projects: ws_policy, wsdl_first_https and wssec_sign_enc.
> I'm working on the diffs for these now and will attach them to this JIRA issue later tonight.
> Note that this activity is part of the effort to resolve warnings as identified by IDEs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-3686) Adjust sample project method calls that should be accessed in a static manner.

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-3686.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.3
                   2.3.7
         Assignee: Daniel Kulp

> Adjust sample project method calls that should be accessed in a static manner.
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3686
>                 URL: https://issues.apache.org/jira/browse/CXF-3686
>             Project: CXF
>          Issue Type: Improvement
>          Components: Samples
>    Affects Versions: 2.4.1
>            Reporter: Robert Liguori
>            Assignee: Daniel Kulp
>            Priority: Trivial
>             Fix For: 2.3.7, 2.4.3
>
>         Attachments: diff_1.txt, diff_2.txt, diff_3.txt, diff_4.txt, diff_5.txt, diff_6.txt
>
>
> The repeated sample projects usage of this statement:
> --> bf.setDefaultBus(bus);
> causes the following warnings to be raised:
> "The static method setDefaultBus(Bus) from the type BusFactory should be accessed in a static way."
> Note that the sample projects ws_rm and jax_rs_basic_https do access the method is a static way:
> -->  BusFactory.setDefaultBus(bus);
> The adjustment from "bf.setDefaultBus(bus);" to "BusFactory.setDefaultBus(bus);" should be made for the following sample projects: ws_policy, wsdl_first_https and wssec_sign_enc.
> I'm working on the diffs for these now and will attach them to this JIRA issue later tonight.
> Note that this activity is part of the effort to resolve warnings as identified by IDEs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira