Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 20 16:05

    Fabrice-TIERCELIN on master

    Handle findFirst() and findAny() (compare)

  • Mar 20 15:59

    Fabrice-TIERCELIN on master

    Fix error message in ASTNodes.j… (compare)

  • Jan 16 15:36
    Fabrice-TIERCELIN labeled #494
  • Jan 16 15:36
    Fabrice-TIERCELIN assigned #494
  • Jan 11 21:49
    nbauma109 opened #494
  • Nov 03 2021 06:06

    Fabrice-TIERCELIN on master

    Improve MAVEN build Performance (compare)

  • Nov 03 2021 06:06
    Fabrice-TIERCELIN closed #493
  • Nov 03 2021 01:37
    ChenZhangg commented #493
  • Nov 01 2021 18:52
    Fabrice-TIERCELIN commented #493
  • Oct 28 2021 01:39
    ChenZhangg opened #493
  • Jun 29 2021 04:35

    Fabrice-TIERCELIN on master

    Separate analyze and refactoring (compare)

  • Jun 27 2021 18:43
    cal101 commented #492
  • Jun 27 2021 18:34
    Fabrice-TIERCELIN closed #492
  • Jun 27 2021 18:34

    Fabrice-TIERCELIN on master

    Closes #492; Only use methods i… (compare)

  • Jun 27 2021 18:27
    Fabrice-TIERCELIN labeled #492
  • Jun 27 2021 18:26
    Fabrice-TIERCELIN assigned #492
  • Jun 27 2021 17:42
    cal101 opened #492
  • Jun 26 2021 11:19
    JnRouvignac closed #93
  • Jun 26 2021 11:19
    JnRouvignac commented #93
  • Jun 26 2021 11:19
    JnRouvignac commented #93
Jean-Noël Rouvignac
@JnRouvignac
But I have found it to be disconcerting at times
Jean-Noël Rouvignac
@JnRouvignac
Re: importing from android studio
What do you call the importer ?
The Java importer ?
Something else?
Luis Cruz
@luiscruz
no, after installing Android plugin there is a new kind of projects — Android
that already imports the sdk and necessary tools
Screen Shot 2016-10-31 at 18.44.03.png
Jean-Noël Rouvignac
@JnRouvignac
Ah crap :(
Bug report?
Luis Cruz
@luiscruz
it is important because according to the project different versions of sdks should apply..
I can do that, but they are not supporting Eclipse for Android development anymore :(
Jean-Noël Rouvignac
@JnRouvignac
I think this is now an eclipse project named and more
AndMore
Luis Cruz
@luiscruz
side note:
I get this error with mvn clean install
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.23.1:compile (default-compile) on project org.autorefactor.plugin: Compilation failure: Compilation failure:
[ERROR] /home/travis/build/JnRouvignac/AutoRefactor/plugin/src/main/java/org/autorefactor/refactoring/ASTBuilder.java:[421]
[ERROR] modifiers(vde).add(final0());
[ERROR] ^^^^^^^^^
[ERROR] The method modifiers(IExtendedModifier...) in the type ASTBuilder is not applicable for the arguments (VariableDeclarationExpression)
[ERROR] 1 problem (1 error)
[ERROR] -> [Help 1]
Jean-Noël Rouvignac
@JnRouvignac
Err with code from master?
Luis Cruz
@luiscruz
I think I got this after merging
but I can run and test the project anyway :\
but declareExpr is not mine:
    public VariableDeclarationExpression declareExpr(Type type, SimpleName varName, Expression initializer) {
        final VariableDeclarationFragment fragment = declareFragment(varName, initializer);
        final VariableDeclarationExpression vde = ast.newVariableDeclarationExpression(fragment);
        modifiers(vde).add(final0());
        vde.setType(type);
        return vde;
    }
since I’ve created the modifiers method I wonder if it was pointing to a different modifiersmethod before..
Jean-Noël Rouvignac
@JnRouvignac
Ah! Where did you declare it?
Luis Cruz
@luiscruz
should it be vde.modifiers()? should I change the new modfiers()method name?
ASTBuilder
Jean-Noël Rouvignac
@JnRouvignac
Name shadowing?
Luis Cruz
@luiscruz
probably
Jean-Noël Rouvignac
@JnRouvignac
Try that
See if it helps
Luis Cruz
@luiscruz
vde.modifiers()?
or changing the method name?
Jean-Noël Rouvignac
@JnRouvignac
The latter
I think I know
Name shadowing indeed
Ok just put a random name
I'll fix it post merge
Luis Cruz
@luiscruz
alright renamed to modifiersList
Luis Cruz
@luiscruz
Hi Jean-Noël! I’m working on an anti-pattern for the views of Android projects. They are written in XML so I’m creating a separate script for that. Before proceeding with it I wanted to confirm with you that AutoRefactor does not have anything on this. Is that right?
Jean-Noël Rouvignac
@JnRouvignac
Hi Luis
nada zero indeed :)
not sure how to go about that
just working with the XML DOM maybe?
Luis Cruz
@luiscruz
:laughing:
Jean-Noël Rouvignac
@JnRouvignac
it already contains the comments, so it is easy to figure it out
Luis Cruz
@luiscruz
yes, I’m thinking on doing that
Jean-Noël Rouvignac
@JnRouvignac
I think it falls under the http://www.eclipse.org/webtools/
Luis Cruz
@luiscruz
I think any XML parser will do the job..
Jean-Noël Rouvignac
@JnRouvignac
I think I agree :)