File size: 27,650 Bytes
58725b9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
{"diff": "<nb> import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n + import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n <nb> public class ContactHeaderWidget extends FrameLayout implements View . OnClickList \n public void bindFromEmail ( String emailAddress ) { \n Cursor c = null ; \n try { \n - c = mContentResolver . query ( Uri . withAppendedPath ( \n - RawContacts . CONTENT_FILTER_EMAIL_URI , Uri . encode ( emailAddress ) ) , \n - EMAIL_LOOKUP_PROJECTION , null , null , null ) ; \n + c = mContentResolver . query ( Uri . withAppendedPath ( Email . CONTENT_FILTER_EMAIL_URI , Uri \n + . encode ( emailAddress ) ) , EMAIL_LOOKUP_PROJECTION , null , null , null ) ; \n if ( c != null && c . moveToFirst ( ) ) { \n long contactId = c . getLong ( EMAIL_LOOKUP_CONTACT_ID_COLUMN_INDEX ) ; \n bindFromContactId ( contactId ) ;", "msg_token": "Don t use deprecated API in contact header widget"}
{"diff": "<nb> public class RecordProjectOperator \n Page page = pageBuilder . build ( ) ; \n pageBuilder . reset ( ) ; \n \n - operatorContext . recordGeneratedInput ( page . getDataSize ( ) , page . getPositionCount ( ) ) ; \n - \n return page ; \n } \n }", "msg_token": "Don t double count bytes and rows in RecordProjectOperator"}
{"diff": "<nb> public class JSONPropertySupport { \n public static < T > T getValueFromJSON ( AbstractModel model , JSONProperty < T > property , Type javaType ) { \n if ( ! model . hasTransitory ( property . getName ( ) ) ) { \n T data = null ; \n - if ( model . containsNonNullValue ( property ) ) { \n - String value = model . get ( property ) ; \n + String value = model . get ( property ) ; SINGLE \n + if ( value != null ) { \n try { \n if ( MAPPER == null ) { \n 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 \n \n if ( nameAttributes == null ) nameAttributes = new SimpleTextAttributes ( Font . PLAIN , color ) ; \n \n + assert name != null : STRING0 + element ; \n append ( name , nameAttributes ) ; \n setIcon ( PsiElementListCellRenderer . this . getIcon ( element ) ) ;", "msg_token": "implement getPresentableText for alias statements"}
{"diff": "<nb> public class FirstUsageWizardFragment extends Fragment implements OsmAndLocation \n view . findViewById ( R . id . map_downloading_action_button ) . setOnClickListener ( new View . OnClickListener ( ) { \n @ override \n public void onClick ( View v ) { \n - showOnMap ( new LatLon ( location . getLatitude ( ) , location . getLongitude ( ) ) , NUMBER0 ) ; \n + if ( location != null ) { \n + showOnMap ( new LatLon ( location . getLatitude ( ) , location . getLongitude ( ) ) , NUMBER0 ) ; \n + } \n } \n } ) ; \n view . findViewById ( R . id . map_downloading_card ) . setVisibility ( View . VISIBLE ) ;", "msg_token": "Fix first usage wizard"}
{"diff": "<nb> public class Ls extends NeoApp \n displayProperties = true ; \n displayRelationships = true ; \n } \n - Node node = this . getCurrentNode ( session ) ; \n + \n + Node node = null ; \n + if ( parser . arguments ( ) . isEmpty ( ) ) \n + { \n + node = this . getCurrentNode ( session ) ; \n + } \n + else \n + { \n + node = this . getNodeById ( \n + Long . parseLong ( parser . arguments ( ) . get ( NUMBER0 ) ) ) ; \n + } \n + \n this . displayProperties ( node , out , displayProperties , displayValues , \n verbose ) ; \n this . displayRelationships ( parser , node , out , displayRelationships ) ;", "msg_token": "Added ls node id possibility"}
{"diff": "<nb> public class ResolverActivity extends Activity implements AdapterView . OnItemClic \n } \n \n final Intent intent = intentForDisplayResolveInfo ( dri ) ; \n - onIntentSelected ( dri . ri , intent , mAlwaysUseOption ) ; \n + onIntentSelected ( dri . ri , intent , false ) ; \n finish ( ) ; \n } \n } ) ;", "msg_token": "Never set Work or Personal apps as prefered activities"}
{"diff": "<nb> public class TaskController extends AbstractController { \n COMMENT \n public Cursor getBackupTaskListCursor ( ) { \n return database . query ( tasksTable , TaskModelForXml . FIELD_LIST , \n - AbstractTaskModel . PROGRESS_PERCENTAGE + STRING0 + \n - AbstractTaskModel . COMPLETE_PERCENTAGE , null , null , null , \n + null , null , null , null , \n null , null ) ; \n }", "msg_token": "Legacy backup now backs up completed tasks"}
{"diff": "<nb> \n package NAMESPACE ; \n \n import NAMESPACE ; \n - import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n + import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n \n <nb> public final class MUCRoomHistory { \n } \n } \n \n + SINGLE \n + if ( ( packet . getSubject ( ) == null || STRING0 . equals ( packet . getSubject ( ) . trim ( ) ) ) && \n + ( packet . getBody ( ) == null || STRING0 . equals ( packet . getBody ( ) . trim ( ) ) ) ) { \n + return ; \n + } \n + \n Message packetToAdd = packet . createCopy ( ) ; \n \n SINGLE", "msg_token": "Ignore messages with no body and no subject"}
{"diff": "<nb> public class MapActivity extends AccessibleActivity implements DownloadEvents , \n System . err . println ( STRING0 + ( System . currentTimeMillis ( ) - tm ) + STRING1 ) ; \n } \n \n - if ( ! permissionDone && ! app . getAppInitializer ( ) . isFirstTime ( ) ) { \n + if ( ! permissionDone ) { \n if ( ! permissionAsked ) { \n if ( app . isExternalStorageDirectoryReadOnly ( ) \n && getSupportFragmentManager ( ) . findFragmentByTag ( DataStoragePlaceDialogFragment . TAG ) == null ) {", "msg_token": "Revert Skip permission and storage dialog first time"}
{"diff": "<nb> import NAMESPACE ; \n COMMENT \n COMMENT \n COMMENT \n + COMMENT \n + COMMENT \n COMMENT \n COMMENT \n 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 > { \n COMMENT \n COMMENT \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n COMMENT \n COMMENT \n <nb> public class Observable < T > { \n COMMENT \n COMMENT \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n COMMENT \n COMMENT \n <nb> public class Single < T > { \n COMMENT \n COMMENT \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n COMMENT \n COMMENT", "msg_token": "Fix delay methods typos in documenation"}
{"diff": "<nb> import NAMESPACE ; \n COMMENT \n COMMENT \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n COMMENT \n COMMENT", "msg_token": "Replace p with p in a Javadoc comment"}
{"diff": "<nb> public class BasicExpressionTypingVisitor extends ExpressionTypingVisitor { \n if ( labelName != null ) { \n LabelResolver . LabeledReceiverResolutionResult resolutionResult = \n LabelResolver . INSTANCE . resolveThisOrSuperLabel ( expression , context , Name . identifier ( labelName ) ) ; \n - if ( onlyClassReceivers && resolutionResult . success ( ) ) { \n - if ( ! isDeclaredInClass ( resolutionResult . getReceiverParameterDescriptor ( ) ) ) { \n + if ( resolutionResult . success ( ) ) { \n + ReceiverParameterDescriptor receiverParameterDescriptor = resolutionResult . getReceiverParameterDescriptor ( ) ; \n + recordThisOrSuperCallInTraceAndCallExtension ( context , receiverParameterDescriptor , expression ) ; \n + if ( onlyClassReceivers && ! isDeclaredInClass ( receiverParameterDescriptor ) ) { \n return LabelResolver . LabeledReceiverResolutionResult . labelResolutionSuccess ( NO_RECEIVER_PARAMETER ) ; \n } \n } \n <nb> public class BasicExpressionTypingVisitor extends ExpressionTypingVisitor { \n if ( result != NO_RECEIVER_PARAMETER ) { \n context . trace . record ( REFERENCE_TARGET , expression . getInstanceReference ( ) , result . getContainingDeclaration ( ) ) ; \n recordThisOrSuperCallInTraceAndCallExtension ( context , result , expression ) ; \n - \n } \n return LabelResolver . LabeledReceiverResolutionResult . labelResolutionSuccess ( result ) ; \n }", "msg_token": "Record resolved calls for labeled this expressions"}
{"diff": "<nb> \n \n package NAMESPACE ; \n \n + import NAMESPACE ; \n + \n import NAMESPACE ; \n \n public class Classifier", "msg_token": "Add missing import"}
{"diff": "<nb> public class ArgDelegationActivator \n COMMENT \n COMMENT \n COMMENT \n - public void start ( BundleContext context ) throws Exception \n + public void start ( BundleContext bc ) throws Exception \n { \n bundleContext = bc ; \n delegationPeer = new ArgDelegationPeerImpl ( bc ) ;", "msg_token": "Fixes a wrong var name argh i am getting too distracted"}
{"diff": "<nb> public class State implements Cloneable { \n return stateData . serviceDay ; \n } \n \n - public void setServiceDay ( ServiceDay sd ) { \n - stateData . serviceDay = sd ; \n - } \n - \n public Set < String > getBikeRentalNetworks ( ) { \n return stateData . bikeRentalNetworks ; \n }", "msg_token": "Remove setter from State"}
{"diff": "<nb> public class ContributionListPanel extends JPanel implements Scrollable , Contrib \n boolean isFlagged = ContributionManager . isFlaggedForDeletion ( contrib ) ; \n if ( isFlagged ) { \n description . append ( ContributionListPanel . DELETION_MESSAGE ) ; \n - } else if ( contrib . getSentence ( ) != null ) { \n - String sentence = ContributionListPanel . sanitizeHtmlTags ( contrib . getSentence ( ) ) ; \n - sentence = ContributionListPanel . toHtmlLinks ( sentence ) ; \n + } else { \n + String sentence = contrib . getSentence ( ) ; \n + \n + if ( sentence == null || sentence . isEmpty ( ) ) { \n + sentence = STRING0 ; \n + } else { \n + sentence = ContributionListPanel . sanitizeHtmlTags ( sentence ) ; \n + sentence = ContributionListPanel . toHtmlLinks ( sentence ) ; \n + } \n + \n description . append ( sentence ) ; \n }", "msg_token": "Added Description unavailable"}
{"diff": "<nb> public class PyPackageManager { \n runPythonHelper ( PACKAGING_TOOL , args ) ; \n } \n \n + public void install ( @ notnull PyRequirement requirement ) throws PyExternalProcessException { \n + myPackagesCache = null ; \n + final List < String > args = new ArrayList < String > ( ) ; \n + args . add ( STRING0 ) ; \n + args . add ( requirement . toString ( ) ) ; \n + runPythonHelper ( PACKAGING_TOOL , args ) ; \n + } \n + \n + @ deprecated \n public void install ( @ notnull PyPackage pkg ) throws PyExternalProcessException { \n SINGLE \n myPackagesCache = null ;", "msg_token": "added checkbox for package version"}
{"diff": "<nb> import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n - import NAMESPACE ; ; \n + import NAMESPACE ; \n import NAMESPACE ; \n \n import NAMESPACE ;", "msg_token": "Fix compilation failures"}
{"diff": "<nb> \n COMMENT \n package NAMESPACE ; \n \n + import NAMESPACE ; \n + import NAMESPACE ; \n + \n import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n \n - import NAMESPACE ; \n - import NAMESPACE ; \n - \n public abstract class SupposeThreadHandler extends BaseAnnotationHandler < EComponentHolder > { \n \n public SupposeThreadHandler ( Class < ? > targetClass , ProcessingEnvironment processingEnvironment ) { \n <nb> public abstract class SupposeThreadHandler extends BaseAnnotationHandler < ECompon \n protected void validate ( Element element , AnnotationElements validatedElements , IsValid valid ) { \n validatorHelper . enclosingElementHasEnhancedComponentAnnotation ( element , validatedElements , valid ) ; \n validatorHelper . isNotPrivate ( element , valid ) ; \n + validatorHelper . isNotFinal ( element , valid ) ; \n } \n \n }", "msg_token": "Fix validation of SupposeXXX"}
{"diff": "<nb> public class RestrictionsManager { \n COMMENT \n COMMENT \n COMMENT \n - COMMENT \n + COMMENT \n + COMMENT \n COMMENT \n COMMENT \n COMMENT", "msg_token": "Fixed a typo in convertRestrictionsToBundle JavaDoc"}
{"diff": "<nb> public class AntScriptGenerator { \n for ( int i = NUMBER0 ; i < libsDirs . size ( ) ; i ++ ) { \n pack . append ( STRING0 + libsDirs . get ( i ) + STRING1 + sharedLibFiles . get ( i ) + STRING2 ) ; \n } \n + \n + if ( config . sharedLibs != null ) { \n + for ( String sharedLib : config . sharedLibs ) { \n + pack . append ( STRING0 + sharedLib + STRING2 ) ; \n + } \n + } \n \n template = template . replace ( STRING3 , config . sharedLibName + STRING4 ) ; \n template = template . replace ( STRING5 , clean . toString ( ) ) ; \n <nb> public class BuildConfig { \n public final FileDescriptor libsDir ; \n COMMENT \n public final FileDescriptor jniDir ; \n + COMMENT \n + public String [ ] sharedLibs ; \n \n COMMENT \n COMMENT", "msg_token": "added shared libs linking to jnigen"}
{"diff": "<nb> public class XMPPTCPConnection extends XMPPConnection { \n COMMENT \n COMMENT \n COMMENT \n - void streamCompressionDenied ( ) { \n - synchronized ( this ) { \n - this . notify ( ) ; \n - } \n + synchronized void streamCompressionDenied ( ) { \n + this . notify ( ) ; \n } \n \n COMMENT", "msg_token": "Replace sync block with sync method"}
{"diff": "<nb> public class NativeApiPatchingTestCase extends AbstractPatchingTestCase { \n } \n \n private ModelControllerClient getControllerClient ( ) throws UnknownHostException { \n - return ModelControllerClient . Factory . create ( System . getProperty ( STRING0 , STRING1 ) , NUMBER0 ) ; \n + return ModelControllerClient . Factory . create ( STRING2 , System . getProperty ( STRING0 , STRING1 ) , NUMBER1 ) ; \n } \n \n }", "msg_token": "Convert test to http remoting"}
{"diff": "<nb> class IRFactory { \n \n private boolean validAssignmentTarget ( Node target ) { \n switch ( target . getType ( ) ) { \n + case Token . CAST : SINGLE \n case Token . NAME : \n case Token . GETPROP : \n case Token . GETELEM : \n <nb> public class IntegrationTest extends IntegrationTestCase { \n STRING0 ) ; \n } \n \n + public void testLhsCast ( ) { \n + CompilerOptions options = createCompilerOptions ( ) ; \n + test ( \n + options , \n + STRING1 + \n + STRING2 , \n + STRING1 + \n + STRING3 ) ; \n + } \n + \n public void testRenamePrefix ( ) { \n String code = STRING4 ; \n CompilerOptions options = createCompilerOptions ( ) ;", "msg_token": "fix a cryptic warning due to an equally cryptic cast"}
{"diff": "<nb> public class ReportGenerator implements Job { \n try { \n generateReports ( context . getJobDetail ( ) . getDescription ( ) , context . getJobDetail ( ) . getJobDataMap ( ) ) ; \n } catch ( Exception e ) { \n - e . printStackTrace ( ) ; \n - LOGGER . error ( e . toString ( ) ) ; \n + LOGGER . error ( STRING0 , e ) ; \n } \n } \n \n <nb> public class ReportGenerator implements Job { \n reportEmailSender . emailReport ( ) ; \n \n } catch ( IOException e ) { \n - e . printStackTrace ( ) ; \n - LOGGER . error ( e . toString ( ) ) ; \n + LOGGER . error ( STRING1 , e ) ; \n } \n }", "msg_token": "Add support for ratio of metrics to thirdeye reporting"}
{"diff": "<nb> public class PVector { \n return this . x * x + this . y * y + this . z * z ; \n } \n \n + \n + static public float dot ( PVector v1 , PVector v2 ) { \n + return v1 . x * v2 . x + v1 . y * v2 . y + v1 . z * v2 . z ; \n + } \n \n COMMENT \n COMMENT", "msg_token": "Added static dot PVector v1 PVector v2 to PVector"}
{"diff": "<nb> public class LogView extends Request { \n } \n \n private String getOutputLogStem ( ) { \n - String pattern = STRING0 ; \n + String pattern = STRING1 ; \n SimpleDateFormat formatter = new SimpleDateFormat ( pattern ) ; \n String now = formatter . format ( new Date ( ) ) ; \n \n - return STRING2 + now ; \n + return STRING3 + now ; \n } \n \n 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 \n historySizeSpinner . setEnabled ( false ) ; \n } \n \n + if ( ! ConfigurationManager . isHistoryShown ( ) ) \n + { \n + historySizeSpinner . setEnabled ( false ) ; \n + } \n + \n sendMessageComboBox . setSelectedItem ( \n ConfigurationManager . getSendMessageCommand ( ) ) ;", "msg_token": "Disable chat history size box if the Show history checkbox is false"}
{"diff": "<nb> \n package NAMESPACE ; \n \n - import NAMESPACE ; \n - import NAMESPACE ; \n + import NAMESPACE ; \n \n import NAMESPACE ; \n \n <nb> public class SetColumnNames extends Request { \n @ override protected Response serve ( ) { \n ValueArray tgt = _tgtKey . value ( ) ; \n tgt . setColumnNames ( _srcKey . value ( ) . colNames ( ) ) ; \n + SINGLE \n + SINGLE \n + Futures fs = new Futures ( ) ; \n + DKV . put ( tgt . _key , tgt , fs ) ; \n + fs . blockForPending ( ) ; \n return Inspect . redirect ( new JsonObject ( ) , tgt . _key ) ; \n } \n public static String link ( Key k , String s ) {", "msg_token": "Fix header names not getting written back"}
{"diff": "<nb> public enum ActiveThreadCountErrorType { \n UNSUPPORTED_VERSION ( ( short ) NUMBER0 , STRING0 , StreamCode . TYPE_UNSUPPORT . name ( ) ) , \n CLUSTER_OPTION_NOT_SET ( ( short ) NUMBER1 , STRING1 , StreamCode . CONNECTION_UNSUPPORT . name ( ) ) , \n \n + TIMEOUT ( ( short ) NUMBER2 , STRING2 , TRouteResult . TIMEOUT . name ( ) ) , \n + \n NOT_FOUND ( ( short ) - NUMBER3 , STRING3 , StreamCode . CONNECTION_NOT_FOUND . name ( ) ) , \n CLUSTER_CHANNEL_CLOSED ( ( short ) - NUMBER3 , STRING4 , StreamCode . STATE_CLOSED . name ( ) ) , \n - TIMEOUT ( ( short ) - NUMBER3 , STRING2 , TRouteResult . TIMEOUT . name ( ) ) , \n PINPOINT_INTERNAL_ERROR ( ( short ) - NUMBER3 , STRING5 ) ; \n \n 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 { \n context . startService ( intent ) ; \n } \n \n + public static void stopService ( Context context ) { \n + if ( context == null ) return ; \n + \n + Intent intent = new Intent ( context , PlanUpdateService . class ) ; \n + context . stopService ( intent ) ; \n + } \n + \n @ override \n public IBinder onBind ( Intent intent ) { \n return null ; \n <nb> public class PlansActivity extends AppCompatActivity { \n } ) ; \n } \n \n + @ override \n + protected void onDestroy ( ) { \n + PlanUpdateService . stopService ( this ) ; \n + super . onDestroy ( ) ; \n + } \n + \n private void updatePurchaseUI ( int position ) { \n Fragment fragment = getPageAdapter ( ) . getItem ( position ) ; \n if ( ! ( fragment instanceof PlanFragment ) ) {", "msg_token": "Stop service when activity is destroyed"}
{"diff": "<nb> \n COMMENT \n package NAMESPACE ; \n \n + import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n <nb> public abstract class BasicAction extends DumbAwareAction { \n SINGLE \n \n presentation . setEnabled ( enabled ) ; \n - presentation . setVisible ( enabled ) ; \n + if ( ActionPlaces . isPopupPlace ( e . getPlace ( ) ) ) { \n + presentation . setVisible ( enabled ) ; \n + } \n + else { \n + presentation . setVisible ( true ) ; \n + } \n } \n \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n COMMENT \n COMMENT", "msg_token": "showing disabled actions in main menu"}
{"diff": "<nb> package NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n \n + import NAMESPACE ; \n import NAMESPACE ; \n \n public abstract class Screen { \n protected static Random random = new Random ( ) ; \n private Metagun metagun ; \n + protected SpriteBatch spriteBatch = new SpriteBatch ( NUMBER0 ) ; \n \n - public void removed ( ) { \n + public void removed ( ) { \n + spriteBatch . dispose ( ) ; \n } \n \n public final void init ( Metagun metagun ) {", "msg_token": "changed small change to metagun Screen"}
{"diff": "<nb> public class LocalStopFinder { \n } \n } \n } \n - \n + \n SINGLE \n \n neighborhoods = new HashMap < Stop , HashMap < TableTripPattern , P2 < Double > > > ( ) ; \n <nb> public class LocalStopFinder { \n P2 < Double > distance = entry . getValue ( ) ; \n P2 < Double > previousDistance = previousDistances . get ( key ) ; \n P2 < Double > nextDistance = nextDistances . get ( key ) ; \n - if ( previousDistance == null ) { \n + if ( distance . getFirst ( ) == NUMBER0 ) { \n + local = false ; \n + } else if ( previousDistance == null ) { \n if ( nextDistance == null \n || nextDistance . getFirst ( ) > distance . getFirst ( ) \n || nextDistance . getSecond ( ) > distance . getSecond ( ) ) {", "msg_token": "Fix bug where same stop transfers were ignored in considering local stops"}
{"diff": "<nb> \n \n package NAMESPACE ; \n \n + import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n <nb> final class TitleRetriever extends SupplementalInfoRetriever { \n if ( m . find ( ) ) { \n String title = m . group ( NUMBER0 ) ; \n if ( title != null && ! title . isEmpty ( ) ) { \n + title = Html . fromHtml ( title ) . toString ( ) ; \n if ( title . length ( ) > MAX_TITLE_LEN ) { \n title = title . substring ( NUMBER1 , MAX_TITLE_LEN ) + STRING0 ; \n }", "msg_token": "Decode HTML entities in titles"}
{"diff": "<nb> public final class AudioAttributes implements Parcelable { \n COMMENT \n public final static int USAGE_NOTIFICATION_RINGTONE = NUMBER0 ; \n COMMENT \n - COMMENT \n - COMMENT \n - COMMENT \n - public final static int USAGE_NOTIFICATION_TELEPHONY_RINGTONE = USAGE_NOTIFICATION_RINGTONE ; \n - COMMENT \n COMMENT \n COMMENT \n COMMENT", "msg_token": "Remove obsolete USAGE_NOTIFICATION_TELEPHONY_RINGTONE definition"}
{"diff": "<nb> import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n - import NAMESPACE ; \n \n - @ test ( groups = STRING0 ) \n public class TestHiveClient \n extends AbstractTestHiveClient \n { \n <nb> import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n import NAMESPACE ; \n - import NAMESPACE ; \n \n - @ test ( groups = STRING0 ) \n public class TestHiveClientChunkIteratorBackPressure \n extends AbstractTestHiveClient \n {", "msg_token": "Remove unused annotations"}
{"diff": "<nb> public class PathTrieTests { \n assertThat ( trie . retrieve ( STRING0 , params ) , equalTo ( STRING1 ) ) ; \n assertThat ( params . get ( STRING2 ) , equalTo ( STRING3 ) ) ; \n } \n + \n + @ test public void testSameNameOnDifferentPath ( ) { \n + PathTrie < String > trie = new PathTrie < String > ( ) ; \n + trie . insert ( STRING4 , STRING5 ) ; \n + trie . insert ( STRING6 , STRING1 ) ; \n + \n + Map < String , String > params = newHashMap ( ) ; \n + assertThat ( trie . retrieve ( STRING7 , params ) , equalTo ( STRING5 ) ) ; \n + assertThat ( params . get ( STRING2 ) , equalTo ( STRING8 ) ) ; \n + \n + params . clear ( ) ; \n + assertThat ( trie . retrieve ( STRING0 , params ) , equalTo ( STRING1 ) ) ; \n + assertThat ( params . get ( STRING2 ) , equalTo ( STRING3 ) ) ; \n + } \n }", "msg_token": "add another path trie test"}
{"diff": "<nb> package NAMESPACE ; \n \n import NAMESPACE ; \n import NAMESPACE ; \n - import NAMESPACE ; \n \n public interface LanguageSourceSetInternal extends LanguageSourceSet { \n - \n - ModelType < LanguageSourceSet > PUBLIC_MODEL_TYPE = ModelType . of ( LanguageSourceSet . class ) ; \n - \n COMMENT \n COMMENT \n COMMENT \n String getProjectScopedName ( ) ; \n \n - \n COMMENT \n COMMENT \n COMMENT", "msg_token": "Removed unused field"}
{"diff": "<nb> final class WindowState implements WindowManagerPolicy . WindowState { \n SINGLE \n final int layoutXDiff ; \n final int layoutYDiff ; \n - if ( mInsetFrame . isEmpty ( ) && ( fullscreenTask || layoutInParentFrame ( ) ) ) { \n + if ( fullscreenTask || layoutInParentFrame ( ) ) { \n SINGLE \n mContainingFrame . set ( pf ) ; \n mDisplayFrame . set ( df ) ;", "msg_token": "Fixed bug with pop up window placement at the bottom in split screen"}
{"diff": "<nb> public abstract class AbstractPersistentMethods { \n throws IntrospectionException { \n super ( ) ; \n new DelegatingMetaClass ( theClass , this ) ; \n + this . clazz = theClass ; \n this . dynamicMethodInvocations = new ArrayList ( ) ; \n this . staticMethodInvocations = new ArrayList ( ) ; \n }", "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 \n } \n \n COMMENT \n - COMMENT \n - COMMENT \n - COMMENT \n - @ mediumtest \n - public void testSearchManagerContextRestrictions ( ) { \n - SearchManager searchManager1 = ( SearchManager ) \n - mContext . getSystemService ( Context . SEARCH_SERVICE ) ; \n - assertNotNull ( searchManager1 ) ; \n - \n - Context applicationContext = mContext . getApplicationContext ( ) ; \n - SINGLE \n - try { \n - applicationContext . getSystemService ( Context . SEARCH_SERVICE ) ; \n - assertFalse ( STRING0 , true ) ; \n - } catch ( AndroidRuntimeException e ) { \n - SINGLE \n - } \n - } \n - \n - COMMENT \n COMMENT \n COMMENT \n COMMENT", "msg_token": "Remove test for SearchManager activity context restriction"}
{"diff": "<nb> public class WelcomeActivity extends ThemeableActivity implements ICacheWordSubs \n if ( ! mDoLock ) \n { \n mApp . maybeInit ( this ) ; \n - mApp . checkForCrashes ( this ) ; \n + \n } \n \n if ( ImApp . mUsingCacheword )", "msg_token": "don t show crash dialog here"}
{"diff": "<nb> \n specific language governing permissions and limitations \n under the License . \n COMMENT \n - p \n \n package NAMESPACE ; \n \n <nb> \n specific language governing permissions and limitations \n under the License . \n COMMENT \n - p \n \n package NAMESPACE ; \n \n <nb> \n specific language governing permissions and limitations \n under the License . \n COMMENT \n - p \n + \n \n package NAMESPACE ;", "msg_token": "Accidentally added stray char when changing the licence"}
{"diff": "<nb> public class RoutingRequest implements Cloneable , Serializable { \n public String getBannedRouteStr ( ) { \n return getRouteSetStr ( bannedRoutes ) ; \n } \n + \n + public void setMaxWalkDistance ( double maxWalkDistance ) { \n + this . maxWalkDistance = maxWalkDistance ; \n + if ( walkingOptions != null && walkingOptions != this ) { \n + this . walkingOptions . setMaxWalkDistance ( maxWalkDistance ) ; \n + } \n + } \n }", "msg_token": "propagate max walk distance to walking params"}
{"diff": "<nb> class Clicker { \n } \n \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n COMMENT \n \n <nb> public class Solo { \n } \n \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n - COMMENT \n + COMMENT \n COMMENT \n COMMENT", "msg_token": "Clarified javadoc for the clickOnEditText int method both in Solo and Clicker"}
{"diff": "<nb> public class AvroVersionedGenericSerializer implements Serializer < Object > { \n \n Integer version = Integer . valueOf ( bytes [ NUMBER0 ] ) ; \n \n + if ( version > newestVersion ) \n + throw new SerializationException ( STRING0 ) ; \n + \n Schema typeDefWriter = Schema . parse ( typeDefVersions . get ( version ) ) ; \n \n byte [ ] dataBytes = new byte [ bytes . length - NUMBER1 ] ; \n <nb> \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + COMMENT \n + \n package NAMESPACE ; \n \n import NAMESPACE ;", "msg_token": "Added check in serializer"}
{"diff": "<nb> public final class LeaderInquireClient { \n if ( masters . size ( ) >= NUMBER0 ) { \n if ( masters . size ( ) == NUMBER0 ) { \n String leader = masters . get ( NUMBER1 ) ; \n - LOG . info ( STRING0 + leader ) ; \n return leader ; \n }", "msg_token": "Remove extraneous log message"}
|