Changeset f25a7ff


Ignore:
Timestamp:
Mar 25, 2011 9:42:31 AM (8 years ago)
Author:
Ted Faber <faber@…>
Branches:
abac0-leak, abac0-mei, compt_changes, gec13, master, mei-id, mei-rt0-n, mei_rt0, mei_rt2, mei_rt2_fix_1, meiyap-rt1, meiyap1, rt2, tvf-new-xml
Children:
d69593c
Parents:
1a80501
Message:

Comment tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/net/deterlab/abac/Context.java

    r1a80501 rf25a7ff  
    172172        Role head = cred.head();
    173173
    174         /* explicitly add the vertices, otherwise get a null pointer exception */
     174        // explicitly add the vertices, to avoid a null pointer exception
    175175        if ( !g.containsVertex(head))
    176176            g.addVertex(head);
     
    251251                // for each prereq edge:
    252252                //     find set of principals that have the prereq
    253                 // find the intersection of all sets (i.e., principals that satisfy all prereqs)
     253                // find the intersection of all sets (i.e., principals
     254                //     that satisfy all prereqs)
    254255                // for each principal in intersection:
    255256                //     add derived edge
     
    284285
    285286                /* locate the node A.r1 */
    286                 if (!g.containsVertex(A_r1)) continue; /* boring: nothing of the form A.r1 */
     287                if (!g.containsVertex(A_r1)) continue;
    287288
    288289                /* for each B that satisfies A_r1 */
Note: See TracChangeset for help on using the changeset viewer.