gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/PluginImpl.java
/**
     * Registers XStream alias and converters to handle backwards compatibility with old data.
     */
Registers XStream alias and converters to handle backwards compatibility with old data.
Registers XStream alias and converters to handle backwards compatibility with old data .
protected static void doXStreamRegistrations() {
        logger.trace("doing XStream alias registrations.");
        Items.XSTREAM.registerConverter(new TriggerContextConverter());
        Hudson.XSTREAM.registerConverter(new TriggerContextConverter());
        Run.XSTREAM.registerConverter(new TriggerContextConverter());
        logger.trace("XStream alias registrations done.");
    }
protected static void doXStreamRegistrations ( ) { logger . trace ( "doing XStream alias registrations." ) ; Items . XSTREAM . registerConverter ( new TriggerContextConverter ( ) ) ; Hudson . XSTREAM . registerConverter ( new TriggerContextConverter ( ) ) ; Run . XSTREAM . registerConverter ( new TriggerContextConverter ( ) ) ; logger . trace ( "XStream alias registrations done." ) ; }
Registers XStream alias and converters to handle backwards compatibility with old data.
Registers XStream alias and converters to handle backwards compatibility with old data .
//Register it in all known XStreams just to be sure. //This is where the problems where, reading builds.