Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

public fields are not well parsed #10

Open
LucioMenci opened this issue Oct 22, 2015 · 0 comments
Open

public fields are not well parsed #10

LucioMenci opened this issue Oct 22, 2015 · 0 comments

Comments

@LucioMenci
Copy link

Hi,

Hi have a class that is generated by this code:

   public void connectTransientTableManagers(Object object) {
        for(Enumeration compIter = componentRelations.elements(); compIter.hasMoreElements();) {
            ComponentRelation cr = (ComponentRelation)compIter.nextElement();
            Object to = cr.extractTransient(object);
            if(to != null) {
                TransientObject transientObj = (TransientObject)to;
                transientObj.setAbstractTableManager(cr.transientTM);
                if(cr.transientTM != null)
                    cr.transientTM.connectTransientTableManagers(to);
            }
        }
    }

jd-eclipse shows that:

  public void connectTransientTableManagers(Object object) {
    Enumeration compIter = componentRelations.elements();
    while (compIter.hasMoreElements()) {
      ComponentRelation cr = (ComponentRelation)compIter.nextElement();
      Object to = cr.extractTransient(object);
      if (to != null) {
        TransientObject transientObj = (TransientObject)to;
        transientObj.setAbstractTableManager(transientTM);  // <- a «cr.» is missing
        if (transientTM != null) {                          //  idem
          transientTM.connectTransientTableManagers(to);    //  idem
        }
      }
    }
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant