Bug 332353 - Refactoring [427]: Make Save Attribute Explicit - CQ Approved
Summary: Refactoring [427]: Make Save Attribute Explicit - CQ Approved
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Refactoring Engine (show other bugs)
Version: 6.0   Edit
Hardware: PC Windows 7
: P1 enhancement (vote)
Target Milestone: 7.0   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 22:33 EST by Chad Zamzow CLA
Modified: 2011-03-16 16:44 EDT (History)
6 users (show)

See Also:


Attachments
Patch for Make Save Explicit Refactoring, modifying core.vpg, core.vpg.tests, and ui.vpg (83.51 KB, patch)
2010-12-10 22:33 EST, Chad Zamzow CLA
no flags Details | Diff
Make Save Explicit Refactoring, Version 2 (82.83 KB, patch)
2010-12-15 04:18 EST, Chad Zamzow CLA
com-eclipse-dot-org: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Zamzow CLA 2010-12-10 22:33:13 EST
A new refactoring for Photran, developed by Group ShinSheep as a project for UIUC CS 427

https://agora.cs.illinois.edu/display/cs427fa10/Make+save+attribute+explicit
https://agora.cs.illinois.edu/display/cs427fa10/ShinSheep
Comment 1 Chad Zamzow CLA 2010-12-10 22:33:49 EST
Created attachment 185015 [details]
Patch for Make Save Explicit Refactoring, modifying core.vpg, core.vpg.tests, and ui.vpg
Comment 2 Jeffrey Overbey CLA 2010-12-13 04:45:40 EST
Hi all,

Thanks for the contribution!  It looks good... there are just a few minor issues I'd like you to fix before we send this off for an IP review.  Please re-submit the patch with these changes:

1. In the copyright headers for MakeSaveExplicitRefactoring and MakeSaveExplicitTestSuite, please remove "UIUC - Initial API and implementation" and put your names there instead.  This will avoid any confusion during the IP review.

2. There is no need to override #configureRefactoring in your test suite since you only invoke the superclass implementation.

3. Please give the #currAST field private visibility.  Also, you can remove the "IFortranAST ast" parameter from #makeChangesTo since the AST is available to that method via the field.

4. Where possible, please replace the use of explicit iterators with the use of Java 5 for-each loops.  For example, 

    Iterator<ASTEntityDeclNode> declIterator = entityDeclList.iterator();
    while(declIterator.hasNext())
    {
        ASTEntityDeclNode variableDeclaration = declIterator.next();
        ...

can be replaced with


    for (ASTEntityDeclNode variableDeclaration : entityDeclList)
    {
        ...

Thanks a lot!
Comment 3 Jeffrey Overbey CLA 2010-12-14 18:12:00 EST
Hi guys -- just to give you a heads up, I have to let Ralph know who will get extra credit for CS427 by Friday.  If you don't have time to make the changes I requested, I can still accept your patch as-is (the changes were very minor); just please let me know.

Either way, I will need the five of you (Stephen, Robert, Kevin, Jon, and Chad) to *each* add a comment to this bug confirming that

1. you wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others,

2. you have the right to contribute the code to Eclipse, and

3. you have included the EPL license header in all source files.
Comment 4 Jon Woolwine CLA 2010-12-14 18:28:04 EST
Hi Jeff,

We should have the changes up by tonight or tomorrow. We just had to work out who can do it becuase of finals. Here's my confirmation stuff:

1. I wrote 100% of the code that I contributed to without incorporating content
from elsewhere or relying on the IP of others.
2. I have the right to contribute the code to Eclipse.
3. All the source files we created have the EPL license header within them.

Thanks,
Jon Woolwine
Comment 5 Stephen Downs CLA 2010-12-14 18:47:52 EST
1. I wrote 100% of the code that I contributed to without incorporating content
from elsewhere or relying on the IP of others.
2. I have the right to contribute the code to Eclipse.
3. All the source files we created have the EPL license header within them.

Stephen Downs
Comment 6 Chad Zamzow CLA 2010-12-15 04:18:16 EST
Created attachment 185210 [details]
Make Save Explicit Refactoring, Version 2

Fixed version of the Make Save Explicit Refactoring, modifying core.vpg, core.vpg.tests, and ui.vpg
Comment 7 Chad Zamzow CLA 2010-12-15 04:22:36 EST
Uploaded the new patch, which includes updated versions of MakeSaveExplicitRefactoring.java and MakeSaveExplicitTestSuite.java.  That should do it, I think.

1. I wrote 100% of the code that I contributed to without incorporating content
from elsewhere or relying on the IP of others.
2. I have the right to contribute the code to Eclipse.
3. All the source files we created have the EPL license header within them.

Chad Zamzow
Comment 8 Kevin CLA 2010-12-15 04:37:43 EST
Hi Jeff,

We made all the changes, now we just need to resubmit them as a patch.

Here's my confirmation stuff:

1. I wrote 100% of the code that I contributed to without incorporating content
from elsewhere or relying on the IP of others.
2. I have the right to contribute the code to Eclipse.
3. All the source files we created have the EPL license header within them.

Thanks,
-Kevin Schilling
Comment 9 Robert Samblanet CLA 2010-12-15 04:41:10 EST
1. I wrote 100% of the code that I contributed to without incorporating content
from elsewhere or relying on the IP of others.
2. I have the right to contribute the code to Eclipse.
3. All the source files we created have the EPL license header within them.

Thanks,
Rob Samblanet
Comment 10 Jeffrey Overbey CLA 2010-12-15 10:58:47 EST
Thanks for the replies!

For the IP review, I will need to describe how much of the work was done by each person involved.  Generally, for CS427 projects, the work was more-or-less evenly distributed, so I will use the following breakdown unless you inform me otherwise:

Stephen Downs - 20%
Robert Samblanet - 20%
Kevin Schilling - 20%
Jon Woolwine - 20%
Chad Zamzow - 20%

I'll start the IP review process soon.  If the IP team has any questions, I'll post them here.
Comment 11 Jeffrey Overbey CLA 2010-12-15 11:23:04 EST
CQ 4700 Submitted - https://dev.eclipse.org/ipzilla/show_bug.cgi?id=4700
Comment 12 Jeffrey Overbey CLA 2011-01-18 15:08:07 EST
The CQ was approved.  Check in to CVS pending.
Comment 13 Jeffrey Overbey CLA 2011-03-16 16:43:47 EDT
These are committed to CVS HEAD for inclusion in Photran 7.0/Indigo (the June, 2011 release).

Thanks again for the contribution!

Please also make sure your names are all included and are spelled correctly on the Contributors page: http://www.eclipse.org/photran/contributors.php