jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven JXR
  • JXR-22

Refactoring JavaCodeTransform

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.1
  • Fix Version/s: None
  • Component/s: jxr
  • Labels:
    None

Description

JavaCodeTransform needs to be refactored to handle other transformers (see JXR-2 and JXR-3)

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Java Source File
    CodeTransform.java
    04/Aug/06 3:25 PM
    3 kB
    Vincent Siveton
  2. Text File
    JXR-22.patch
    07/Aug/06 11:34 AM
    35 kB
    Vincent Siveton

Issue Links

relates to

New Feature - A new feature of the product, which has yet to be developed. JXR-2 Add a basic code transformer

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

New Feature - A new feature of the product, which has yet to be developed. JXR-3 Add a XML code tranformer

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Vincent Siveton added a comment - 04/Aug/06 3:25 PM

Interface CodeTransform proposal

Refactoring the class
public class JavaCodeTransform implements CodeTransform{}

Other changes like in the JXR class:
public void setTransformer( CodeTransform transformer ){}

I will try to implement the interface.

Any feedbacks are welcome...

Show
Vincent Siveton added a comment - 04/Aug/06 3:25 PM Interface CodeTransform proposal Refactoring the class public class JavaCodeTransform implements CodeTransform{} Other changes like in the JXR class: public void setTransformer( CodeTransform transformer ){} I will try to implement the interface. Any feedbacks are welcome...
Hide
Permalink
Vincent Siveton added a comment - 07/Aug/06 11:34 AM

BasicCodeTransform implementation and a test case.

Note: this implementation needs more refactoring: some methods are used by JavaCodeTransform too.
Since I have not rights on JXR project, this patch is only a proof of concept.

Show
Vincent Siveton added a comment - 07/Aug/06 11:34 AM BasicCodeTransform implementation and a test case. Note: this implementation needs more refactoring: some methods are used by JavaCodeTransform too. Since I have not rights on JXR project, this patch is only a proof of concept.

People

  • Assignee:
    Unassigned
    Reporter:
    Vincent Siveton
Vote (1)
Watch (1)

Dates

  • Created:
    04/Aug/06 3:07 PM
    Updated:
    31/Mar/07 11:20 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.