What is the meaning of this class?

http://svn.sonatype.org/flexmojos//trunk/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/common/UsageMonitor.aj

It sure looks like you are collecting usage statistics of the plugin.
Certainly haven't ever seen this before and seems rather strange for
an open-source project.  Am I just misreading this?  Why hide the
package name in a byte array?

        // prevent some asynchronous issues related to new maven 3
parallel support
        if ( getClass().getPackage().getName().startsWith( new
String( new byte[] { 111, 114, 103, 46, 115, 111, 110,
                                                               97,
116, 121, 112, 101, 46, 102, 108, 101, 120, 109,
                                                               111,
106, 111, 115 } ) ) )
        {
            ( (JGoogleAnalyticsTracker)
tracker ).trackAsynchronously( focusPoint );
        }
        else
        {
            ( (JGoogleAnalyticsTracker)
tracker ).trackSynchronously( focusPoint );
        }

... ->
y: Array[Byte] = Array(111, 114, 103, 46, 115, 111, 110, 97, 116, 121,
112, 101, 46, 102, 108, 101, 120, 109, 111, 106, 111, 115)

scala> new String(y)
res0: java.lang.String = org.sonatype.flexmojos


-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to