Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] RE: Doc bug... misc/GrouperCheckConfig.java

Subject: Grouper Developers Forum

List archive

[grouper-dev] RE: Doc bug... misc/GrouperCheckConfig.java


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Black, Carey M." <>, "" <>
  • Subject: [grouper-dev] RE: Doc bug... misc/GrouperCheckConfig.java
  • Date: Tue, 14 Aug 2018 13:28:34 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:H0ppixB/EAF03CW9tWDfUyQJP3N1i/DPJgcQr6AfoPdwSP37ps6wAkXT6L1XgUPTWs2DsrQY07SQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDuwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaronyu1QAohSlCAmwHePj1iNEimPq0aEk1ekqDAHI3BYnH9ILqHnYotf7NacTUO+r1qnE1SjIYu1W2Tfn6YjIaR4tquyLULJ1bcXRyUkuFgLbgVWKsoHlPiiV2fgXv2iG9+pvS+Svi2g9pw5vvzev294hh4/UjYwW0lDJ7Tt1z5wpKdGlTUN3fMOoHIZVuiGUOIZ6Xt8uTmRqtSkkxbALvZu2cS0UxJg7yRPTc+GLfoaU7h75UOudPC10iGx4dL+7nRq+7Eqtx+zkWsm6zllHrTZJn9zJu3wT1BHf9tSIR/5j8ki9xTmC1AXe5+NALE8omqfWLoIuzqAsmpcct0nIAzX4l1/sjKCMc0Up4uio5PrjYrXhvpKSL5N5hAbiPqkgg8CxD+M2PwYXU2ic4uuzyqfv/UrkQLVWlfI2lbTZsJbHKsgBvq65GQhV0po95BmjEzem0dMYnX8dIFJCZRKHk4zpO1bJIPD7F/uwn1OskDJzy/DHOL3uHInNI2DdnLj7Ybpx9ktRxBcuwdxC4p9UBL4MLO7vVkL0ttHXEBA0PgixzuviFtlxyo0TVXqKAqCDMaPStVGI5vgoI+mJfIIVvSryK/gl5v/vk3A5g0QQfaiy3ZQLcny4A+xmLFufYXrqmNsOD3oFvhcmQOzwlFKCSSJTZ2q1X68k6TE7EoWmDZrbRo+zmryNxTq0EYNIZm1dDlCMEGzod5mfW/sSci6SI8lhkiAaWri7TY8uyw2uuBHgx7V5M+XU535QiZW2nvJx7ubQ0VkZ/CZ5Hoy4lSvFG2twl2gLAWZsh4h4ulE7x1ueh+wwyfNCEsFL6ukMXgokHZ/a0+FgDd3uAETMcsrDAAKpWNK7GTwrC9483fcPZVpwAdOvkkqF0ia3Vew7jbuOUdYU47DRxTy5DMZnym2MnP0khFk3UMZVHWy9jehi7wXVAcjEn1jPxPXiTrgVwCOYrDTL9mGJpkwNFVcoCf+fD3kCekvbq8j47UreTrioTK4qKRZF1dXcdvlRctO8i1JASb+jI9nYb2+r00aITReTjvLpDsLxfnkFmiDUCUwKiQcWqHONNRksCz2JonnVSiF2GFTpJU7g7Lo2pQ==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

I committed the Javadoc. Sorry your time was wasted. I don't really order
my Javadoc params, you will find lots of instances of this. Are you using an
IDE that prompts you for each param? Maybe that would help...

-----Original Message-----
From:


[mailto:]
On Behalf Of Black, Carey M.
Sent: Tuesday, August 14, 2018 2:58 AM
To:

Subject: [grouper-dev] Doc bug... misc/GrouperCheckConfig.java

I know this is "picky" ( and has been broken for a while ), it is also almost
3 AM and it took me over an hour to find this bug...... ( I now have less
hair than I started with. )

Please correct the Javadoc.


/grouper/src/grouper/edu/internet2/middleware/grouper/misc/GrouperCheckConfig.java
......

/**
* make sure an attribute is there or add it if not
* @param stem
* @param attributeDef
* @param extension
* @param description
* @param logAutocreate
* @return the attribute def name
*/
private static AttributeDefName checkAttribute(Stem stem, AttributeDef
attributeDef, String extension, String description, boolean logAutocreate) {
return checkAttribute(stem, attributeDef, extension, extension,
description, logAutocreate);
}


THEN... you injected "displayExtension" BEFORE "description" on the
signature of the next Method. (WT???? append to the end.... always
append.....)
AND the order of the @param values in the method Javadoc is not the same
order as the method. ( Since they are just "strings" it is very easy to NOT
get what you want from the method. )

/**
* make sure an attribute is there or add it if not
* @param stem
* @param attributeDef
* @param extension
* @param description
* @param displayExtension
* @param logAutocreate
* @return the attribute def name
*/
private static AttributeDefName checkAttribute(Stem stem, AttributeDef
attributeDef, String extension, String displayExtension, String description,
boolean logAutocreate) {
....


--
Carey Matthew






Archive powered by MHonArc 2.6.19.

Top of Page