bundles/org.eclipse.packagedrone.repo.manage.system/src/org/eclipse/packagedrone/repo/manage/system/internal/SystemServiceImpl.java
protected String makePrefixFromOsgiProperties ()
    {
        final String port = System.getProperty ( "org.osgi.service.http.port" );
        if ( port == null )
        {
            return null;
        }

        final StringBuilder sb = new StringBuilder ();
        sb.append ( "http://" ).append ( discoverHostname () );
        if ( !"80".equals ( port ) )
        {
            sb.append ( ':' ).append ( port );
        }
        return sb.toString ();
    }
protected String makePrefixFromOsgiProperties ()
    {
        final String port = System.getProperty ( "org.osgi.service.http.port" );
        if ( port == null )
        {
            return null;
        }

        final StringBuilder sb = new StringBuilder ();
        sb.append ( "http://" ).append ( discoverHostname () );
        if ( !"80".equals ( port ) )
        {
            sb.append ( ':' ).append ( port );
        }
        return sb.toString ();
    }
protected String makePrefixFromOsgiProperties ( ) { final String port = System . getProperty ( "org.osgi.service.http.port" ) ; if ( port == null ) { return null ; } final StringBuilder sb = new StringBuilder ( ) ; sb . append ( "http://" ) . append ( discoverHostname ( ) ) ; if ( ! "80" . equals ( port ) ) { sb . append ( ' ' ) . append ( port ) ; } return sb . toString ( ) ; }
Make the prefix by guessing the port from the OSGi settings
Make the prefix by guessing the port from the OSGi settings