diff:
<nb> import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 + import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 <nb> public class ContactHeaderWidget extends FrameLayout implements View . OnClickList
 public void bindFromEmail ( String emailAddress ) {
 Cursor c = null ;
 try {
 - c = mContentResolver . query ( Uri . withAppendedPath (
 - RawContacts . CONTENT_FILTER_EMAIL_URI , Uri . encode ( emailAddress ) ) ,
 - EMAIL_LOOKUP_PROJECTION , null , null , null ) ;
 + c = mContentResolver . query ( Uri . withAppendedPath ( Email . CONTENT_FILTER_EMAIL_URI , Uri
 + . encode ( emailAddress ) ) , EMAIL_LOOKUP_PROJECTION , null , null , null ) ;
 if ( c != null && c . moveToFirst ( ) ) {
 long contactId = c . getLong ( EMAIL_LOOKUP_CONTACT_ID_COLUMN_INDEX ) ;
 bindFromContactId ( contactId ) ;

msg_token: Don t use deprecated API in contact header widget


diff:
<nb> public class RecordProjectOperator
 Page page = pageBuilder . build ( ) ;
 pageBuilder . reset ( ) ;

 - operatorContext . recordGeneratedInput ( page . getDataSize ( ) , page . getPositionCount ( ) ) ;
 -
 return page ;
 }
 }

msg_token: Don t double count bytes and rows in RecordProjectOperator


diff:
<nb> public class JSONPropertySupport {
 public static < T > T getValueFromJSON ( AbstractModel model , JSONProperty < T > property , Type javaType ) {
 if ( ! model . hasTransitory ( property . getName ( ) ) ) {
 T data = null ;
 - if ( model . containsNonNullValue ( property ) ) {
 - String value = model . get ( property ) ;
 + String value = model . get ( property ) ; SINGLE
 + if ( value != null ) {
 try {
 if ( MAPPER == null ) {
 throw new NullPointerException ( STRING0

msg_token: JSONProperty getter should throw if model doesn t have property the same as all other properties do


diff:
<nb> public abstract class PsiElementListCellRenderer < T extends PsiElement > extends J

 if ( nameAttributes == null ) nameAttributes = new SimpleTextAttributes ( Font . PLAIN , color ) ;

 + assert name != null : STRING0 + element ;
 append ( name , nameAttributes ) ;
 setIcon ( PsiElementListCellRenderer . this . getIcon ( element ) ) ;

msg_token: implement getPresentableText for alias statements


diff:
<nb> public class FirstUsageWizardFragment extends Fragment implements OsmAndLocation
 view . findViewById ( R . id . map_downloading_action_button ) . setOnClickListener ( new View . OnClickListener ( ) {
 @ override
 public void onClick ( View v ) {
 - showOnMap ( new LatLon ( location . getLatitude ( ) , location . getLongitude ( ) ) , NUMBER0 ) ;
 + if ( location != null ) {
 + showOnMap ( new LatLon ( location . getLatitude ( ) , location . getLongitude ( ) ) , NUMBER0 ) ;
 + }
 }
 } ) ;
 view . findViewById ( R . id . map_downloading_card ) . setVisibility ( View . VISIBLE ) ;

msg_token: Fix first usage wizard


diff:
<nb> public class Ls extends NeoApp
 displayProperties = true ;
 displayRelationships = true ;
 }
 - Node node = this . getCurrentNode ( session ) ;
 +
 + Node node = null ;
 + if ( parser . arguments ( ) . isEmpty ( ) )
 + {
 + node = this . getCurrentNode ( session ) ;
 + }
 + else
 + {
 + node = this . getNodeById (
 + Long . parseLong ( parser . arguments ( ) . get ( NUMBER0 ) ) ) ;
 + }
 +
 this . displayProperties ( node , out , displayProperties , displayValues ,
 verbose ) ;
 this . displayRelationships ( parser , node , out , displayRelationships ) ;

msg_token: Added ls node id possibility


diff:
<nb> public class ResolverActivity extends Activity implements AdapterView . OnItemClic
 }

 final Intent intent = intentForDisplayResolveInfo ( dri ) ;
 - onIntentSelected ( dri . ri , intent , mAlwaysUseOption ) ;
 + onIntentSelected ( dri . ri , intent , false ) ;
 finish ( ) ;
 }
 } ) ;

msg_token: Never set Work or Personal apps as prefered activities


diff:
<nb> public class TaskController extends AbstractController {
 COMMENT
 public Cursor getBackupTaskListCursor ( ) {
 return database . query ( tasksTable , TaskModelForXml . FIELD_LIST ,
 - AbstractTaskModel . PROGRESS_PERCENTAGE + STRING0 +
 - AbstractTaskModel . COMPLETE_PERCENTAGE , null , null , null ,
 + null , null , null , null ,
 null , null ) ;
 }

msg_token: Legacy backup now backs up completed tasks


diff:
<nb>
 package NAMESPACE ;

 import NAMESPACE ;
 - import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 + import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;

 <nb> public final class MUCRoomHistory {
 }
 }

 + SINGLE
 + if ( ( packet . getSubject ( ) == null || STRING0 . equals ( packet . getSubject ( ) . trim ( ) ) ) &&
 + ( packet . getBody ( ) == null || STRING0 . equals ( packet . getBody ( ) . trim ( ) ) ) ) {
 + return ;
 + }
 +
 Message packetToAdd = packet . createCopy ( ) ;

 SINGLE

msg_token: Ignore messages with no body and no subject


diff:
<nb> public class MapActivity extends AccessibleActivity implements DownloadEvents ,
 System . err . println ( STRING0 + ( System . currentTimeMillis ( ) - tm ) + STRING1 ) ;
 }

 - if ( ! permissionDone && ! app . getAppInitializer ( ) . isFirstTime ( ) ) {
 + if ( ! permissionDone ) {
 if ( ! permissionAsked ) {
 if ( app . isExternalStorageDirectoryReadOnly ( )
 && getSupportFragmentManager ( ) . findFragmentByTag ( DataStoragePlaceDialogFragment . TAG ) == null ) {

msg_token: Revert Skip permission and storage dialog first time


diff:
<nb> import NAMESPACE ;
 COMMENT
 COMMENT
 COMMENT
 + COMMENT
 + COMMENT
 COMMENT
 COMMENT
 COMMENT

msg_token: Added comment to Javadoc for PasswordComparisonAuthenticator to indicate that it won t work with SSHA passwords


diff:
<nb> public class Observable < T > {
 COMMENT
 COMMENT
 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 COMMENT
 COMMENT
 <nb> public class Observable < T > {
 COMMENT
 COMMENT
 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 COMMENT
 COMMENT
 <nb> public class Single < T > {
 COMMENT
 COMMENT
 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 COMMENT
 COMMENT

msg_token: Fix delay methods typos in documenation


diff:
<nb> import NAMESPACE ;
 COMMENT
 COMMENT
 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 COMMENT
 COMMENT

msg_token: Replace p with p in a Javadoc comment


diff:
<nb> public class BasicExpressionTypingVisitor extends ExpressionTypingVisitor {
 if ( labelName != null ) {
 LabelResolver . LabeledReceiverResolutionResult resolutionResult =
 LabelResolver . INSTANCE . resolveThisOrSuperLabel ( expression , context , Name . identifier ( labelName ) ) ;
 - if ( onlyClassReceivers && resolutionResult . success ( ) ) {
 - if ( ! isDeclaredInClass ( resolutionResult . getReceiverParameterDescriptor ( ) ) ) {
 + if ( resolutionResult . success ( ) ) {
 + ReceiverParameterDescriptor receiverParameterDescriptor = resolutionResult . getReceiverParameterDescriptor ( ) ;
 + recordThisOrSuperCallInTraceAndCallExtension ( context , receiverParameterDescriptor , expression ) ;
 + if ( onlyClassReceivers && ! isDeclaredInClass ( receiverParameterDescriptor ) ) {
 return LabelResolver . LabeledReceiverResolutionResult . labelResolutionSuccess ( NO_RECEIVER_PARAMETER ) ;
 }
 }
 <nb> public class BasicExpressionTypingVisitor extends ExpressionTypingVisitor {
 if ( result != NO_RECEIVER_PARAMETER ) {
 context . trace . record ( REFERENCE_TARGET , expression . getInstanceReference ( ) , result . getContainingDeclaration ( ) ) ;
 recordThisOrSuperCallInTraceAndCallExtension ( context , result , expression ) ;
 -
 }
 return LabelResolver . LabeledReceiverResolutionResult . labelResolutionSuccess ( result ) ;
 }

msg_token: Record resolved calls for labeled this expressions


diff:
<nb>

 package NAMESPACE ;

 + import NAMESPACE ;
 +
 import NAMESPACE ;

 public class Classifier

msg_token: Add missing import


diff:
<nb> public class ArgDelegationActivator
 COMMENT
 COMMENT
 COMMENT
 - public void start ( BundleContext context ) throws Exception
 + public void start ( BundleContext bc ) throws Exception
 {
 bundleContext = bc ;
 delegationPeer = new ArgDelegationPeerImpl ( bc ) ;

msg_token: Fixes a wrong var name argh i am getting too distracted


diff:
<nb> public class State implements Cloneable {
 return stateData . serviceDay ;
 }

 - public void setServiceDay ( ServiceDay sd ) {
 - stateData . serviceDay = sd ;
 - }
 -
 public Set < String > getBikeRentalNetworks ( ) {
 return stateData . bikeRentalNetworks ;
 }

msg_token: Remove setter from State


diff:
<nb> public class ContributionListPanel extends JPanel implements Scrollable , Contrib
 boolean isFlagged = ContributionManager . isFlaggedForDeletion ( contrib ) ;
 if ( isFlagged ) {
 description . append ( ContributionListPanel . DELETION_MESSAGE ) ;
 - } else if ( contrib . getSentence ( ) != null ) {
 - String sentence = ContributionListPanel . sanitizeHtmlTags ( contrib . getSentence ( ) ) ;
 - sentence = ContributionListPanel . toHtmlLinks ( sentence ) ;
 + } else {
 + String sentence = contrib . getSentence ( ) ;
 +
 + if ( sentence == null || sentence . isEmpty ( ) ) {
 + sentence = STRING0 ;
 + } else {
 + sentence = ContributionListPanel . sanitizeHtmlTags ( sentence ) ;
 + sentence = ContributionListPanel . toHtmlLinks ( sentence ) ;
 + }
 +
 description . append ( sentence ) ;
 }

msg_token: Added Description unavailable


diff:
<nb> public class PyPackageManager {
 runPythonHelper ( PACKAGING_TOOL , args ) ;
 }

 + public void install ( @ notnull PyRequirement requirement ) throws PyExternalProcessException {
 + myPackagesCache = null ;
 + final List < String > args = new ArrayList < String > ( ) ;
 + args . add ( STRING0 ) ;
 + args . add ( requirement . toString ( ) ) ;
 + runPythonHelper ( PACKAGING_TOOL , args ) ;
 + }
 +
 + @ deprecated
 public void install ( @ notnull PyPackage pkg ) throws PyExternalProcessException {
 SINGLE
 myPackagesCache = null ;

msg_token: added checkbox for package version


diff:
<nb> import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 - import NAMESPACE ; ;
 + import NAMESPACE ;
 import NAMESPACE ;

 import NAMESPACE ;

msg_token: Fix compilation failures


diff:
<nb>
 COMMENT
 package NAMESPACE ;

 + import NAMESPACE ;
 + import NAMESPACE ;
 +
 import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;

 - import NAMESPACE ;
 - import NAMESPACE ;
 -
 public abstract class SupposeThreadHandler extends BaseAnnotationHandler < EComponentHolder > {

 public SupposeThreadHandler ( Class < ? > targetClass , ProcessingEnvironment processingEnvironment ) {
 <nb> public abstract class SupposeThreadHandler extends BaseAnnotationHandler < ECompon
 protected void validate ( Element element , AnnotationElements validatedElements , IsValid valid ) {
 validatorHelper . enclosingElementHasEnhancedComponentAnnotation ( element , validatedElements , valid ) ;
 validatorHelper . isNotPrivate ( element , valid ) ;
 + validatorHelper . isNotFinal ( element , valid ) ;
 }

 }

msg_token: Fix validation of SupposeXXX


diff:
<nb> public class RestrictionsManager {
 COMMENT
 COMMENT
 COMMENT
 - COMMENT
 + COMMENT
 + COMMENT
 COMMENT
 COMMENT
 COMMENT

msg_token: Fixed a typo in convertRestrictionsToBundle JavaDoc


diff:
<nb> public class AntScriptGenerator {
 for ( int i = NUMBER0 ; i < libsDirs . size ( ) ; i ++ ) {
 pack . append ( STRING0 + libsDirs . get ( i ) + STRING1 + sharedLibFiles . get ( i ) + STRING2 ) ;
 }
 +
 + if ( config . sharedLibs != null ) {
 + for ( String sharedLib : config . sharedLibs ) {
 + pack . append ( STRING0 + sharedLib + STRING2 ) ;
 + }
 + }

 template = template . replace ( STRING3 , config . sharedLibName + STRING4 ) ;
 template = template . replace ( STRING5 , clean . toString ( ) ) ;
 <nb> public class BuildConfig {
 public final FileDescriptor libsDir ;
 COMMENT
 public final FileDescriptor jniDir ;
 + COMMENT
 + public String [ ] sharedLibs ;

 COMMENT
 COMMENT

msg_token: added shared libs linking to jnigen


diff:
<nb> public class XMPPTCPConnection extends XMPPConnection {
 COMMENT
 COMMENT
 COMMENT
 - void streamCompressionDenied ( ) {
 - synchronized ( this ) {
 - this . notify ( ) ;
 - }
 + synchronized void streamCompressionDenied ( ) {
 + this . notify ( ) ;
 }

 COMMENT

msg_token: Replace sync block with sync method


diff:
<nb> public class NativeApiPatchingTestCase extends AbstractPatchingTestCase {
 }

 private ModelControllerClient getControllerClient ( ) throws UnknownHostException {
 - return ModelControllerClient . Factory . create ( System . getProperty ( STRING0 , STRING1 ) , NUMBER0 ) ;
 + return ModelControllerClient . Factory . create ( STRING2 , System . getProperty ( STRING0 , STRING1 ) , NUMBER1 ) ;
 }

 }

msg_token: Convert test to http remoting


diff:
<nb> class IRFactory {

 private boolean validAssignmentTarget ( Node target ) {
 switch ( target . getType ( ) ) {
 + case Token . CAST : SINGLE
 case Token . NAME :
 case Token . GETPROP :
 case Token . GETELEM :
 <nb> public class IntegrationTest extends IntegrationTestCase {
 STRING0 ) ;
 }

 + public void testLhsCast ( ) {
 + CompilerOptions options = createCompilerOptions ( ) ;
 + test (
 + options ,
 + STRING1 +
 + STRING2 ,
 + STRING1 +
 + STRING3 ) ;
 + }
 +
 public void testRenamePrefix ( ) {
 String code = STRING4 ;
 CompilerOptions options = createCompilerOptions ( ) ;

msg_token: fix a cryptic warning due to an equally cryptic cast


diff:
<nb> public class ReportGenerator implements Job {
 try {
 generateReports ( context . getJobDetail ( ) . getDescription ( ) , context . getJobDetail ( ) . getJobDataMap ( ) ) ;
 } catch ( Exception e ) {
 - e . printStackTrace ( ) ;
 - LOGGER . error ( e . toString ( ) ) ;
 + LOGGER . error ( STRING0 , e ) ;
 }
 }

 <nb> public class ReportGenerator implements Job {
 reportEmailSender . emailReport ( ) ;

 } catch ( IOException e ) {
 - e . printStackTrace ( ) ;
 - LOGGER . error ( e . toString ( ) ) ;
 + LOGGER . error ( STRING1 , e ) ;
 }
 }

msg_token: Add support for ratio of metrics to thirdeye reporting


diff:
<nb> public class PVector {
 return this . x * x + this . y * y + this . z * z ;
 }

 +
 + static public float dot ( PVector v1 , PVector v2 ) {
 + return v1 . x * v2 . x + v1 . y * v2 . y + v1 . z * v2 . z ;
 + }

 COMMENT
 COMMENT

msg_token: Added static dot PVector v1 PVector v2 to PVector


diff:
<nb> public class LogView extends Request {
 }

 private String getOutputLogStem ( ) {
 - String pattern = STRING0 ;
 + String pattern = STRING1 ;
 SimpleDateFormat formatter = new SimpleDateFormat ( pattern ) ;
 String now = formatter . format ( new Date ( ) ) ;

 - return STRING2 + now ;
 + return STRING3 + now ;
 }

 private byte [ ] zipLogs ( byte [ ] [ ] results , String topDir ) throws IOException {

msg_token: Tweak log file stem name to include full year


diff:
<nb> public class GeneralConfigurationForm
 historySizeSpinner . setEnabled ( false ) ;
 }

 + if ( ! ConfigurationManager . isHistoryShown ( ) )
 + {
 + historySizeSpinner . setEnabled ( false ) ;
 + }
 +
 sendMessageComboBox . setSelectedItem (
 ConfigurationManager . getSendMessageCommand ( ) ) ;

msg_token: Disable chat history size box if the Show history checkbox is false


diff:
<nb>
 package NAMESPACE ;

 - import NAMESPACE ;
 - import NAMESPACE ;
 + import NAMESPACE ;

 import NAMESPACE ;

 <nb> public class SetColumnNames extends Request {
 @ override protected Response serve ( ) {
 ValueArray tgt = _tgtKey . value ( ) ;
 tgt . setColumnNames ( _srcKey . value ( ) . colNames ( ) ) ;
 + SINGLE
 + SINGLE
 + Futures fs = new Futures ( ) ;
 + DKV . put ( tgt . _key , tgt , fs ) ;
 + fs . blockForPending ( ) ;
 return Inspect . redirect ( new JsonObject ( ) , tgt . _key ) ;
 }
 public static String link ( Key k , String s ) {

msg_token: Fix header names not getting written back


diff:
<nb> public enum ActiveThreadCountErrorType {
 UNSUPPORTED_VERSION ( ( short ) NUMBER0 , STRING0 , StreamCode . TYPE_UNSUPPORT . name ( ) ) ,
 CLUSTER_OPTION_NOT_SET ( ( short ) NUMBER1 , STRING1 , StreamCode . CONNECTION_UNSUPPORT . name ( ) ) ,

 + TIMEOUT ( ( short ) NUMBER2 , STRING2 , TRouteResult . TIMEOUT . name ( ) ) ,
 +
 NOT_FOUND ( ( short ) - NUMBER3 , STRING3 , StreamCode . CONNECTION_NOT_FOUND . name ( ) ) ,
 CLUSTER_CHANNEL_CLOSED ( ( short ) - NUMBER3 , STRING4 , StreamCode . STATE_CLOSED . name ( ) ) ,
 - TIMEOUT ( ( short ) - NUMBER3 , STRING2 , TRouteResult . TIMEOUT . name ( ) ) ,
 PINPOINT_INTERNAL_ERROR ( ( short ) - NUMBER3 , STRING5 ) ;

 private final static Map < String , ActiveThreadCountErrorType > CODE_MAP = Collections . unmodifiableMap ( initializeCodeMapping ( ) ) ;

msg_token: Trace current active requests info


diff:
<nb> public class PlanUpdateService extends Service {
 context . startService ( intent ) ;
 }

 + public static void stopService ( Context context ) {
 + if ( context == null ) return ;
 +
 + Intent intent = new Intent ( context , PlanUpdateService . class ) ;
 + context . stopService ( intent ) ;
 + }
 +
 @ override
 public IBinder onBind ( Intent intent ) {
 return null ;
 <nb> public class PlansActivity extends AppCompatActivity {
 } ) ;
 }

 + @ override
 + protected void onDestroy ( ) {
 + PlanUpdateService . stopService ( this ) ;
 + super . onDestroy ( ) ;
 + }
 +
 private void updatePurchaseUI ( int position ) {
 Fragment fragment = getPageAdapter ( ) . getItem ( position ) ;
 if ( ! ( fragment instanceof PlanFragment ) ) {

msg_token: Stop service when activity is destroyed


diff:
<nb>
 COMMENT
 package NAMESPACE ;

 + import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 <nb> public abstract class BasicAction extends DumbAwareAction {
 SINGLE

 presentation . setEnabled ( enabled ) ;
 - presentation . setVisible ( enabled ) ;
 + if ( ActionPlaces . isPopupPlace ( e . getPlace ( ) ) ) {
 + presentation . setVisible ( enabled ) ;
 + }
 + else {
 + presentation . setVisible ( true ) ;
 + }
 }

 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 COMMENT
 COMMENT

msg_token: showing disabled actions in main menu


diff:
<nb> package NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;

 + import NAMESPACE ;
 import NAMESPACE ;

 public abstract class Screen {
 protected static Random random = new Random ( ) ;
 private Metagun metagun ;
 + protected SpriteBatch spriteBatch = new SpriteBatch ( NUMBER0 ) ;

 - public void removed ( ) {
 + public void removed ( ) {
 + spriteBatch . dispose ( ) ;
 }

 public final void init ( Metagun metagun ) {

msg_token: changed small change to metagun Screen


diff:
<nb> public class LocalStopFinder {
 }
 }
 }
 -
 +
 SINGLE

 neighborhoods = new HashMap < Stop , HashMap < TableTripPattern , P2 < Double > > > ( ) ;
 <nb> public class LocalStopFinder {
 P2 < Double > distance = entry . getValue ( ) ;
 P2 < Double > previousDistance = previousDistances . get ( key ) ;
 P2 < Double > nextDistance = nextDistances . get ( key ) ;
 - if ( previousDistance == null ) {
 + if ( distance . getFirst ( ) == NUMBER0 ) {
 + local = false ;
 + } else if ( previousDistance == null ) {
 if ( nextDistance == null
 || nextDistance . getFirst ( ) > distance . getFirst ( )
 || nextDistance . getSecond ( ) > distance . getSecond ( ) ) {

msg_token: Fix bug where same stop transfers were ignored in considering local stops


diff:
<nb>

 package NAMESPACE ;

 + import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 <nb> final class TitleRetriever extends SupplementalInfoRetriever {
 if ( m . find ( ) ) {
 String title = m . group ( NUMBER0 ) ;
 if ( title != null && ! title . isEmpty ( ) ) {
 + title = Html . fromHtml ( title ) . toString ( ) ;
 if ( title . length ( ) > MAX_TITLE_LEN ) {
 title = title . substring ( NUMBER1 , MAX_TITLE_LEN ) + STRING0 ;
 }

msg_token: Decode HTML entities in titles


diff:
<nb> public final class AudioAttributes implements Parcelable {
 COMMENT
 public final static int USAGE_NOTIFICATION_RINGTONE = NUMBER0 ;
 COMMENT
 - COMMENT
 - COMMENT
 - COMMENT
 - public final static int USAGE_NOTIFICATION_TELEPHONY_RINGTONE = USAGE_NOTIFICATION_RINGTONE ;
 - COMMENT
 COMMENT
 COMMENT
 COMMENT

msg_token: Remove obsolete USAGE_NOTIFICATION_TELEPHONY_RINGTONE definition


diff:
<nb> import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 - import NAMESPACE ;

 - @ test ( groups = STRING0 )
 public class TestHiveClient
 extends AbstractTestHiveClient
 {
 <nb> import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 import NAMESPACE ;
 - import NAMESPACE ;

 - @ test ( groups = STRING0 )
 public class TestHiveClientChunkIteratorBackPressure
 extends AbstractTestHiveClient
 {

msg_token: Remove unused annotations


diff:
<nb> public class PathTrieTests {
 assertThat ( trie . retrieve ( STRING0 , params ) , equalTo ( STRING1 ) ) ;
 assertThat ( params . get ( STRING2 ) , equalTo ( STRING3 ) ) ;
 }
 +
 + @ test public void testSameNameOnDifferentPath ( ) {
 + PathTrie < String > trie = new PathTrie < String > ( ) ;
 + trie . insert ( STRING4 , STRING5 ) ;
 + trie . insert ( STRING6 , STRING1 ) ;
 +
 + Map < String , String > params = newHashMap ( ) ;
 + assertThat ( trie . retrieve ( STRING7 , params ) , equalTo ( STRING5 ) ) ;
 + assertThat ( params . get ( STRING2 ) , equalTo ( STRING8 ) ) ;
 +
 + params . clear ( ) ;
 + assertThat ( trie . retrieve ( STRING0 , params ) , equalTo ( STRING1 ) ) ;
 + assertThat ( params . get ( STRING2 ) , equalTo ( STRING3 ) ) ;
 + }
 }

msg_token: add another path trie test


diff:
<nb> package NAMESPACE ;

 import NAMESPACE ;
 import NAMESPACE ;
 - import NAMESPACE ;

 public interface LanguageSourceSetInternal extends LanguageSourceSet {
 -
 - ModelType < LanguageSourceSet > PUBLIC_MODEL_TYPE = ModelType . of ( LanguageSourceSet . class ) ;
 -
 COMMENT
 COMMENT
 COMMENT
 String getProjectScopedName ( ) ;

 -
 COMMENT
 COMMENT
 COMMENT

msg_token: Removed unused field


diff:
<nb> final class WindowState implements WindowManagerPolicy . WindowState {
 SINGLE
 final int layoutXDiff ;
 final int layoutYDiff ;
 - if ( mInsetFrame . isEmpty ( ) && ( fullscreenTask || layoutInParentFrame ( ) ) ) {
 + if ( fullscreenTask || layoutInParentFrame ( ) ) {
 SINGLE
 mContainingFrame . set ( pf ) ;
 mDisplayFrame . set ( df ) ;

msg_token: Fixed bug with pop up window placement at the bottom in split screen


diff:
<nb> public abstract class AbstractPersistentMethods {
 throws IntrospectionException {
 super ( ) ;
 new DelegatingMetaClass ( theClass , this ) ;
 + this . clazz = theClass ;
 this . dynamicMethodInvocations = new ArrayList ( ) ;
 this . staticMethodInvocations = new ArrayList ( ) ;
 }

msg_token: fixed bug where local clazz field was not being set and then passed on as null


diff:
<nb> public class SearchManagerTest extends ActivityInstrumentationTestCase2 < LocalAct
 }

 COMMENT
 - COMMENT
 - COMMENT
 - COMMENT
 - @ mediumtest
 - public void testSearchManagerContextRestrictions ( ) {
 - SearchManager searchManager1 = ( SearchManager )
 - mContext . getSystemService ( Context . SEARCH_SERVICE ) ;
 - assertNotNull ( searchManager1 ) ;
 -
 - Context applicationContext = mContext . getApplicationContext ( ) ;
 - SINGLE
 - try {
 - applicationContext . getSystemService ( Context . SEARCH_SERVICE ) ;
 - assertFalse ( STRING0 , true ) ;
 - } catch ( AndroidRuntimeException e ) {
 - SINGLE
 - }
 - }
 -
 - COMMENT
 COMMENT
 COMMENT
 COMMENT

msg_token: Remove test for SearchManager activity context restriction


diff:
<nb> public class WelcomeActivity extends ThemeableActivity implements ICacheWordSubs
 if ( ! mDoLock )
 {
 mApp . maybeInit ( this ) ;
 - mApp . checkForCrashes ( this ) ;
 +
 }

 if ( ImApp . mUsingCacheword )

msg_token: don t show crash dialog here


diff:
<nb>
 specific language governing permissions and limitations
 under the License .
 COMMENT
 - p

 package NAMESPACE ;

 <nb>
 specific language governing permissions and limitations
 under the License .
 COMMENT
 - p

 package NAMESPACE ;

 <nb>
 specific language governing permissions and limitations
 under the License .
 COMMENT
 - p
 +

 package NAMESPACE ;

msg_token: Accidentally added stray char when changing the licence


diff:
<nb> public class RoutingRequest implements Cloneable , Serializable {
 public String getBannedRouteStr ( ) {
 return getRouteSetStr ( bannedRoutes ) ;
 }
 +
 + public void setMaxWalkDistance ( double maxWalkDistance ) {
 + this . maxWalkDistance = maxWalkDistance ;
 + if ( walkingOptions != null && walkingOptions != this ) {
 + this . walkingOptions . setMaxWalkDistance ( maxWalkDistance ) ;
 + }
 + }
 }

msg_token: propagate max walk distance to walking params


diff:
<nb> class Clicker {
 }

 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 COMMENT

 <nb> public class Solo {
 }

 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 - COMMENT
 + COMMENT
 COMMENT
 COMMENT

msg_token: Clarified javadoc for the clickOnEditText int method both in Solo and Clicker


diff:
<nb> public class AvroVersionedGenericSerializer implements Serializer < Object > {

 Integer version = Integer . valueOf ( bytes [ NUMBER0 ] ) ;

 + if ( version > newestVersion )
 + throw new SerializationException ( STRING0 ) ;
 +
 Schema typeDefWriter = Schema . parse ( typeDefVersions . get ( version ) ) ;

 byte [ ] dataBytes = new byte [ bytes . length - NUMBER1 ] ;
 <nb>
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 + COMMENT
 +
 package NAMESPACE ;

 import NAMESPACE ;

msg_token: Added check in serializer


diff:
<nb> public final class LeaderInquireClient {
 if ( masters . size ( ) >= NUMBER0 ) {
 if ( masters . size ( ) == NUMBER0 ) {
 String leader = masters . get ( NUMBER1 ) ;
 - LOG . info ( STRING0 + leader ) ;
 return leader ;
 }

msg_token: Remove extraneous log message