lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | f94237b3451c3487004420147653e1f35f718bea | 0 | wso2/carbon-analytics,erangatl/carbon-analytics,Niveathika92/carbon-analytics,wso2/carbon-analytics,mohanvive/carbon-analytics,erangatl/carbon-analytics,minudika/carbon-analytics,wso2/carbon-analytics,Niveathika92/carbon-analytics,mohanvive/carbon-analytics,tishan89/carbon-analytics,minudika/carbon-analytics,erangatl/c... | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | components/org.wso2.carbon.stream.processor.core/src/test/java/org/wso2/carbon/stream/processor/core/HACoordinationSourceHandlerTest.java | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | Fix test cases
| components/org.wso2.carbon.stream.processor.core/src/test/java/org/wso2/carbon/stream/processor/core/HACoordinationSourceHandlerTest.java | Fix test cases | <ide><path>omponents/org.wso2.carbon.stream.processor.core/src/test/java/org/wso2/carbon/stream/processor/core/HACoordinationSourceHandlerTest.java
<ide> InputHandler inputHandler = mock(InputHandler.class);
<ide> doNothing().when(inputHandler).send(any(Event.class));
<ide> haCoordinationSourceH... | |
Java | agpl-3.0 | 6c3c3657ec18fa842a42887bcfb3cf12b31651f0 | 0 | smith750/kfs,kuali/kfs,kkronenb/kfs,quikkian-ua-devops/will-financials,UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,kuali/kfs,UniversityOfHawaii/kfs,smith750/kfs,kuali/kfs,smith750/kfs,ua-eas/kfs,ua-eas/kfs-devops-automation-fork,quikkian... | /*
* Copyright 2006-2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless required b... | work/src/org/kuali/kfs/module/purap/document/web/struts/PurchaseOrderForm.java | /*
* Copyright 2006-2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless required b... | KULPURAP-3575
| work/src/org/kuali/kfs/module/purap/document/web/struts/PurchaseOrderForm.java | KULPURAP-3575 | <ide><path>ork/src/org/kuali/kfs/module/purap/document/web/struts/PurchaseOrderForm.java
<ide> boolean can = PurchaseOrderStatuses.OPEN.equals(getPurchaseOrderDocument().getStatusCode());
<ide> can = can && getPurchaseOrderDocument().isPurchaseOrderCurrentIndicator() && !getPurchaseOrderDocument().isPen... | |
JavaScript | mit | ef316c81a0ab806ff27f5db06890d492cce7a690 | 0 | novanet-libraries/new-ui-packages,novanet-libraries/new-ui-packages | (function () {
"use strict";
var app = angular.module('centralCustom', ['angularLoad']);
//all of this code just adds a note to the hold request form in Primo.
app.component('prmRequestAfter', {
bindings: {
parentCtrl: '<'
},
controller: 'PrimoRequestAfterController'
}).controller('PrimoRe... | CENTRAL_PACKAGE/js/custom.js | (function () {
"use strict";
var app = angular.module('centralCustom', ['angularLoad']);
//all of this code just adds a note to the hold request form in Primo.
app.component('prmRequestAfter', {
bindings: {
parentCtrl: '<'
},
controller: 'PrimoRequestAfterController'
}).controller('PrimoRe... | hotfix - missed one domain change for ca.libraryh3lp.com
| CENTRAL_PACKAGE/js/custom.js | hotfix - missed one domain change for ca.libraryh3lp.com | <ide><path>ENTRAL_PACKAGE/js/custom.js
<ide> ctrl = this,
<ide> chatWindow = null,
<ide> chatUrl = (function(){
<del> var url = 'https://ca.libraryh3lp.com/chat/novanet@chat.libraryh3lp.com',
<add> var url = 'https://ca.libraryh3lp.com/chat/novanet@chat.ca.li... | |
JavaScript | apache-2.0 | fd815555ada74453ebe81aa94c36d4c3f6c77298 | 0 | folio-org/stripes-core,folio-org/stripes-core,folio-org/stripes-core | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { isEqual } from 'lodash';
import { Dropdown } from '@folio/stripes-components/lib/Dropdown'; // eslint-disable-line
import { withRouter } from 'react-router';
import localforage from 'localforage';
import { modules } from 'stripes-c... | src/components/MainNav/MainNav.js | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { isEqual } from 'lodash';
import { Dropdown } from '@folio/stripes-components/lib/Dropdown'; // eslint-disable-line
import { withRouter } from 'react-router';
import localforage from 'localforage';
import { modules } from 'stripes-c... | Cleanup
| src/components/MainNav/MainNav.js | Cleanup | <ide><path>rc/components/MainNav/MainNav.js
<ide> this.store.subscribe(() => {
<ide> const { history, location } = this.props;
<ide> const module = this.curModule;
<del> if (module && module.queryResource && location.pathname.startsWith(module.route)) {
<add> if (module && location.pathname.st... | |
JavaScript | mit | 396fc16732ccc094c0a0efd243c9bbeb7a64f1c9 | 0 | Heigvd/Wegas,Heigvd/Wegas,Heigvd/Wegas,Heigvd/Wegas,Heigvd/Wegas | angular.module('wegas.models.scenarios', [])
.service('ScenariosModel', function($http, $q, $interval, $translate, Auth, Responses) {
"use strict";
var model = this,
ServiceURL = window.ServiceURL,
getPath = function(status) {
return ServiceURL + "rest/Lobby/G... | wegas-app/src/main/webapp/wegas-lobby/src/app/commons/models/scenarios-model.js | angular.module('wegas.models.scenarios', [])
.service('ScenariosModel', function($http, $q, $interval, $translate, Auth, Responses) {
"use strict";
var model = this,
ServiceURL = window.ServiceURL,
getPath = function(status) {
return ServiceURL + "rest/Lobby/G... | Fix gamemodel lobby
* fix #1342 | wegas-app/src/main/webapp/wegas-lobby/src/app/commons/models/scenarios-model.js | Fix gamemodel lobby | <ide><path>egas-app/src/main/webapp/wegas-lobby/src/app/commons/models/scenarios-model.js
<ide> });
<ide>
<ide> if (scenarioSetted) {
<del> var url = "rest/Public/GameModel/" + scenarioBeforeChange.id + "?view=Lobby";
<add> var url = "rest/Lobby/Gam... | |
Java | apache-2.0 | 7f9cea4e81f110db4b3401e46b6f90ff10936a68 | 0 | robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,grad... | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | subprojects/tooling-api/src/main/java/org/gradle/tooling/events/OperationDescriptor.java | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Minor change to @return of getDisplayName
| subprojects/tooling-api/src/main/java/org/gradle/tooling/events/OperationDescriptor.java | Minor change to @return of getDisplayName | <ide><path>ubprojects/tooling-api/src/main/java/org/gradle/tooling/events/OperationDescriptor.java
<ide> /**
<ide> * Returns a human consumable display name for the operation.
<ide> *
<del> * @return The name of the operation.
<add> * @return The display name of the operation.
<ide> */
<ide> ... | |
Java | apache-2.0 | 6cf22c8ba9f75b27a54fa79b700b98423eed8885 | 0 | google/closure-compiler,ChadKillingsworth/closure-compiler,monetate/closure-compiler,ChadKillingsworth/closure-compiler,ChadKillingsworth/closure-compiler,nawawi/closure-compiler,google/closure-compiler,google/closure-compiler,ChadKillingsworth/closure-compiler,nawawi/closure-compiler,google/closure-compiler,nawawi/clo... | /*
* Copyright 2017 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | src/com/google/javascript/jscomp/InvalidatingTypes.java | /*
* Copyright 2017 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Improve quadratic performance edge case in JSType->Color serialization
The problem: structural type hash codes are only based on their set of properties. This led to >4k structural JSTypes being hashed to the same bucket in the map in InvalidatingTypes for a very large Angular app.
The fix: avoid adding structural ty... | src/com/google/javascript/jscomp/InvalidatingTypes.java | Improve quadratic performance edge case in JSType->Color serialization | <ide><path>rc/com/google/javascript/jscomp/InvalidatingTypes.java
<ide> if (type.isTemplatizedType()) {
<ide> type = type.toMaybeTemplatizedType().getReferencedType();
<ide> }
<add> if (isAmbiguousOrStructuralType(type)) {
<add> // This type is inherently invalidating. Putting it in the ... | |
Java | apache-2.0 | 040ddd98a7a41397cabdcd5e10a385015597f985 | 0 | spinnaker/orca,duftler/orca,spinnaker/orca,ttomsu/orca,ajordens/orca,robfletcher/orca,cfieber/orca,robfletcher/orca,ttomsu/orca,spinnaker/orca,ajordens/orca,ajordens/orca,duftler/orca,robfletcher/orca,ajordens/orca,duftler/orca,ttomsu/orca,duftler/orca,cfieber/orca,ttomsu/orca,cfieber/orca,robfletcher/orca,cfieber/orca | /*
* Copyright 2018 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | orca-bakery/src/main/groovy/com/netflix/spinnaker/orca/bakery/tasks/manifests/CreateBakeManifestTask.java | /*
* Copyright 2018 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | fix(bake/manifest): propagate field change to orca (#2181)
Was sloppy in updating the UI's artifact fields, this needs to be
present in orca. | orca-bakery/src/main/groovy/com/netflix/spinnaker/orca/bakery/tasks/manifests/CreateBakeManifestTask.java | fix(bake/manifest): propagate field change to orca (#2181) | <ide><path>rca-bakery/src/main/groovy/com/netflix/spinnaker/orca/bakery/tasks/manifests/CreateBakeManifestTask.java
<ide> public TaskResult execute(@Nonnull Stage stage) {
<ide> Map<String, Object> context = stage.getContext();
<ide>
<del> List<ExpectedArtifactPair> expectedArtifacts = objectMapper.convertVal... | |
Java | apache-2.0 | ef5dedba079582f3863f9e6f849fd1d0b2d9d88b | 0 | underclocker/Blob-Game | package org.siggd.view;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONException;
import org.json.JSONObject;
import org.siggd.ControllerFilterAPI;
import org.siggd.DebugOutput;
import org.siggd.Game;
import org.siggd.Level;
import org.siggd.MenuController;
import org.siggd.Play... | BlobGame/src/org/siggd/view/MenuView.java | package org.siggd.view;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONException;
import org.json.JSONObject;
import org.siggd.ControllerFilterAPI;
import org.siggd.DebugOutput;
import org.siggd.Game;
import org.siggd.Level;
import org.siggd.MenuController;
import org.siggd.Play... | Opening changes
| BlobGame/src/org/siggd/view/MenuView.java | Opening changes | <ide><path>lobGame/src/org/siggd/view/MenuView.java
<ide> mHorizontalSpacing);
<ide>
<ide> mLevel1.put("level1_med", new SiggdImageButton("data/gfx/lvl1Down.png",
<del> "data/gfx/buttonDisabled.png", "opening_med"));
<add> "data/gfx/buttonDisabled.png", "level1_med"));
<ide> mLevel1.put("level7_med", new... | |
Java | apache-2.0 | df567b086e3a89f33b54108a441e19791fc94760 | 0 | huminzhi/SalesforceMobileSDK-Android,huminzhi/SalesforceMobileSDK-Android,huminzhi/SalesforceMobileSDK-Android | /*
* Copyright (c) 2011-2014, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software in source and binary forms, with or
* without modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright notice,... | libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/HttpAccess.java | /*
* Copyright (c) 2011-2014, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software in source and binary forms, with or
* without modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright notice,... | Fix for the elusive 'No authentication challenges found' bug in HttpUrlConnection
| libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/HttpAccess.java | Fix for the elusive 'No authentication challenges found' bug in HttpUrlConnection | <ide><path>ibs/SalesforceSDK/src/com/salesforce/androidsdk/auth/HttpAccess.java
<ide> outputStream.write(content);
<ide> }
<ide> }
<del> final int statusCode = httpConn.getResponseCode();
<add> int statusCode;
<add> try {
<add> statusCode = httpConn.getResponseCode()... | |
JavaScript | lgpl-2.1 | 8e8533ca5735d7b872901c555bfe8f01505c1c1c | 0 | vrutkovs/vrutkovs.github.io,GNOME/gnome-ostree,vrutkovs/vrutkovs.github.io,vrutkovs/vrutkovs.github.io,chergert/gnome-continuous,chergert/gnome-continuous,chergert/gnome-continuous,GNOME/gnome-ostree,GNOME/gnome-ostree | // Copyright (C) 2012,2013 Colin Walters <walters@verbum.org>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later versi... | src/js/builtins/autobuilder.js | // Copyright (C) 2012,2013 Colin Walters <walters@verbum.org>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later versi... | autobuilder: Fix resolve queueing
| src/js/builtins/autobuilder.js | autobuilder: Fix resolve queueing | <ide><path>rc/js/builtins/autobuilder.js
<ide>
<ide> queueResolve: function(srcUrls) {
<ide> print("Queuing force resolve for " + JSON.stringify(srcUrls));
<del> this._resolveSrcUrls.push.apply(srcUrls);
<add> this._resolveSrcUrls.push.apply(this._resolveSrcUrls, srcUrls);
<ide> this._runRes... | |
Java | apache-2.0 | 6165dc00c402a5a9e2f0c2ec0714ee5533e19392 | 0 | SopraCovoit/AndroidApp | /*
* Copyright 2015 Jérémie Boutoille, Jules Cantegril, Hugo Djemaa, Mickael Goubin, David Livet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | app/src/main/java/wtf/sur/original/puissante/rapide/automobile/sopracovoit/authenticator/AccountGeneral.java | /*
* Copyright 2015 Jérémie Boutoille, Jules Cantegril, Hugo Djemaa, Mickael Goubin, David Livet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | Fix Account type err
| app/src/main/java/wtf/sur/original/puissante/rapide/automobile/sopracovoit/authenticator/AccountGeneral.java | Fix Account type err | <ide><path>pp/src/main/java/wtf/sur/original/puissante/rapide/automobile/sopracovoit/authenticator/AccountGeneral.java
<ide> /**
<ide> * Account type id
<ide> */
<del> public static final String ACCOUNT_TYPE = "wtf.sur.original.puissante.rapide.automobile.sopracovoit.authenticator";
<add> public sta... | |
Java | bsd-3-clause | 1557f006bca8e71f921fbc4f15fe9a7a0d835c74 | 0 | financialforcedev/object-model-tool,lambone/object-model-tool,lambone/object-model-tool,financialforcedev/object-model-tool | /**
* Copyright (c) 2014, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* th... | objectmodelutil/src/main/java/com/financialforce/objectmodelutil/model/api/ApiLoginModel.java | /**
* Copyright (c) 2014, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* th... | Added a caching function to the login model.
| objectmodelutil/src/main/java/com/financialforce/objectmodelutil/model/api/ApiLoginModel.java | Added a caching function to the login model. | <ide><path>bjectmodelutil/src/main/java/com/financialforce/objectmodelutil/model/api/ApiLoginModel.java
<ide> * @version 1.0.0
<ide> */
<ide> public class ApiLoginModel {
<add>
<add> //the result
<add> private static LoginResult res;
<add> private static String lastuser;
<ide>
<ide> //the connector ... | |
Java | apache-2.0 | 4199f7df0108da3226bcab0dc3f8542d4e40590f | 0 | petrushy/Orekit,CS-SI/Orekit,petrushy/Orekit,CS-SI/Orekit | /* Copyright 2002-2019 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... | src/main/java/org/orekit/propagation/events/MagneticFieldDetector.java | /* Copyright 2002-2019 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... | Removed spurious import. | src/main/java/org/orekit/propagation/events/MagneticFieldDetector.java | Removed spurious import. | <ide><path>rc/main/java/org/orekit/propagation/events/MagneticFieldDetector.java
<ide> import org.orekit.propagation.events.handlers.StopOnIncreasing;
<ide> import org.orekit.time.AbsoluteDate;
<ide> import org.orekit.time.TimeScale;
<del>import org.orekit.time.UTCScale;
<ide>
<ide> /** Detector for South-Atlantic ano... | |
Java | lgpl-2.1 | d5f250b7e7dab19b593489c4d9aa43a3975fef1f | 0 | meg0man/languagetool,lopescan/languagetool,janissl/languagetool,lopescan/languagetool,jimregan/languagetool,janissl/languagetool,janissl/languagetool,meg0man/languagetool,lopescan/languagetool,jimregan/languagetool,janissl/languagetool,meg0man/languagetool,lopescan/languagetool,languagetool-org/languagetool,jimregan/la... | /* LanguageTool, a natural language style checker
* Copyright (C) 2012 Marcin Miłkowski (http://www.languagetool.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | languagetool-language-modules/nl/src/main/java/org/languagetool/rules/nl/MorfologikDutchSpellerRule.java | /* LanguageTool, a natural language style checker
* Copyright (C) 2012 Marcin Miłkowski (http://www.languagetool.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | compile fix
| languagetool-language-modules/nl/src/main/java/org/languagetool/rules/nl/MorfologikDutchSpellerRule.java | compile fix | <ide><path>anguagetool-language-modules/nl/src/main/java/org/languagetool/rules/nl/MorfologikDutchSpellerRule.java
<ide> }
<ide>
<ide> @Override
<del> protected String getSpellingFileName() {
<add> public String getSpellingFileName() {
<ide> return "/nl/spelling/spelling.txt";
<ide> }
<ide> | |
Java | apache-2.0 | 75e1183629de3260292816cc449f8e7d58e5db69 | 0 | azaytsev/ios-driver,azaytsev/ios-driver,shutkou/ios-driver,masbog/ios-driver,adataylor/ios-driver,ios-driver/ios-driver,shutkou/ios-driver,ios-driver/ios-driver,masbog/ios-driver,crashlytics/ios-driver,shutkou/ios-driver,masbog/ios-driver,seem-sky/ios-driver,shutkou/ios-driver,masbog/ios-driver,adataylor/ios-driver,ios... | /*
* Copyright 2012 ios-driver committers.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | server/src/main/java/org/uiautomation/ios/server/utils/ClassicCommands.java | /*
* Copyright 2012 ios-driver committers.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | getDefault sdk gone ?
| server/src/main/java/org/uiautomation/ios/server/utils/ClassicCommands.java | getDefault sdk gone ? | <ide><path>erver/src/main/java/org/uiautomation/ios/server/utils/ClassicCommands.java
<ide> return new File(res);
<ide>
<ide> }
<del>
<add>
<ide> public static void main(String[] args) {
<ide> System.out.println(getXCodeInstall());
<ide> }
<ide> return l.getSDKs();
<ide> }
<ide>
<add> // TODO f... | |
Java | apache-2.0 | 50a21fc60b38275a031d6acb0722188697d889d3 | 0 | RachelTucker/ds3_java_sdk,SpectraLogic/ds3_java_sdk,DenverM80/ds3_java_sdk,SpectraLogic/ds3_java_sdk,rpmoore/ds3_java_sdk,RachelTucker/ds3_java_sdk,rpmoore/ds3_java_sdk,SpectraLogic/ds3_java_sdk,rpmoore/ds3_java_sdk,SpectraLogic/ds3_java_sdk,rpmoore/ds3_java_sdk,DenverM80/ds3_java_sdk,DenverM80/ds3_java_sdk,RachelTucke... | /*
* ******************************************************************************
* Copyright 2014-2015 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License i... | ds3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/Smoke_Test.java | /*
* ******************************************************************************
* Copyright 2014-2015 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License i... | Test for GetObjectsWithFullDetails with include physical placement
| ds3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/Smoke_Test.java | Test for GetObjectsWithFullDetails with include physical placement | <ide><path>s3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/Smoke_Test.java
<ide> assertThat(transferredListener.getNumberOfFiles(), is(BOOKS.length));
<ide>
<ide> } finally {
<del> deleteAllContents(client,bucketName);
<add> deleteAllContents(client, bu... | |
Java | apache-2.0 | 631f345d1bf82a4342fc20147154eac7556a39e4 | 0 | csantanapr/cordova-ios,adobe-marketing-cloud-mobile/aemm-ios,dpogue/cordova-ios,hgl888/cordova-ios,beedesk/cordova-ios,xandroidx/cordova-ios,ipmobiletech/cordova-ios,SyedMdKamruzzaman/cordova-ios,purplecabbage/cordova-ios,xurigan/cordova-ios,lvrookie/cordova-ios,sportstech/cordova-ios,ludei/cordova-ios,shazron/cordova-... | /**
* The MIT License
* -------------------------------------------------------------
* Copyright (c) 2008, Rob Ellis, Brock Whitten, Brian Leroux, Joe Bowser, Dave Johnson, Nitobi
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (... | blackberry/src/com/nitobi/phonegap/api/impl/GeoLocationCommand.java | /**
* The MIT License
* -------------------------------------------------------------
* Copyright (c) 2008, Rob Ellis, Brock Whitten, Brian Leroux, Joe Bowser, Dave Johnson, Nitobi
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (... | Hooked in error callback when GPS listener returns out-of-service status for BlackBerry.
| blackberry/src/com/nitobi/phonegap/api/impl/GeoLocationCommand.java | Hooked in error callback when GPS listener returns out-of-service status for BlackBerry. | <ide><path>lackberry/src/com/nitobi/phonegap/api/impl/GeoLocationCommand.java
<ide> private static final String FUNC_SUF = ");";
<ide>
<ide> private static final String ERROR_UNAVAILABLE = "'GPS unavailable on this device.'";
<add> private static final String ERROR_OUTOFSERVICE = "'GPS is out of service on this dev... | |
Java | apache-2.0 | 381e62b035576691f0b48fab456a07696647418c | 0 | sbespalov/strongbox,strongbox/strongbox,strongbox/strongbox,sbespalov/strongbox,sbespalov/strongbox,strongbox/strongbox,sbespalov/strongbox,strongbox/strongbox | package org.carlspring.strongbox.controllers.nuget;
import static org.springframework.http.HttpStatus.INTERNAL_SERVER_ERROR;
import static org.springframework.http.HttpStatus.NOT_FOUND;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import j... | strongbox-web-core/src/main/java/org/carlspring/strongbox/controllers/nuget/NugetPackageController.java | package org.carlspring.strongbox.controllers.nuget;
import static org.springframework.http.HttpStatus.INTERNAL_SERVER_ERROR;
import static org.springframework.http.HttpStatus.NOT_FOUND;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import j... | SB-902: OOM fixed for Nuget RSS feed response | strongbox-web-core/src/main/java/org/carlspring/strongbox/controllers/nuget/NugetPackageController.java | SB-902: OOM fixed for Nuget RSS feed response | <ide><path>trongbox-web-core/src/main/java/org/carlspring/strongbox/controllers/nuget/NugetPackageController.java
<ide> @RequestParam(name = "$skip", required = false, defaultValue = "0") int skip,
<ide> @RequestParam(name = "$top",... | |
JavaScript | apache-2.0 | da27adf77eb1cd47526100cb18f934c00a6a558e | 0 | grommet/grommet-docs,grommet/grommet-docs | // (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP
import React, { Component } from 'react';
import { findDOMNode } from 'react-dom';
import Box from 'grommet/components/Box';
import Label from 'grommet/components/Label';
import Anchor from 'grommet/components/Anchor';
import DocsArticle from '../../... | src/docs/design/Color.js | // (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP
import React, { Component } from 'react';
import { findDOMNode } from 'react-dom';
import Box from 'grommet/components/Box';
import Label from 'grommet/components/Label';
import Anchor from 'grommet/components/Anchor';
import DocsArticle from '../../... | Adjusted Color to show swatches better on mobile.
| src/docs/design/Color.js | Adjusted Color to show swatches better on mobile. | <ide><path>rc/docs/design/Color.js
<ide> const { colorIndex } = this.props;
<ide> const { hex } = this.state;
<ide> return (
<del> <Box align="center">
<del> <Label>{colorIndex}</Label>
<add> <Box align='stretch' pad={{ vertical: 'medium' }}>
<ide> <Box ref={ref => this._boxRef = re... | |
Java | apache-2.0 | f015f489bb7e2db58d026fb7add9ddbd0b580d82 | 0 | orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb | /*
*
* * Copyright 2010-2016 OrientDB LTD (http://orientdb.com)
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE... | core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/ODiskWriteAheadLog.java | /*
*
* * Copyright 2010-2016 OrientDB LTD (http://orientdb.com)
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE... | Revert file system cache
| core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/ODiskWriteAheadLog.java | Revert file system cache | <ide><path>ore/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/ODiskWriteAheadLog.java
<ide> import java.nio.ByteBuffer;
<ide> import java.nio.ByteOrder;
<ide> import java.nio.channels.FileChannel;
<del>import java.nio.file.FileStore;
<ide> import java.nio.file.Files;
<ide> import java.... | |
Java | apache-2.0 | 6c9b3202731d89e233d7d1ac98a5f21090e2547b | 0 | etiennestuder/gradle-jooq-plugin,etiennestuder/gradle-jooq-plugin | /*
Copyright 2014 Etienne Studer
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | src/main/groovy/nu/studer/gradle/jooq/JooqTask.java | /*
Copyright 2014 Etienne Studer
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | Move config file persistence out of the javaexec callback
| src/main/groovy/nu/studer/gradle/jooq/JooqTask.java | Move config file persistence out of the javaexec callback | <ide><path>rc/main/groovy/nu/studer/gradle/jooq/JooqTask.java
<ide>
<ide> @TaskAction
<ide> public void generate() {
<add> // define a config file to which the jOOQ code generation configuration is written to
<ide> File configFile = new File(getTemporaryDir(), "config.xml");
<add>
<add> /... | |
JavaScript | mit | 7273e58e8b9abb2e5bfcc28146b596a1f5e34fa6 | 0 | josephcarmello/hubot-scripts,1stdibs/hubot-scripts | // Description:
// Spiders for everyone!
//
// Dependencies:
// None
//
// Configuration:
// None
//
// Commands:
// hubot spiderbomb - Spiders for when you need 'em most
// hubot spider/spiders|spiderbomb me - Drops a single pic
//
// Author:
// Joey - EXTREMELY stolen from andromedado and his awesome shia... | src/scripts/spiderbomb.js | // Description:
// Spiders for everyone!
//
// Dependencies:
// None
//
// Configuration:
// None
//
// Commands:
// Dibsy spiderbomb - Spiders for when you need 'em most
// spider/spiders - Drops a single pic
//
// Author:
// Joey - EXTREMELY stolen from andromedo and his awesome shiabomb
var images = [
... | minor tweaks
| src/scripts/spiderbomb.js | minor tweaks | <ide><path>rc/scripts/spiderbomb.js
<ide> // None
<ide> //
<ide> // Commands:
<del>// Dibsy spiderbomb - Spiders for when you need 'em most
<del>// spider/spiders - Drops a single pic
<add>// hubot spiderbomb - Spiders for when you need 'em most
<add>// hubot spider/spiders|spiderbomb me - Drops a single pic
... | |
Java | apache-2.0 | 8fc3e6342354beaf0e0229552c9e0f0ff95dee18 | 0 | apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | FELIX-5060 : Unnecessary import of org.osgi.service.component
git-svn-id: e057f57e93a604d3b43d277ae69bde5ebf332112@1706436 13f79535-47bb-0310-9956-ffa450edef68
| webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java | FELIX-5060 : Unnecessary import of org.osgi.service.component | <ide><path>ebconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
<ide> import org.osgi.framework.ServiceRegistration;
<ide> import org.osgi.framework.Version;
<ide> import org.osgi.service.cm.ConfigurationAdmin;
<del>import org.osgi.service.component.ComponentConstants;
<ide> import org.... | |
Java | apache-2.0 | c71c3e3805f9cc5d4b3c52251d83c2517965a73e | 0 | arpost/umls-query,eurekaclinical/umls-query,eurekaclinical/umls-query,arpost/umls-query | package edu.emory.cci.aiw.umls;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Represents an Atom Unique Identifier (AUI) in a UMLS query. AUIs must match
* the regular expression <code>A\d{7,8}</code> (the letter 'A' followed by 7 or
* 8 digits). Implements several marker interfaces that al... | src/main/java/edu/emory/cci/aiw/umls/AtomUID.java | package edu.emory.cci.aiw.umls;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Represents an Atom Unique Identifier (AUI) in a UMLS query. AUIs must match
* the regular expression <code>A\d{7,8}</code> (the letter 'A' followed by 7 or
* 8 digits). Implements several marker interfaces that al... | Updated some of the mapping files. Added new derived variables for readmissions.
| src/main/java/edu/emory/cci/aiw/umls/AtomUID.java | Updated some of the mapping files. Added new derived variables for readmissions. | <ide><path>rc/main/java/edu/emory/cci/aiw/umls/AtomUID.java
<ide>
<ide> @Override
<ide> public String getKeyName() {
<del> // TODO Auto-generated method stub
<ide> return "AUI";
<ide> }
<ide> | |
JavaScript | mit | 1b5cc9c48dd99ea28c171aea312e384a97165e0e | 0 | systemjs/plugin-text,systemjs/plugin-text | /*
Text plugin
*/
exports.translate = function(load) {
if (System.transpiler === false) {
load.metadata.format = 'amd';
return 'def' + 'ine(function() {\nreturn ' + JSON.stringify(load.source) + ';\n});';
}
load.metadata.format = 'esm';
return 'export default ' + JSON.stringify(load.source) + ';';
... | text.js | /*
Text plugin
*/
exports.translate = function(load) {
if (System.transpiler === false || true) {
load.metadata.format = 'amd';
return 'def' + 'ine(function() {\nreturn ' + JSON.stringify(load.source) + ';\n});';
}
// disabled pending rollout of https://github.com/systemjs/builder/commit/13ed8f896ab2df... | enabled esm export code
this was disabled pending rollout of systemjs/builder@13ed8f8 | text.js | enabled esm export code | <ide><path>ext.js
<ide> Text plugin
<ide> */
<ide> exports.translate = function(load) {
<del> if (System.transpiler === false || true) {
<add> if (System.transpiler === false) {
<ide> load.metadata.format = 'amd';
<ide> return 'def' + 'ine(function() {\nreturn ' + JSON.stringify(load.source) + ';\n});';
<id... | |
Java | bsd-3-clause | caf0c2c2da4cf598ad7bc522e86fa0b03b5d5994 | 0 | littleyang/raven-java,galmeida/raven-java,galmeida/raven-java,littleyang/raven-java,reki2000/raven-java6,buckett/raven-java,buckett/raven-java,reki2000/raven-java6 | package net.kencochrane.raven.log4j;
import com.google.common.base.Joiner;
import mockit.*;
import net.kencochrane.raven.Raven;
import net.kencochrane.raven.connection.Connection;
import net.kencochrane.raven.event.Event;
import net.kencochrane.raven.event.EventBuilder;
import net.kencochrane.raven.event.interfaces.Ex... | raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java | package net.kencochrane.raven.log4j;
import com.google.common.base.Joiner;
import mockit.*;
import net.kencochrane.raven.Raven;
import net.kencochrane.raven.event.Event;
import net.kencochrane.raven.event.EventBuilder;
import net.kencochrane.raven.event.interfaces.ExceptionInterface;
import net.kencochrane.raven.event... | Ensure that close() isn't called on the connection if Raven is provided
| raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java | Ensure that close() isn't called on the connection if Raven is provided | <ide><path>aven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderNGTest.java
<ide> import com.google.common.base.Joiner;
<ide> import mockit.*;
<ide> import net.kencochrane.raven.Raven;
<add>import net.kencochrane.raven.connection.Connection;
<ide> import net.kencochrane.raven.event.Event;
<ide> import net... | |
Java | apache-2.0 | c5969e634c1899c3bfc11a7d91ae576576066b99 | 0 | osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi | /*
* ============================================================================
* (c) Copyright 2005 Nokia
* This material, including documentation and any related computer programs,
* is protected by copyright controlled by Nokia and its licensors.
* All rights are reserved.
*
* These materials have been co... | org.osgi.impl.service.policy/src/org/osgi/impl/service/policy/userprompt/UserPromptCondition.java | /*
* ============================================================================
* (c) Copyright 2005 Nokia
* This material, including documentation and any related computer programs,
* is protected by copyright controlled by Nokia and its licensors.
* All rights are reserved.
*
* These materials have been co... | you can say "nosession"
| org.osgi.impl.service.policy/src/org/osgi/impl/service/policy/userprompt/UserPromptCondition.java | you can say "nosession" | <ide><path>rg.osgi.impl.service.policy/src/org/osgi/impl/service/policy/userprompt/UserPromptCondition.java
<ide> }
<ide> if (sessionAllowed) {
<ide> al.add("session");
<add> al.add("nosession");
<ide> }
<ide> if (oneshotAllowed) {
<ide> al.add("yes");
<del> }
<del> if (sessionAllowed||oneshotAllowed)... | |
Java | apache-2.0 | 2cbeffda07c25635c777a2d791d6520690454283 | 0 | pefilekill/robotiumCode,darker50/robotium,XRacoon/robotiumEx,hypest/robotium,MattGong/robotium,SinnerSchraderMobileMirrors/robotium,activars/remote-robotium,luohaoyu/robotium,pefilekill/robotiumCode,RobotiumTech/robotium,acanta2014/robotium,hypest/robotium,MattGong/robotium,lczgywzyy/robotium,zhic5352/robotium,zhic5352... | package com.jayway.android.robotium.solo;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import junit.framework.Assert;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.Instrumentation;
import android.app.ActivityManager.RunningTaskInfo;
import android.... | robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java | package com.jayway.android.robotium.solo;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import junit.framework.Assert;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.Instrumentation;
import android.app.ActivityManager.RunningTaskInfo;
import android.... | Rewrote the waitForIdle() method. Also made some small cosmetic changes.
| robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java | Rewrote the waitForIdle() method. Also made some small cosmetic changes. | <ide><path>obotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java
<ide> * @param activity the start activity
<ide> *
<ide> */
<add>
<ide> public Solo(Instrumentation inst, Activity activity) {
<ide> this.inst = inst;
<ide> this.activity = activity;
<ide> * paused
<ide> *
<ide> */
<add>... | |
Java | mit | efff9a5d969f3b2bb305296891464835fb3c01e7 | 0 | Brambel/DivideAndConquer | import java.awt.Polygon;
import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class Main {
public static void main(String[] args) {
// will call both programs
ConvexHull hull = new ConvexHull();
Random r = new Random();
int n = 10000;
for(int i... | src/Main.java | import java.awt.Polygon;
import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class Main {
public static void main(String[] args) {
// will call both programs
ConvexHull hull = new ConvexHull();
Random r = new Random();
int n = 10;
for(int i=0;... | cleaned bad test
removed polygon.contains() as it was not a reliable test method
(returned points on the line of the convex hull as outside)
| src/Main.java | cleaned bad test | <ide><path>rc/Main.java
<ide> ConvexHull hull = new ConvexHull();
<ide> Random r = new Random();
<ide>
<del> int n = 10;
<add> int n = 10000;
<ide> for(int i=0;i<n;++i){
<ide> hull.addPoint(r.nextInt(n), r.nextInt(n));
<ide> }
<ide> for(Point2D p : h){
<ide> convexHull.addPoint((int)p.getX(), (int)... | |
JavaScript | mit | b0a34ee560b7558049a4bfa5b52ae0d826f51b5d | 0 | kobezzza/Collection,kobezzza/Collection | /*!
* Collection
* https://github.com/kobezzza/Collection
*
* Released under the MIT license
* https://github.com/kobezzza/Collection/blob/master/LICENSE
*/
/** @typedef {(Object|string|undefined)} */
var $$CollectionType;
/**
* @interface
* @param {$$CollectionType} collection
*/
function $$Collection(colle... | predefs/src/api/instance.js | /*!
* Collection
* https://github.com/kobezzza/Collection
*
* Released under the MIT license
* https://github.com/kobezzza/Collection/blob/master/LICENSE
*/
/** @typedef {(Object|string|undefined)} */
var $$CollectionType;
/**
* @interface
* @param {$$CollectionType} collection
*/
function $$Collection(colle... | :arrow_up:
| predefs/src/api/instance.js | :arrow_up: | <ide><path>redefs/src/api/instance.js
<ide> $$Collection.prototype.VERSION;
<ide>
<ide> /** @typedef {{
<add> * TRUE,
<add> * FALSE,
<ide> * $: !Object,
<ide> * info: !Object,
<ide> * result: ?,
<ide> * next: boolean,
<ide> * sleep: function(number, (function($$CollectionCtx): boolean)=, boolean=): ... | |
Java | apache-2.0 | e2e82f703adb24749d652351605dba53bf4236ce | 0 | amidst/toolbox,amidst/toolbox | package eu.amidst.core.header.statics;
import eu.amidst.core.database.statics.readers.DistType;
import eu.amidst.core.database.statics.readers.StateSpaceType;
/**
* Created by andresmasegosa on 04/11/14.
*/
public final class VariableBuilder {
private static String name;
private static boolean observable;
... | src/main/java/eu/amidst/core/header/statics/VariableBuilder.java | package eu.amidst.core.header.statics;
import eu.amidst.core.database.statics.readers.StateSpaceType;
/**
* Created by andresmasegosa on 04/11/14.
*/
public final class VariableBuilder {
private static String name;
private static boolean observable;
private static int numberOfStates;
private static ... | no message
| src/main/java/eu/amidst/core/header/statics/VariableBuilder.java | no message | <ide><path>rc/main/java/eu/amidst/core/header/statics/VariableBuilder.java
<ide> package eu.amidst.core.header.statics;
<ide>
<add>import eu.amidst.core.database.statics.readers.DistType;
<ide> import eu.amidst.core.database.statics.readers.StateSpaceType;
<ide>
<ide> /**
<ide> private static int numberOfStates;
... | |
Java | apache-2.0 | bd585702d1e44ea2254c5069d8575976e07f9754 | 0 | guanxi55nba/key-value-store,whitepages/cassandra,jrwest/cassandra,hhorii/cassandra,modempachev4/kassandra,helena/cassandra,sharvanath/cassandra,darach/cassandra,driftx/cassandra,sluk3r/cassandra,Jollyplum/cassandra,JeremiahDJordan/cassandra,nitsanw/cassandra,adejanovski/cassandra,nvoron23/cassandra,sbtourist/cassandra,... | package org.apache.cassandra.avro;
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Licens... | src/java/org/apache/cassandra/avro/AvroValidation.java | package org.apache.cassandra.avro;
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Licens... | extract array from ByteBuffer in AvroValidation.validateIndexClauses. Patch by gdusbabek, reviewed by brandonwilliams
git-svn-id: af0234e1aff5c580ad966c5a1be7e5402979d927@992119 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/cassandra/avro/AvroValidation.java | extract array from ByteBuffer in AvroValidation.validateIndexClauses. Patch by gdusbabek, reviewed by brandonwilliams | <ide><path>rc/java/org/apache/cassandra/avro/AvroValidation.java
<ide> Set<byte[]> indexedColumns = Table.open(keyspace).getColumnFamilyStore(columnFamily).getIndexedColumns();
<ide> for (IndexExpression expression : index_clause.expressions)
<ide> {
<del> if (expression.op.equals(Ind... | |
Java | apache-2.0 | 5039030be3b073cd7f37780926e7b1c71481a5f9 | 0 | factoryfx/factoryfx,factoryfx/factoryfx,factoryfx/factoryfx,factoryfx/factoryfx | package de.factoryfx.data.attribute.primitive;
import com.fasterxml.jackson.annotation.JsonCreator;
import de.factoryfx.data.attribute.ImmutableValueAttribute;
public class BooleanAttribute extends ImmutableValueAttribute<Boolean,BooleanAttribute> {
public BooleanAttribute() {
super(Boolean.class);
... | data/src/main/java/de/factoryfx/data/attribute/primitive/BooleanAttribute.java | package de.factoryfx.data.attribute.primitive;
import com.fasterxml.jackson.annotation.JsonCreator;
import de.factoryfx.data.attribute.ImmutableValueAttribute;
public class BooleanAttribute extends ImmutableValueAttribute<Boolean,BooleanAttribute> {
public BooleanAttribute() {
super(Boolean.class);
... | BooleanAttribute nullable
| data/src/main/java/de/factoryfx/data/attribute/primitive/BooleanAttribute.java | BooleanAttribute nullable | <ide><path>ata/src/main/java/de/factoryfx/data/attribute/primitive/BooleanAttribute.java
<ide> public BooleanAttribute() {
<ide> super(Boolean.class);
<ide> set(Boolean.FALSE);
<add> nullable();
<ide> }
<ide>
<ide> @JsonCreator
<ide> BooleanAttribute(Boolean value) {
<ide> ... | |
Java | epl-1.0 | 88fb9966e3d9ec3485cadb5940eb163b72858b58 | 0 | takari/takari-lifecycle | package io.takari.maven.plugins.compile;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Lab... | takari-lifecycle-plugin/src/test/java/io/takari/maven/plugins/compile/ClassfileMatchers.java | package io.takari.maven.plugins.compile;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Lab... | use asm5 api-level in compiler unit tests
Signed-off-by: Igor Fedorenko <78b6854e22ab09d4ae3dac29b92052963103b33e@ifedorenko.com>
| takari-lifecycle-plugin/src/test/java/io/takari/maven/plugins/compile/ClassfileMatchers.java | use asm5 api-level in compiler unit tests | <ide><path>akari-lifecycle-plugin/src/test/java/io/takari/maven/plugins/compile/ClassfileMatchers.java
<ide> private boolean hasVars = false;
<ide>
<ide> public ClassInfo() {
<del> super(Opcodes.ASM4);
<add> super(Opcodes.ASM5);
<ide> }
<ide>
<ide> @Override
<ide>
<ide> @Override
<ide> ... | |
Java | apache-2.0 | 041692f0a8a0c05420b47b799881f7456ad0437a | 0 | aarya123/CampusFeedv2,aarya123/CampusFeedv2,aarya123/CampusFeedv2 | package controllers;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Array;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.text.ParseException;
import java.... | server/app/controllers/EventManager.java | package controllers;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Array;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.text.ParseException;
import java.... | :ASDF
| server/app/controllers/EventManager.java | :ASDF | <ide><path>erver/app/controllers/EventManager.java
<ide> public class EventManager extends Controller{
<ide>
<ide> public static final String EVENT_GET_SQL_UNRESTRICTED = "select distinct Event.id as id, Event.name as name, Event.location as location, UNIX_TIMESTAMP(Event.time) as time, Event.description as descript... | |
Java | apache-2.0 | e28debf54345f2ab62777a51cdd90377d3b7feef | 0 | wwjiang007/alluxio,riversand963/alluxio,ShailShah/alluxio,Reidddddd/mo-alluxio,jsimsa/alluxio,Reidddddd/alluxio,EvilMcJerkface/alluxio,PasaLab/tachyon,ShailShah/alluxio,uronce-cc/alluxio,ChangerYoung/alluxio,calvinjia/tachyon,Alluxio/alluxio,jswudi/alluxio,apc999/alluxio,EvilMcJerkface/alluxio,EvilMcJerkface/alluxio,js... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | core/server/src/main/java/alluxio/web/WebInterfaceWorkerMetricsServlet.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Address andrew's comment
| core/server/src/main/java/alluxio/web/WebInterfaceWorkerMetricsServlet.java | Address andrew's comment | <ide><path>ore/server/src/main/java/alluxio/web/WebInterfaceWorkerMetricsServlet.java
<ide> import com.codahale.metrics.Metric;
<ide> import com.codahale.metrics.MetricFilter;
<ide> import com.codahale.metrics.MetricRegistry;
<add>import com.google.common.base.Joiner;
<ide> import com.google.common.base.Preconditions;
... | |
Java | epl-1.0 | 1607cbf27fa0a2e5b4449e88c7bf5bf614549309 | 0 | miklossy/xtext-core,miklossy/xtext-core | /*******************************************************************************
* Copyright (c) 2012 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distr... | plugins/org.eclipse.xtext/src/org/eclipse/xtext/generator/trace/AbstractTraceRegion.java | /*******************************************************************************
* Copyright (c) 2012 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distr... | [idea] unify how we obtain virtual files for psi elements plus some other minor changes | plugins/org.eclipse.xtext/src/org/eclipse/xtext/generator/trace/AbstractTraceRegion.java | [idea] unify how we obtain virtual files for psi elements plus some other minor changes | <ide><path>lugins/org.eclipse.xtext/src/org/eclipse/xtext/generator/trace/AbstractTraceRegion.java
<ide> if (data.getSrcRelativePath() == null) {
<ide> if (!allNull)
<ide> throw new IllegalStateException(
<del> "If multiple associated locations are present, the path has to be set");
<add> "... | |
JavaScript | bsd-3-clause | 5c4d5e1c19e8f6e8487078731681d909d4e0999f | 0 | strvcom/eslint-config-javascript,strvcom/js-coding-standards,strvcom/eslint-config-javascript | /**
* Js-coding-standards
*
* @author Robert Rossmann <rr.rossmann@me.com>
* @copyright 2016 STRV
* @license http://choosealicense.com/licenses/bsd-3-clause BSD-3-Clause License
*/
'use strict'
const globs = require('../../globs')
module.exports = {
plugins: [
'import',
],
settings: {
... | environments/shared/recommended.js | /**
* Js-coding-standards
*
* @author Robert Rossmann <rr.rossmann@me.com>
* @copyright 2016 STRV
* @license http://choosealicense.com/licenses/bsd-3-clause BSD-3-Clause License
*/
'use strict'
const globs = require('../../globs')
module.exports = {
plugins: [
'import',
],
settings: {
... | feat(rule): Enable import/no-cycle
| environments/shared/recommended.js | feat(rule): Enable import/no-cycle | <ide><path>nvironments/shared/recommended.js
<ide>
<ide> // Forbid a module from importing itself
<ide> 'import/no-self-import': 'error',
<add>
<add> // Ensures that there is no resolvable path back to this module via its dependencies
<add> 'import/no-cycle': ['error', {
<add> maxDepth: 8,
<add> ... | |
JavaScript | mit | a8e78aed111cba6772171064b2051bcb14eea325 | 0 | fxghqc/svg-react-playground,k2data/svg-react-playground,fxghqc/svg-react-playground,k2data/svg-react-playground | // @flow
import React, { Component } from 'react'
import type { Match } from 'react-router'
import Empty404 from 'components/Empty404'
import Subways from 'components/Subways'
import Gearing from 'components/Gearing'
import Alphabet from 'components/Alphabet'
import IIBD from 'components/IIBD'
import Zdx from 'componen... | src/routes/Pages/components/Pages.js | // @flow
import React, { Component } from 'react'
import type { Match } from 'react-router'
import Empty404 from 'components/Empty404'
import Subways from 'components/Subways'
import Gearing from 'components/Gearing'
import Alphabet from 'components/Alphabet'
import IIBD from 'components/IIBD'
type Props = {
match: ... | update
| src/routes/Pages/components/Pages.js | update | <ide><path>rc/routes/Pages/components/Pages.js
<ide> import Gearing from 'components/Gearing'
<ide> import Alphabet from 'components/Alphabet'
<ide> import IIBD from 'components/IIBD'
<add>import Zdx from 'components/SVGLineAnimation'
<ide>
<ide> type Props = {
<ide> match: Match
<ide> return Alphabet
<ide> ... | |
Java | apache-2.0 | 0ff22e97a75015c36a853902c36783cbc491ce56 | 0 | gordski/querydsl,lpandzic/querydsl,dharaburda/querydsl,lpandzic/querydsl,querydsl/querydsl,querydsl/querydsl,balazs-zsoldos/querydsl,balazs-zsoldos/querydsl,vveloso/querydsl,robertandrewbain/querydsl,tomforster/querydsl,mosoft521/querydsl,Log10Solutions/querydsl,querydsl/querydsl,johnktims/querydsl,lpandzic/querydsl,dh... | /*
* Copyright (c) 2010 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.query.types;
import javax.annotation.Nullable;
/**
* Visitor defines a Visitor signature for {@link Expr} instances.
*
* @author tiwe
* @version $Id$
*/
public interface Visitor<R,C>{
/**
* @param expr
*/
@N... | querydsl-core/src/main/java/com/mysema/query/types/Visitor.java | /*
* Copyright (c) 2010 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.query.types;
/**
* Visitor defines a Visitor signature for {@link Expr} instances.
*
* @author tiwe
* @version $Id$
*/
public interface Visitor<R,C>{
/**
* @param expr
*/
R visit(Constant<?> expr, C context);... | added Nullable annotations
| querydsl-core/src/main/java/com/mysema/query/types/Visitor.java | added Nullable annotations | <ide><path>uerydsl-core/src/main/java/com/mysema/query/types/Visitor.java
<ide> *
<ide> */
<ide> package com.mysema.query.types;
<add>
<add>import javax.annotation.Nullable;
<ide>
<ide> /**
<ide> * Visitor defines a Visitor signature for {@link Expr} instances.
<ide> /**
<ide> * @param expr
<ide> */
<... | |
JavaScript | mit | f24a495ecb84b07c48080d81105ff2633c104704 | 0 | kidney/postcss-iconfont | const path = require('path');
const url = require('url');
const Promise = require('bluebird');
const postcss = require('postcss');
const merge = require('merge');
const gulp = require('gulp');
const gulpIconfont = require('gulp-iconfont');
const POSTCSS_PLUGIN_NAME = 'postcss-iconfont';
const ABSOLUTE_URL = /^\//;
f... | src/index.js | const path = require('path');
const url = require('url');
const Promise = require('bluebird');
const postcss = require('postcss');
const merge = require('merge');
const gulp = require('gulp');
const gulpIconfont = require('gulp-iconfont');
const POSTCSS_PLUGIN_NAME = 'postcss-iconfont';
const ABSOLUTE_URL = /^\//;
f... | Fix: extractsSVG add promise mode
| src/index.js | Fix: extractsSVG add promise mode | <ide><path>rc/index.js
<ide> function noop () {}
<ide>
<ide> function extractsSVG (root, options) {
<del> let queueMap = [];
<del>
<del> // for each font face rule
<del> root.walkAtRules('font-face', function (rule) {
<del> let item = {};
<del>
<del> rule.walkDecls('src', function (decl) {
<del>... | |
Java | bsd-3-clause | 5e997a66d1d446f18343beda4bf87d1829f1234f | 0 | jbauschatz/GreatPipes,jbauschatz/GreatPipes | package pipes.editing.io;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import org.antlr.v4.runtime.ANTLRFileStream;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CommonTokenStream;
import pipes.editing.io.TuneParser.LineContext;
import pipes.editing.io.TuneParser.... | src/pipes/editing/io/TuneSerializer.java | package pipes.editing.io;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import org.antlr.v4.runtime.ANTLRFileStream;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CommonTokenStream;
import pipes.editing.io.TuneParser.LineContext;
import pipes.editing.io.TuneParser.... | Fixed #12 - tune type is now loaded from file.
| src/pipes/editing/io/TuneSerializer.java | Fixed #12 - tune type is now loaded from file. | <ide><path>rc/pipes/editing/io/TuneSerializer.java
<ide> TuneContext tuneContext = parser.tune();
<ide> tune.setName(stripFirstLast(tuneContext.getChild(0).getText()));
<ide> tune.setAuthor(stripFirstLast(tuneContext.getChild(2).getText()));
<add> tune.setType(stripFirstLast(tuneContext.getChild(4).getText()));
... | |
Java | apache-2.0 | 2468492a1aef370c66a6636f976543212371405a | 0 | mohanaraosv/commons-jcs,apache/commons-jcs,apache/commons-jcs,mohanaraosv/commons-jcs,mohanaraosv/commons-jcs,apache/commons-jcs | package org.apache.commons.jcs.utils.zip;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/zip/CompressionUtil.java | package org.apache.commons.jcs.utils.zip;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | Fix JCS-136: OutOfMemoryError when using compressing serializer
git-svn-id: fd52ae19693b7be904def34076a5ebbd6e132215@1626803 13f79535-47bb-0310-9956-ffa450edef68
| commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/zip/CompressionUtil.java | Fix JCS-136: OutOfMemoryError when using compressing serializer | <ide><path>ommons-jcs-core/src/main/java/org/apache/commons/jcs/utils/zip/CompressionUtil.java
<ide> log.error( "Problem decompressing.", ex );
<ide> }
<ide>
<add> decompressor.end();
<add>
<ide> try
<ide> {
<ide> baos.close();
<ide> bos.write( buf, 0,... | |
JavaScript | mit | c9341e5b8713475a3be16fcb556d131178c3bc69 | 0 | bambii7/glow | //var Color = require('./Color')
import Color from './Color'
export default class Hex extends Color {
constructor(str) {
super()
if (str === null || str === undefined) {
throw "not a valid hex value"
}
this.value = this.stringToHex(str)
}
expandShortHex(shortHex) {
return shortHex... | src/colors/Hex.js | //var Color = require('./Color')
import Color from './Color'
export default class Hex extends Color {
constructor(str) {
super()
if (str === null || str === undefined) {
throw "not a valid hex value"
}
this.value = this.stringToHex(str)
}
expandShortHex(shortHex) {
return shortHex... | add hex toString function
| src/colors/Hex.js | add hex toString function | <ide><path>rc/colors/Hex.js
<ide> }
<ide>
<ide> toString() {
<del> return "Hex Color"
<add> return this.value
<ide> }
<ide>
<ide> } | |
Java | mit | a8820b60b36ee72058a95c117cbc17c2b96a623d | 0 | gregvw/SVG2Processing | import java.util.*;
class PathDElement {
char type;
ArrayList<Float> values;
PathDElement() {
values = new ArrayList<Float>();
}
}
class PathDParser {
// Split a string describing the segments of a path into
void partition( String path, ArrayList<PathDElement> pathElements ) {
String del... | pathdparser.java | import java.util.*;
class PathDElement {
char type;
ArrayList<Float> values;
PathDElement() {
values = new ArrayList<Float>();
}
}
class PathDParser {
// Split a string describing the segments of a path into
void partition( String path, ArrayList<PathDElement> pathElements ) {
String del... | Determine whether coordinates are relative
| pathdparser.java | Determine whether coordinates are relative | <ide><path>athdparser.java
<ide> for( String t: tokens ) {
<ide> PathDElement elem = new PathDElement();
<ide> elem.type = t.charAt(0);
<add>
<add> boolean isRelative = Character.isLowerCase(elem.type);
<add>
<ide> // Split
<ide> String[] values = t.substring(1).replaceAll("^[,\\s]+", "... | |
Java | apache-2.0 | 012c2afc96bac21a7a1dd08b450af7f0adc63c5c | 0 | ctrl-esc/honeywell_dolphin_scanner,ctrl-esc/honeywell_dolphin_scanner | package org.limitstate.honeywell;
import android.util.Log;
import java.util.ArrayList;
import java.util.List;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.RemoteException;
import org.apache.cordova.CallbackContext;
import org.apache.cordo... | src/android/BarcodeScannerPlugin.java | package org.limitstate.honeywell;
import android.util.Log;
import java.util.ArrayList;
import java.util.List;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.RemoteException;
import org.apache.cordova.CallbackContext;
import org.apache.cordo... | Update BarcodeScannerPlugin.java | src/android/BarcodeScannerPlugin.java | Update BarcodeScannerPlugin.java | <ide><path>rc/android/BarcodeScannerPlugin.java
<ide>
<ide> @Override
<ide> public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
<add> enableSymbologies();
<ide> if (action.equals("scan")) {
<ide> this.pluginCallbackContext = callbackContext;
<ide>
<ide... | |
Java | bsd-3-clause | f0c0f7a7d53b531e02683f91fa23ebc770fa1146 | 0 | sahara-labs/rig-client,jeking3/rig-client,sahara-labs/rig-client,sahara-labs/rig-client,jeking3/rig-client,jeking3/rig-client,jeking3/rig-client,jeking3/rig-client,sahara-labs/rig-client,jeking3/rig-client | /**
* SAHARA Rig Client
*
* Software abstraction of physical rig to provide rig session control
* and rig device control. Automatically tests rig hardware and reports
* the rig status to ensure rig goodness.
*
* @license See LICENSE in the top level directory for complete license terms.
*
* Copyright (c) 2009... | src/au/edu/uts/eng/remotelabs/rigclient/rig/control/AbstractBatchRunner.java | /**
* SAHARA Rig Client
*
* Software abstraction of physical rig to provide rig session control
* and rig device control. Automatically tests rig hardware and reports
* the rig status to ensure rig goodness.
*
* @license See LICENSE in the top level directory for complete license terms.
*
* Copyright (c) 2009... |
git-svn-id: https://develop.eng.uts.edu.au/projects/personal/sahara/svn/RigClient/trunk@18 7ee224fa-57ca-4419-87f9-1f4314938d77
| src/au/edu/uts/eng/remotelabs/rigclient/rig/control/AbstractBatchRunner.java | <ide><path>rc/au/edu/uts/eng/remotelabs/rigclient/rig/control/AbstractBatchRunner.java
<ide> */
<ide> package au.edu.uts.eng.remotelabs.rigclient.rig.control;
<ide>
<add>import java.util.ArrayList;
<add>import java.util.HashMap;
<add>import java.util.List;
<add>import java.util.Map;
<add>
<ide> import au.edu.uts.eng.... | ||
Java | apache-2.0 | 7d8d755fbd60dea539161787bb7fe4774a2b7636 | 0 | kalaspuffar/pdfbox,apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | examples/src/main/java/org/apache/pdfbox/examples/util/RemoveAllText.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | PDFBOX-4316: delete all 3 parameters of with " operator, thanks Michael Klink
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1840485 13f79535-47bb-0310-9956-ffa450edef68
| examples/src/main/java/org/apache/pdfbox/examples/util/RemoveAllText.java | PDFBOX-4316: delete all 3 parameters of with " operator, thanks Michael Klink | <ide><path>xamples/src/main/java/org/apache/pdfbox/examples/util/RemoveAllText.java
<ide> if (token instanceof Operator)
<ide> {
<ide> Operator op = (Operator) token;
<del> if ("TJ".equals(op.getName()) || "Tj".equals(op.getName()) ||
<del> "'".e... | |
Java | apache-2.0 | a6370bf19cc82f9ca9b32d63af7b1ab051e98ff8 | 0 | astrapi69/jaulp-wicket,astrapi69/jaulp.wicket,astrapi69/jaulp.wicket,astrapi69/jaulp-wicket,astrapi69/jaulp.wicket,astrapi69/jaulp-wicket | package org.jaulp.wicket.base.examples;
import org.apache.wicket.util.time.Duration;
import org.eclipse.jetty.http.ssl.SslContextFactory;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.bio.SocketConnector;
import org.eclipse.jetty.server.ssl.SslSocketConnector;
import org.eclipse.jetty.util.re... | jaulp.wicket.base.examples/src/test/java/org/jaulp/wicket/base/examples/Start.java | package org.jaulp.wicket.base.examples;
import org.apache.wicket.util.time.Duration;
import org.eclipse.jetty.http.ssl.SslContextFactory;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.bio.SocketConnector;
import org.eclipse.jetty.server.ssl.SslSocketConnector;
import org.eclipse.jetty.util.re... | Changed port to 9090 for jetty. | jaulp.wicket.base.examples/src/test/java/org/jaulp/wicket/base/examples/Start.java | Changed port to 9090 for jetty. | <ide><path>aulp.wicket.base.examples/src/test/java/org/jaulp/wicket/base/examples/Start.java
<ide> // Set some timeout options to make debugging easier.
<ide> connector.setMaxIdleTime(timeout);
<ide> connector.setSoLingerTime(-1);
<del> connector.setPort(8080);
<add> connector.setP... | |
JavaScript | mit | d389b3c8f95ebf848563b1b7ebe10aa8c32e952f | 0 | M3t0r/SLib | var SLib = {
version : "20121017", /* yyyymmdd */
byId : function (ID, previous) {
if(previous&&previous.push) {
previous.push(document.getElementById(ID));
return previous;
} else
return document.getElementById(ID);
},
byTag : function(TAG, previous) {
if(previous&&previous.push)
return SLib.merg... | main.js | var SLib = {
version : "20120523", /* yyyymmdd */
byId : function (ID, previous) {
if(previous&&previous.push) {
previous.push(document.getElementById(ID));
return previous;
} else
return document.getElementById(ID);
},
byTag : function(TAG, previous) {
if(previous&&previous.push)
return SLib.merg... | many many things in main.js | main.js | many many things in main.js | <ide><path>ain.js
<ide> var SLib = {
<del> version : "20120523", /* yyyymmdd */
<add> version : "20121017", /* yyyymmdd */
<ide> byId : function (ID, previous) {
<ide> if(previous&&previous.push) {
<ide> previous.push(document.getElementById(ID));
<ide> e.parentNode.replaceChild(newTag, e);
<ide> },
<... | |
Java | apache-2.0 | a2e35a55d0f29fc4c8b08457c160fef4a1e7e268 | 0 | PerfCake/PerfCake,vjuranek/PerfCake,vjuranek/PerfCake,PerfCake/PerfCake,vjuranek/PerfCake,PerfCake/PerfCake,PerfCake/PerfCake,vjuranek/PerfCake | /*
* -----------------------------------------------------------------------\
* PerfCake
*
* Copyright (C) 2010 - 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a cop... | src/main/java/org/perfcake/reporting/destinations/chart/Chart.java | /*
* -----------------------------------------------------------------------\
* PerfCake
*
* Copyright (C) 2010 - 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a cop... | #116 added loading of Chart
| src/main/java/org/perfcake/reporting/destinations/chart/Chart.java | #116 added loading of Chart | <ide><path>rc/main/java/org/perfcake/reporting/destinations/chart/Chart.java
<ide> import org.perfcake.reporting.Measurement;
<ide> import org.perfcake.reporting.ReportingException;
<ide> import org.perfcake.util.Utils;
<add>import org.perfcake.validation.StringUtil;
<ide>
<ide> import org.apache.logging.log4j.LogMana... | |
Java | bsd-3-clause | 7c2c43ae498430c24ddb733ae81cc3dbc70a6118 | 0 | dhimmel/owltools,owlcollab/owltools,dhimmel/owltools,fbastian/owltools,fbastian/owltools,fbastian/owltools,fbastian/owltools,fbastian/owltools,owlcollab/owltools,fbastian/owltools,owlcollab/owltools,owlcollab/owltools,owlcollab/owltools,dhimmel/owltools,dhimmel/owltools,owlcollab/owltools,dhimmel/owltools,dhimmel/owlto... | package owltools.ontologyrelease.gui;
import static org.obolibrary.gui.GuiTools.addRowGap;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import javax.swing.ButtonGroup;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import org.obolib... | src/owltools/ontologyrelease/gui/ReleaseGuiAdvancedPanel.java | package owltools.ontologyrelease.gui;
import static org.obolibrary.gui.GuiTools.addRowGap;
import java.awt.GridBagLayout;
import javax.swing.ButtonGroup;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JRadioButton;
import org.obolibrary.gui.GuiTools.GBHelper;
import org.obolibrary.gui.G... | fix GUI advanced tab
git-svn-id: f705032614e1ff11fed11a7e506afa6fa6966044@127 18f1da76-1bb4-b526-5913-e828fe20442d
| src/owltools/ontologyrelease/gui/ReleaseGuiAdvancedPanel.java | fix GUI advanced tab | <ide><path>rc/owltools/ontologyrelease/gui/ReleaseGuiAdvancedPanel.java
<ide> import static org.obolibrary.gui.GuiTools.addRowGap;
<ide>
<ide> import java.awt.GridBagLayout;
<add>import java.awt.GridLayout;
<ide>
<ide> import javax.swing.ButtonGroup;
<ide> import javax.swing.JCheckBox;
<ide> import javax.swing.JLabel... | |
Java | epl-1.0 | b531216c8cb0a5f49f21204ae31fc16b2c0656b4 | 0 | Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt | /*******************************************************************************
* Copyright (c) 2004, 2007 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is av... | engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/AttributeBuilder.java | /*******************************************************************************
* Copyright (c) 2004, 2007 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is av... | Fix bugzilla bug 225536: [Bidi] Support global orientation of report output.
Apply patch.
| engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/AttributeBuilder.java | Fix bugzilla bug 225536: [Bidi] Support global orientation of report output. Apply patch. | <ide><path>ngine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/AttributeBuilder.java
<ide> if ( style != null )
<ide> {
<ide> String direction = style.getDirection();
<del>
<ide> if ( direction != null )
<ide> {
<del> if ( CSSConstants.CSS_RTL_VALUE.equals(... | |
JavaScript | mit | 7278b3bc1b6ed5b0bbf0e86c043fdc33a78cabb0 | 0 | skyarch-networks/skyhopper,skyarch-networks/skyhopper,skyarch-networks/skyhopper,skyarch-networks/skyhopper | //
// Copyright (c) 2013-2016 SKYARCH NETWORKS INC.
//
// This software is released under the MIT License.
//
// http://opensource.org/licenses/mit-license.php
//
(function () {
const modal = require('modal');
// ----------------------------- variables
const EndpointBase = '/app_settings';
const InputsSele... | app/assets/javascripts/app_settings.js | //
// Copyright (c) 2013-2016 SKYARCH NETWORKS INC.
//
// This software is released under the MIT License.
//
// http://opensource.org/licenses/mit-license.php
//
(function () {
const modal = require('modal');
// ----------------------------- variables
const endpoint_base = '/app_settings';
const inputs_se... | Update: app_settingsのリファクタリング
| app/assets/javascripts/app_settings.js | Update: app_settingsのリファクタリング | <ide><path>pp/assets/javascripts/app_settings.js
<ide> // ----------------------------- variables
<ide>
<ide>
<del> const endpoint_base = '/app_settings';
<del> const inputs_selector = '#app-settings-form input[type=text],input[type=password],select,textarea,input[type=checkbox]';
<del> const required_inputs = ... | |
Java | apache-2.0 | error: pathspec 'guavaExample/src/main/java/com/javalearning/collection/BiMapExample.java' did not match any file(s) known to git
| 1fea31a6cef50a43500921902803606eb55aba5d | 1 | Qunzer/learningJava,Qunzer/learningJava | package com.javalearning.collection;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import com.google.common.collect.ImmutableBiMap;
/**
* Created by renqun.yuan on 2015/10/16.
*/
public class BiMapExample {
public static void hashBiMapExample() {
HashBiMap<String, S... | guavaExample/src/main/java/com/javalearning/collection/BiMapExample.java | add bimapExample
| guavaExample/src/main/java/com/javalearning/collection/BiMapExample.java | add bimapExample | <ide><path>uavaExample/src/main/java/com/javalearning/collection/BiMapExample.java
<add>package com.javalearning.collection;
<add>
<add>import com.google.common.collect.BiMap;
<add>import com.google.common.collect.HashBiMap;
<add>import com.google.common.collect.ImmutableBiMap;
<add>
<add>/**
<add> * Created by renqun.... | |
Java | apache-2.0 | 6cccfc1caa13c00a7be8b640e31ad0840746b14a | 0 | satorufujiwara/ExoPlayer,hanyoungpark/ExoPlayer,jeoliva/ExoPlayer,prashant31191/ExoPlayer,ahmashour1/ExoPlayer,reid-mcpherson/ExoPlayerDebug,JasonFengHot/ExoPlayerSource,b95505017/ExoPlayer,stari4ek/ExoPlayer,jeoliva/ExoPlayer,Ood-Tsen/ExoPlayer,tntcrowd/ExoPlayer,tresvecesseis/ExoPlayer,pakerfeldt/ExoPlayer,PavelSynek... | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | library/src/main/java/com/google/android/exoplayer/extractor/mp4/Atom.java | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Make Atom.getAtomTypeString public.
I've found myself doing this a couple of times during local
debugging. It's harmless to have it public, and seems pretty
useful for debugging inside of the mp4 package.
| library/src/main/java/com/google/android/exoplayer/extractor/mp4/Atom.java | Make Atom.getAtomTypeString public. | <ide><path>ibrary/src/main/java/com/google/android/exoplayer/extractor/mp4/Atom.java
<ide> return 0x00FFFFFF & fullAtomInt;
<ide> }
<ide>
<del> private static String getAtomTypeString(int type) {
<add> /**
<add> * Converts a numeric atom type to the corresponding four character string.
<add> *
<add> * @p... | |
Java | apache-2.0 | 5bca062d0e8a00dcb97c36b442dd6fcbf4dc72fa | 0 | plusplusjiajia/hadoop,mapr/hadoop-common,lukmajercak/hadoop,JingchengDu/hadoop,nandakumar131/hadoop,steveloughran/hadoop,mapr/hadoop-common,nandakumar131/hadoop,nandakumar131/hadoop,nandakumar131/hadoop,wwjiang007/hadoop,JingchengDu/hadoop,apurtell/hadoop,apurtell/hadoop,mapr/hadoop-common,wwjiang007/hadoop,plusplusjia... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. The ASF
* licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you ma... | hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/EndpointStateMachine.java | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. The ASF
* licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you ma... | HDDS-1476. Fix logIfNeeded logic in EndPointStateMachine. (#779)
| hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/EndpointStateMachine.java | HDDS-1476. Fix logIfNeeded logic in EndPointStateMachine. (#779) | <ide><path>adoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/EndpointStateMachine.java
<ide> * @param ex - Exception
<ide> */
<ide> public void logIfNeeded(Exception ex) {
<del> LOG.trace("Incrementing the Missed count. Ex : {}", ex);
<del> this.incM... | |
Java | apache-2.0 | 0456f74c605d7816d17216167ba31a77d54ffdb5 | 0 | Sage-Bionetworks/SynapseWebClient,Sage-Bionetworks/SynapseWebClient,jay-hodgson/SynapseWebClient,Sage-Bionetworks/SynapseWebClient,jay-hodgson/SynapseWebClient,jay-hodgson/SynapseWebClient,jay-hodgson/SynapseWebClient,Sage-Bionetworks/SynapseWebClient | package org.sagebionetworks.web.client.security;
import static org.junit.Assert.*;
import static org.mockito.Matchers.*;
import static org.mockito.Mockito.*;
import java.util.HashMap;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
import org.mo... | src/test/java/org/sagebionetworks/web/client/security/AuthenticationControllerImplTest.java | package org.sagebionetworks.web.client.security;
import static org.junit.Assert.*;
import static org.mockito.Matchers.*;
import static org.mockito.Mockito.*;
import java.util.HashMap;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
import org.mo... | verify js call to logout
| src/test/java/org/sagebionetworks/web/client/security/AuthenticationControllerImplTest.java | verify js call to logout | <ide><path>rc/test/java/org/sagebionetworks/web/client/security/AuthenticationControllerImplTest.java
<ide> verify(mockClientCache).clear();
<ide> verify(mockSessionTokenDetector).initializeSessionTokenState();
<ide> verify(mockHeader).refresh();
<add> verify(mockJsClient).logout();
<ide> }
<ide>
<ide> @Test | |
JavaScript | mit | 8eef9f69a06f8741865d5a2f818ccd86c3c6800c | 0 | ColorfulCakeChen/query-submit-canvas,ColorfulCakeChen/query-submit-canvas | export { getRandomIntInclusive, fill_numberArray, generate_numberArray };
import * as FloatValue from "../Unpacker/FloatValue.js";
import * as Recyclable from "./Recyclable.js";
/**
* Return a random integer between min and max. (This function comes from MDN's Math.random().)
*
* @param {number} min The the minimu... | CNN/util/RandTools.js | export { getRandomIntInclusive, fill_numberArray, generate_numberArray };
import * as FloatValue from "../Unpacker/FloatValue.js";
import * as Recyclable from "./Recyclable.js";
/**
* Return a random integer between min and max. (This function comes from MDN's Math.random().)
*
* @param {number} min The the minimu... | randomOffset | CNN/util/RandTools.js | randomOffset | <ide><path>NN/util/RandTools.js
<ide> let valueNoRand = valueBegin;
<ide> let randomOffset;
<ide> let value;
<del> let alter = +1; // extra value for descreasing uniform.
<add> //let alter = +1; // extra value for descreasing uniform.
<ide> //let alter = +0; // extra value for descreasing uniform.
<ide>
<ide... | |
Java | mit | 3c633d44bc2aad484b842bc14dd51fc9e7d52fba | 0 | Team-Fruit/EEWReciever | package net.teamfruit.eewreciever2.common.command;
import java.io.IOException;
import org.apache.commons.lang3.StringUtils;
import net.minecraft.command.ICommandSender;
import net.minecraft.event.ClickEvent;
import net.minecraft.util.ChatStyle;
import net.minecraft.util.EnumChatFormatting;
import net.teamf... | src/main/java/net/teamfruit/eewreciever2/common/command/CommandAuth.java | package net.teamfruit.eewreciever2.common.command;
import java.io.IOException;
import org.apache.commons.lang3.StringUtils;
import net.minecraft.command.ICommandSender;
import net.minecraft.event.ClickEvent;
import net.minecraft.util.ChatStyle;
import net.minecraft.util.EnumChatFormatting;
import net.teamf... | refactor | src/main/java/net/teamfruit/eewreciever2/common/command/CommandAuth.java | refactor | <ide><path>rc/main/java/net/teamfruit/eewreciever2/common/command/CommandAuth.java
<ide> setPermLevel(PermLevel.ADMIN);
<ide> }
<ide>
<del> protected void printAuthStart(final ICommandSender sender) {
<add> protected static void printAuthStart(final ICommandSender sender) {
<ide> final ChatStyle style = new ChatS... | |
Java | apache-2.0 | a58669bc9f06e5612d5f4bdb61fb99913daf554a | 0 | apache/isis,apache/isis,apache/isis,apache/isis,apache/isis,apache/isis | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | core/commons/src/main/java/org/apache/isis/core/commons/internal/exceptions/_Exceptions.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | ISIS-2158: smarter exception to message utility | core/commons/src/main/java/org/apache/isis/core/commons/internal/exceptions/_Exceptions.java | ISIS-2158: smarter exception to message utility | <ide><path>ore/commons/src/main/java/org/apache/isis/core/commons/internal/exceptions/_Exceptions.java
<ide>
<ide> import javax.annotation.Nullable;
<ide>
<add>import org.apache.isis.core.commons.collections.Can;
<ide> import org.apache.isis.core.commons.exceptions.IsisException;
<ide> import org.apache.isis.core.com... | |
Java | apache-2.0 | 0b58de68d59b880d17f74bbb3e8c81fb82d9fabc | 0 | maduhu/head,jpodeszwik/mifos,AArhin/head,maduhu/head,AArhin/head,maduhu/head,maduhu/head,jpodeszwik/mifos,jpodeszwik/mifos,AArhin/head,jpodeszwik/mifos,maduhu/head,AArhin/head,AArhin/head | /*
* Copyright (c) 2005-2010 Grameen Foundation USA
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | acceptanceTests/src/test/java/org/mifos/test/acceptance/loan/CreateClientLoanAccountTest.java | /*
* Copyright (c) 2005-2010 Grameen Foundation USA
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | [MIFOSTEST-361] CreateClientLoanAccountTest test correction
| acceptanceTests/src/test/java/org/mifos/test/acceptance/loan/CreateClientLoanAccountTest.java | [MIFOSTEST-361] CreateClientLoanAccountTest test correction | <ide><path>cceptanceTests/src/test/java/org/mifos/test/acceptance/loan/CreateClientLoanAccountTest.java
<ide> searchParameters.setLoanProduct("MIFOS-2636-GKEmergencyLoanWithZeroInterest");
<ide>
<ide> CreateLoanAccountSubmitParameters submitAccountParameters = new CreateLoanAccountSubmitParameters();
<... | |
Java | apache-2.0 | 901714d75dd6da9c3b7dca3f48046119c6f08905 | 0 | vincentpoon/hbase,gustavoanatoly/hbase,bijugs/hbase,ndimiduk/hbase,mahak/hbase,Eshcar/hbase,mahak/hbase,ultratendency/hbase,ultratendency/hbase,francisliu/hbase,bijugs/hbase,ChinmaySKulkarni/hbase,Eshcar/hbase,SeekerResource/hbase,vincentpoon/hbase,vincentpoon/hbase,apurtell/hbase,francisliu/hbase,SeekerResource/hbase,... | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | HBASE-13675 ProcedureExecutor completion report should be at DEBUG log level
| hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java | HBASE-13675 ProcedureExecutor completion report should be at DEBUG log level | <ide><path>base-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
<ide>
<ide> public void periodicExecute(final TEnvironment env) {
<ide> if (completed.isEmpty()) {
<del> LOG.debug("no completed procedures to cleanup");
<add> if (LOG.isDebugEnabled()) {
<add> ... | |
Java | apache-2.0 | 3f07cc4e029f2591e37e2cdbc3aa67a1ced18eea | 0 | Merck/Halyard,Merck/Halyard | /*
* Copyright 2016 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co.,
* Inc., Kenilworth, NJ, USA.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | tools/src/main/java/com/msd/gin/halyard/tools/HalyardStats.java | /*
* Copyright 2016 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co.,
* Inc., Kenilworth, NJ, USA.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | more refactoring before #18 Extend Halyard Stats with significant SUBJ, PRED and OBJ cardinalities
| tools/src/main/java/com/msd/gin/halyard/tools/HalyardStats.java | more refactoring before #18 Extend Halyard Stats with significant SUBJ, PRED and OBJ cardinalities | <ide><path>ools/src/main/java/com/msd/gin/halyard/tools/HalyardStats.java
<ide>
<ide> private Configuration conf;
<ide>
<del>
<del> static String[] parse(byte[] bytes) throws IOException {
<del> try (DataInputStream dis = new DataInputStream(new ByteArrayInputStream(bytes))) {
<del> String re... | |
Java | apache-2.0 | f24afb4ecbca13a605f988ce81a5283a382199e9 | 0 | mdogan/hazelcast,emrahkocaman/hazelcast,mesutcelik/hazelcast,emre-aydin/hazelcast,dsukhoroslov/hazelcast,Donnerbart/hazelcast,tufangorel/hazelcast,tombujok/hazelcast,mesutcelik/hazelcast,Donnerbart/hazelcast,emrahkocaman/hazelcast,tufangorel/hazelcast,emre-aydin/hazelcast,lmjacksoniii/hazelcast,lmjacksoniii/hazelcast,j... | hazelcast/src/main/java/com/Main.java | package com;
import com.hazelcast.transaction.TransactionException;
/**
* Created by alarmnummer on 8/6/14.
*/
public class Main {
public static void main(String[] args){
System.out.println(null instanceof TransactionException);
}
}
| Deleted a test class... how did that end up in my pr...
| hazelcast/src/main/java/com/Main.java | Deleted a test class... how did that end up in my pr... | <ide><path>azelcast/src/main/java/com/Main.java
<del>package com;
<del>
<del>import com.hazelcast.transaction.TransactionException;
<del>
<del>/**
<del> * Created by alarmnummer on 8/6/14.
<del> */
<del>public class Main {
<del> public static void main(String[] args){
<del> System.out.println(null instanceof ... | ||
Java | bsd-3-clause | 5839643978b6205b127cc7d23fe2c0911f5efab7 | 0 | ontodev/robot,ontodev/robot,ontodev/robot | package org.obolibrary.robot;
import java.io.IOException;
import java.io.Writer;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.AbstractMap.SimpleEntry;
import java.util.regex.Matcher;
import java.util.r... | robot-core/src/main/java/org/obolibrary/robot/ValidateOperation.java | package org.obolibrary.robot;
import java.io.IOException;
import java.io.Writer;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.AbstractMap.SimpleEntry;
import java.util.regex.Matcher;
import java.util.r... | add the new version of the 'required' rule, add an 'excluded' rule that is the opposite of required, allow the 'writeout' function to behave like the String.format() function
| robot-core/src/main/java/org/obolibrary/robot/ValidateOperation.java | add the new version of the 'required' rule, add an 'excluded' rule that is the opposite of required, allow the 'writeout' function to behave like the String.format() function | <ide><path>obot-core/src/main/java/org/obolibrary/robot/ValidateOperation.java
<ide>
<ide> /**
<ide> * TODO:
<del> * - Make the optional when clause applicable to 'required'
<del> * - Add an 'excluded' rule which is the mirror image of the 'required' rule
<del> * - Allow multiple query types in a single clause (e.g. ... | |
Java | apache-2.0 | 4c85d6a7b9728d39efa68d178e6e875c2f4a5d40 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi;
import com.intellij.openapi.diagnostic.Attachment;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.psi.impl.source.resolve.reference.... | platform/core-impl/src/com/intellij/psi/PsiReferenceServiceImpl.java | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | enforce `∀ref ∈ element.getReferences(), ref.getElement() == element` with assertion in PsiReferenceServiceImpl
GitOrigin-RevId: 3d4e256099a190da4229af57785d7252737f01b9
| platform/core-impl/src/com/intellij/psi/PsiReferenceServiceImpl.java | enforce `∀ref ∈ element.getReferences(), ref.getElement() == element` with assertion in PsiReferenceServiceImpl | <ide><path>latform/core-impl/src/com/intellij/psi/PsiReferenceServiceImpl.java
<del>/*
<del> * Copyright 2000-2014 JetBrains s.r.o.
<del> *
<del> * Licensed under the Apache License, Version 2.0 (the "License");
<del> * you may not use this file except in compliance with the License.
<del> * You may obtain a copy of th... | |
Java | mit | 11e5b77144cdbb3cba61603a4f7d7df6b76c2f11 | 0 | bcgit/bc-java,bcgit/bc-java,bcgit/bc-java | package org.bouncycastle.jcajce.provider.symmetric;
import java.security.AlgorithmParameters;
import java.security.InvalidAlgorithmParameterException;
import java.security.SecureRandom;
import java.security.spec.AlgorithmParameterSpec;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.KeySpe... | prov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/DESede.java | package org.bouncycastle.jcajce.provider.symmetric;
import java.security.AlgorithmParameters;
import java.security.InvalidAlgorithmParameterException;
import java.security.SecureRandom;
import java.security.spec.AlgorithmParameterSpec;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.KeySpe... | added apple "PBE" entry for PKCS#12.
| prov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/DESede.java | added apple "PBE" entry for PKCS#12. | <ide><path>rov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/DESede.java
<ide> provider.addAlgorithm("Alg.Alias.AlgorithmParameters.PBEWITHSHAANDDES3KEY-CBC", "PKCS12PBE");
<ide> provider.addAlgorithm("Alg.Alias.AlgorithmParameters.PBEWITHSHAANDDES2KEY-CBC", "PKCS12PBE");
<ide>
<add>... | |
JavaScript | mit | c31af0836cd996e9ccfbb34e6a8c45fec9d96c65 | 0 | UniversityofHelsinki/OC-webgui,UniversityofHelsinki/OC-webgui,UniversityofHelsinki/OC-webgui,UniversityofHelsinki/OC-webgui | angular.module('ocWebGui.navbar', ['ui.router', 'ocWebGui.login', 'FBAngular'])
.controller('NavbarController', function ($scope, $http, User, Fullscreen) {
var vm = this;
vm.isAuthenticated = User.isAuthenticated;
User.getUsername().then(function (username) {
vm.username = username;
});
vm... | app/assets/javascripts/navbar/navbarController.js | angular.module('ocWebGui.navbar', ['ui.router', 'ocWebGui.login', 'FBAngular'])
.controller('NavbarController', function ($scope, $http, User, Fullscreen) {
var vm = this;
vm.isAuthenticated = User.isAuthenticated;
User.getUsername().then(function (username) {
vm.username = username;
});
vm... | Enable scrolling in personal view
| app/assets/javascripts/navbar/navbarController.js | Enable scrolling in personal view | <ide><path>pp/assets/javascripts/navbar/navbarController.js
<ide> });
<ide>
<ide> vm.openPersonalView = function () {
<del> window.open('#/personal', 'Oma näkymä', 'height=300, width=225, menubar=no, toolbar=no, location=no, personalbar=no, status=no');
<add> window.open('#/personal', 'Oma näkymä', '... | |
Java | bsd-3-clause | 29f0083d637a6e669ff3a789832f2a48ceed4667 | 0 | bponsler/rosjava_roslaunch | package org.ros.rosjava.roslaunch.launching;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.ros.rosjava.roslaunch.ArgumentParser;
import org.ros.rosjava.roslaunch.logging.PrintLog;
import org.ros.rosjava.roslaunch.parsing.LaunchFile;
import org.ros.rosjava.roslaunc... | src/org/ros/rosjava/roslaunch/launching/RosLaunchRunner.java | package org.ros.rosjava.roslaunch.launching;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.ros.rosjava.roslaunch.ArgumentParser;
import org.ros.rosjava.roslaunch.logging.PrintLog;
import org.ros.rosjava.roslaunch.parsing.LaunchFile;
import org.ros.rosjava.roslaunc... | Updated the rosmaster process to be a required process when it is launched by roslaunch. roslaunch itself does not consider the rosmaster a required process which means that if the roslaunch process it starts gets killed out from under it it will print an error, but will not stop the roslaunch process.
This version wi... | src/org/ros/rosjava/roslaunch/launching/RosLaunchRunner.java | Updated the rosmaster process to be a required process when it is launched by roslaunch. roslaunch itself does not consider the rosmaster a required process which means that if the roslaunch process it starts gets killed out from under it it will print an error, but will not stop the roslaunch process. | <ide><path>rc/org/ros/rosjava/roslaunch/launching/RosLaunchRunner.java
<ide> master,
<ide> command, // command used to run this process
<ide> true, // this is a core process
<del> false, // roslaunch does not require this node
<add> true, // roslaunch does not require this node
<ide> false); ... | |
Java | epl-1.0 | 41d51e7345740c578d08e494a9e97b808bc9ae56 | 0 | Mark-Booth/daq-eclipse,Mark-Booth/daq-eclipse,Mark-Booth/daq-eclipse | /*-
*******************************************************************************
* Copyright (c) 2011, 2016 Diamond Light Source Ltd.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... | org.eclipse.scanning.example/src/org/eclipse/scanning/example/scannable/MockNeXusSlit.java | /*-
*******************************************************************************
* Copyright (c) 2011, 2016 Diamond Light Source Ltd.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... | SonarQube re-review | org.eclipse.scanning.example/src/org/eclipse/scanning/example/scannable/MockNeXusSlit.java | SonarQube re-review | <ide><path>rg.eclipse.scanning.example/src/org/eclipse/scanning/example/scannable/MockNeXusSlit.java
<ide> return nexusDelegate;
<ide> }
<ide>
<del> public void setPosition(Number value, IPosition position) throws Exception {
<add> public void setPosition(Number initialValue, IPosition position) throws Exception {
... | |
JavaScript | mit | 1498110798442d9eb2268d537ea396ac7f6370f9 | 0 | rsmbl/Resemble.js,rsmbl/Resemble.js,kamilbielawski/Resemble.js,Huddle/Resemble.js,kamilbielawski/Resemble.js,Huddle/Resemble.js | /*
James Cryer / Huddle 2015
URL: https://github.com/Huddle/Resemble.js
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof module === 'object' && module.exports) {
module.exports = factory();
} else {
root.resemble = factory();
}
}(this, fu... | resemble.js | /*
James Cryer / Huddle 2014
URL: https://github.com/Huddle/Resemble.js
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof module === 'object' && module.exports) {
module.exports = factory();
} else {
root.resemble = factory();
}
}(this, fu... | missing semi-colon
| resemble.js | missing semi-colon | <ide><path>esemble.js
<ide> /*
<del>James Cryer / Huddle 2014
<add>James Cryer / Huddle 2015
<ide> URL: https://github.com/Huddle/Resemble.js
<ide> */
<ide>
<ide> diffBounds.right = Math.max(x, diffBounds.right);
<ide> diffBounds.top = Math.min(y, diffBounds.top);
<ide> diffBounds.bottom = Math.max(y, diff... | |
Java | agpl-3.0 | b73dc944db6207ae2e6cd0fc1b1cfcd08e811fa4 | 0 | mtoonen/propertiesparser | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nl.meg.propertiesutility;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import jav... | src/main/java/nl/meg/propertiesutility/Properties.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nl.meg.propertiesutility;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import jav... | Reformatted
| src/main/java/nl/meg/propertiesutility/Properties.java | Reformatted | <ide><path>rc/main/java/nl/meg/propertiesutility/Properties.java
<ide> public void setProperty(String origKey, String origValue) {
<ide> String key = origKey.trim();
<ide> String val = origValue;
<del> while (val.charAt(0)== ' '){
<add> while (val.charAt(0) == ' ') {
<ide> ... | |
Java | apache-2.0 | 39d444a02476b9d1ca2f9a25b64d1cc87244a29b | 0 | Reidddddd/alluxio,maobaolong/alluxio,riversand963/alluxio,jswudi/alluxio,bf8086/alluxio,maboelhassan/alluxio,Reidddddd/alluxio,PasaLab/tachyon,calvinjia/tachyon,jswudi/alluxio,aaudiber/alluxio,bf8086/alluxio,PasaLab/tachyon,madanadit/alluxio,riversand963/alluxio,Reidddddd/alluxio,EvilMcJerkface/alluxio,jswudi/alluxio,b... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | core/server/common/src/main/java/alluxio/cli/validation/HdfsValidationTask.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Fix a typo.
| core/server/common/src/main/java/alluxio/cli/validation/HdfsValidationTask.java | Fix a typo. | <ide><path>ore/server/common/src/main/java/alluxio/cli/validation/HdfsValidationTask.java
<ide> String scheme =
<ide> new AlluxioURI(Configuration.get(PropertyKey.MASTER_MOUNT_TABLE_ROOT_UFS)).getScheme();
<ide> if (scheme == null || !scheme.startsWith("hdfs")) {
<del> System.err.format("Root under... | |
Java | apache-2.0 | 47d2f3acb8eb0a28973b0bc3d7375e3caa564f1e | 0 | heremaps/here-android-sdk-examples,heremaps/here-android-sdk-examples,heremaps/here-android-sdk-examples | /*
* Copyright (c) 2011-2020 HERE Europe B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | advanced-navigation/app/src/main/java/com/here/android/example/advanced/navigation/MapFragmentView.java | /*
* Copyright (c) 2011-2020 HERE Europe B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | Added navigation manager rerouting callback into advanced-navigation example.
Signed-off-by: Vitalii Khoruzhyi <31f8d2b3304e284241ee43f72b01ee2e759be5ec@here.com>
| advanced-navigation/app/src/main/java/com/here/android/example/advanced/navigation/MapFragmentView.java | Added navigation manager rerouting callback into advanced-navigation example. | <ide><path>dvanced-navigation/app/src/main/java/com/here/android/example/advanced/navigation/MapFragmentView.java
<ide> import com.here.android.mpa.mapping.AndroidXMapFragment;
<ide> import com.here.android.mpa.mapping.MapGesture;
<ide> import com.here.android.mpa.mapping.MapMarker;
<add>import com.here.android.mpa.map... | |
JavaScript | mit | b2ceaabd1084943291e47f3e62a00d1a4c8fec47 | 0 | raphaelstary/highfive.js,raphaelstary/highfive.js | var PointerHandler = (function (Event) {
"use strict";
function PointerHandler(events) {
this.events = events;
this.activePointers = {};
this.changed = false;
}
PointerHandler.prototype.pointerDown = function (event) {
this.activePointers[event.pointerId] = {
... | www/js/input/PointerHandler.js | var PointerHandler = (function (Event) {
"use strict";
function PointerHandler(events) {
this.events = events;
this.activePointers = {};
this.changed = false;
}
PointerHandler.prototype.pointerDown = function (event) {
event.preventDefault();
this.activePointers... | unused event calls in input listener #core
(cherry picked from commit 5962e77)
| www/js/input/PointerHandler.js | unused event calls in input listener #core (cherry picked from commit 5962e77) | <ide><path>ww/js/input/PointerHandler.js
<ide> }
<ide>
<ide> PointerHandler.prototype.pointerDown = function (event) {
<del> event.preventDefault();
<ide> this.activePointers[event.pointerId] = {
<ide> id: event.pointerId,
<ide> x: event.clientX,
<ide> };
<ide>
<ide>... | |
Java | bsd-2-clause | 351fd71de767b7c53723f0d35766cf194ed7e28c | 0 | AeroGlass/g3m,octavianiLocator/g3m,AeroGlass/g3m,AeroGlass/g3m,octavianiLocator/g3m,octavianiLocator/g3m,AeroGlass/g3m,octavianiLocator/g3m,AeroGlass/g3m,AeroGlass/g3m,octavianiLocator/g3m,octavianiLocator/g3m | package org.glob3.mobile.generated;
public class Mapboo_ErrorMessagesCustomizer implements ErrorMessagesCustomizer
{
private MapBooBuilder _mbBuilder;
public Mapboo_ErrorMessagesCustomizer(MapBooBuilder mbBuilder)
{
_mbBuilder = mbBuilder;
}
public void dispose()
{
}
public final j... | Commons/G3MSharedSDK/src/org/glob3/mobile/generated/Mapboo_ErrorMessagesCustomizer.java | package org.glob3.mobile.generated;
public class Mapboo_ErrorMessagesCustomizer implements ErrorMessagesCustomizer
{
private MapBooBuilder _mbBuilder;
public Mapboo_ErrorMessagesCustomizer(MapBooBuilder mbBuilder)
{
_mbBuilder = mbBuilder;
}
public void dispose()
{
}
public final java.ut... | Generated
| Commons/G3MSharedSDK/src/org/glob3/mobile/generated/Mapboo_ErrorMessagesCustomizer.java | Generated | <ide><path>ommons/G3MSharedSDK/src/org/glob3/mobile/generated/Mapboo_ErrorMessagesCustomizer.java
<ide> public class Mapboo_ErrorMessagesCustomizer implements ErrorMessagesCustomizer
<ide> {
<ide> private MapBooBuilder _mbBuilder;
<add>
<ide> public Mapboo_ErrorMessagesCustomizer(MapBooBuilder mbBuilder)
<ide> {
... | |
Java | mit | 00ad22a773aeca63a8608d737efce7646086c1d7 | 0 | mklein0/git-plugin,KostyaSha/git-plugin,ydubreuil/git-plugin,Deveo/git-plugin,avdv/git-plugin,nordstrand/git-plugin,avdv/git-plugin,kzantow/git-plugin,MarkEWaite/git-plugin,bjacklyn/git-plugin,loomchild/git-plugin,Vlatombe/git-plugin,nordstrand/git-plugin,ialbors/git-plugin,ivan-fedorov/git-plugin,nKey/git-plugin,ldtkm... | package hudson.plugins.git;
import static hudson.Util.fixEmptyAndTrim;
import hudson.AbortException;
import hudson.EnvVars;
import hudson.Extension;
import hudson.FilePath;
import hudson.FilePath.FileCallable;
import hudson.Launcher;
import hudson.Util;
import hudson.init.InitMilestone;
import hudson.init.Initializer... | src/main/java/hudson/plugins/git/GitSCM.java | package hudson.plugins.git;
import static hudson.Util.fixEmptyAndTrim;
import hudson.AbortException;
import hudson.EnvVars;
import hudson.Extension;
import hudson.FilePath;
import hudson.FilePath.FileCallable;
import hudson.Launcher;
import hudson.Util;
import hudson.init.InitMilestone;
import hudson.init.Initializer... | Print the actual number of repos changes are being fetched from.
Use repos.size() instead of the (implicit) toString(). | src/main/java/hudson/plugins/git/GitSCM.java | Print the actual number of repos changes are being fetched from. | <ide><path>rc/main/java/hudson/plugins/git/GitSCM.java
<ide> else
<ide> log.println(MessageFormat
<ide> .format("Fetching changes from {0} remote Git repositories",
<del> repos));
<add> ... | |
Java | bsd-3-clause | fed9ada30cab085a466f9c43021d53056a01b14b | 0 | NCIP/c3pr,NCIP/c3pr,NCIP/c3pr | package edu.duke.cabig.c3pr.dao;
import static edu.nwu.bioinformatics.commons.testing.CoreTestCase.assertContains;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import edu.duke.cabig.c3pr.domain.Address;
import edu.duke.cabig.c3pr.domain.Arm;
import edu.duke.cabig.c3pr.domain.Epoch;
impor... | codebase/projects/core/test/edu/duke/cabig/c3pr/dao/StudyDaoTest.java | package edu.duke.cabig.c3pr.dao;
import static edu.nwu.bioinformatics.commons.testing.CoreTestCase.assertContains;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import edu.duke.cabig.c3pr.domain.Address;
import edu.duke.cabig.c3pr.domain.Arm;
import edu.duke.cabig.c3pr.domain.Epoch;
impor... | updated test with gridId
| codebase/projects/core/test/edu/duke/cabig/c3pr/dao/StudyDaoTest.java | updated test with gridId | <ide><path>odebase/projects/core/test/edu/duke/cabig/c3pr/dao/StudyDaoTest.java
<ide> study.setStatus("Status");
<ide> study.setTargetAccrualNumber(150);
<ide> study.setType("Type");
<del> study.setMultiInstitutionIndicator(new Boolean(true));
<add> study.setMul... | |
Java | apache-2.0 | 6875e2fde566b0ced981fb092480827778483f1e | 0 | slothspot/scala,slothspot/scala,shimib/scala,martijnhoekstra/scala,lrytz/scala,felixmulder/scala,jvican/scala,martijnhoekstra/scala,felixmulder/scala,shimib/scala,slothspot/scala,scala/scala,jvican/scala,jvican/scala,shimib/scala,scala/scala,scala/scala,lrytz/scala,felixmulder/scala,scala/scala,slothspot/scala,martijnh... | /* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2006-2009, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/... | src/library/scala/runtime/BoxesRunTime.java | /* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2006-2009, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/... | Updated scaladoc to show now using jvm box cache.
| src/library/scala/runtime/BoxesRunTime.java | Updated scaladoc to show now using jvm box cache. | <ide><path>rc/library/scala/runtime/BoxesRunTime.java
<ide> /** An object (static class) that defines methods used for creating,
<ide> * reverting, and calculating with, boxed values. There are four classes
<ide> * of methods in this object:
<del> * - High-performance value boxing methods that feed from a pre-
<... | |
Java | epl-1.0 | 979f01293021ce5990fdd36857b76021d4b94ace | 0 | elexis/elexis-3-core,elexis/elexis-3-core,elexis/elexis-3-core,elexis/elexis-3-core | /*******************************************************************************
* Copyright (c) 2010, Elexis und Niklaus Giger <niklaus.giger@member.fsf.org
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies... | tests/ch.elexis.core.ui.importer.div.tests/src/ch/elexis/importer/div/Test_HL7_parser.java | /*******************************************************************************
* Copyright (c) 2010, Elexis und Niklaus Giger <niklaus.giger@member.fsf.org
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies... | [15471] Fix timezone dependent test
| tests/ch.elexis.core.ui.importer.div.tests/src/ch/elexis/importer/div/Test_HL7_parser.java | [15471] Fix timezone dependent test | <ide><path>ests/ch.elexis.core.ui.importer.div.tests/src/ch/elexis/importer/div/Test_HL7_parser.java
<ide> public class Test_HL7_parser {
<ide>
<ide> private static Path workDir = null;
<add> private static SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
<ide>
<ide> @BeforeClass
<ide> publ... | |
Java | apache-2.0 | 2f48a7c6d51da5fa43d8c6c9bdcfb4c198108865 | 0 | Commonjava/indy,jdcasey/indy,ruhan1/indy,ruhan1/indy,ligangty/indy,yma88/indy,jdcasey/indy,pkocandr/indy,yma88/indy,Commonjava/indy,Commonjava/indy,yma88/indy,Commonjava/indy,ruhan1/indy,pkocandr/indy,pkocandr/indy,yma88/indy,yma88/indy,ruhan1/indy,jdcasey/indy,pkocandr/indy,jdcasey/indy,jdcasey/indy,ruhan1/indy,pkocan... | /**
* Copyright (C) 2011-2020 Red Hat, Inc. (https://github.com/Commonjava/indy)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | subsys/newrelic/src/main/java/org/commonjava/indy/subsys/newrelic/NewRelicFilter.java | /**
* Copyright (C) 2011-2020 Red Hat, Inc. (https://github.com/Commonjava/indy)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | check before sending batch, push field extraction to manager, use Dequeue instead of List
| subsys/newrelic/src/main/java/org/commonjava/indy/subsys/newrelic/NewRelicFilter.java | check before sending batch, push field extraction to manager, use Dequeue instead of List | <ide><path>ubsys/newrelic/src/main/java/org/commonjava/indy/subsys/newrelic/NewRelicFilter.java
<ide> {
<ide> if ( rootSpan != null )
<ide> {
<del> Stream.of( config.getFields()).forEach( field->{
<del> Object value = getContext( field );
<del> ... | |
Java | apache-2.0 | 380bff6a488c6900ecb634e0b49f6253f2641723 | 0 | Jukkorsis/Hadrian,Jukkorsis/Hadrian,Jukkorsis/Hadrian | /*
* Copyright 2015 Richard Thurston.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | src/main/java/com/northernwall/hadrian/domain/Team.java | /*
* Copyright 2015 Richard Thurston.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Removing dead code | src/main/java/com/northernwall/hadrian/domain/Team.java | Removing dead code | <ide><path>rc/main/java/com/northernwall/hadrian/domain/Team.java
<ide> private String teamEmail;
<ide> private String teamIrc;
<ide> private String teamSlack;
<del> private String gitRepo;
<ide> private String gitGroup;
<ide> private String teamPage;
<ide> private String calendarId;
<ide> ... | |
Java | mit | fae8c7d0aafd2d0bfab21684228fd8079f72476d | 0 | bryandh/cordova-imagePicker,marcoocram/cordova-imagePicker,alexanderwallin/cordova-imagePicker,manuonda/cordova-imagePicker,mattchete/snw-cordova-imagePicker,leonzhang1109/cordova-imagePicker,monoku/cordova-imagePicker,pluswave/cordova-imagePicker,kmckee/cordova-imagePicker,ansgarschulte/cordova-imagePicker,manuonda/co... | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | src/android/Library/src/ImageFetcher.java | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | automatic clear the cache on OutOfMemoryError
| src/android/Library/src/ImageFetcher.java | automatic clear the cache on OutOfMemoryError | <ide><path>rc/android/Library/src/ImageFetcher.java
<ide> }
<ide> }
<ide> }catch(OutOfMemoryError error) {
<add> clearCache();
<ide> return null;
<ide> }
<ide>
<ide> * Garbage Collector.
<ide> */
<ide>
<del> private static final int HARD_... | |
JavaScript | apache-2.0 | ca98abf66ec573873ef0609b42926df7c804f564 | 0 | marcuspridham/cordova-lib,tripodsan/cordova-lib,ktop/cordova-lib,purplecabbage/cordova-lib,carynbear/cordova-lib,ktop/cordova-lib,ogoguel/cordova-lib,tripodsan/cordova-lib,tripodsan/cordova-lib,marcuspridham/cordova-lib,ogoguel/cordova-lib,AxelNennker/cordova-lib,shazron/cordova-lib,ogoguel/cordova-lib,ktop/cordova-lib... | /**
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"... | cordova-lib/src/cordova/platform.js | /**
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"... | CB-11339 Add a warning about prerelease platform usage
| cordova-lib/src/cordova/platform.js | CB-11339 Add a warning about prerelease platform usage | <ide><path>ordova-lib/src/cordova/platform.js
<ide> throw new CordovaError('Platform "' + platform + '" is not yet added. See `' +
<ide> cordova_util.binname + ' platform list`.');
<ide> }
<add> }
<add>
<add> if (/-nig... | |
Java | agpl-3.0 | 0f7adf34bcc0ff50a941d85c382e4fd728eb3807 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | fb417d4c-2e61-11e5-9284-b827eb9e62be | hello.java | fb3c1aaa-2e61-11e5-9284-b827eb9e62be | fb417d4c-2e61-11e5-9284-b827eb9e62be | hello.java | fb417d4c-2e61-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>fb3c1aaa-2e61-11e5-9284-b827eb9e62be
<add>fb417d4c-2e61-11e5-9284-b827eb9e62be | |
Java | bsd-2-clause | 2b796070d04fa9fe2431cc3ec6b36519501d2285 | 0 | octavianiLocator/g3m,AeroGlass/g3m,octavianiLocator/g3m,AeroGlass/g3m,octavianiLocator/g3m,AeroGlass/g3m,AeroGlass/g3m,octavianiLocator/g3m,octavianiLocator/g3m,AeroGlass/g3m,octavianiLocator/g3m,AeroGlass/g3m | package org.glob3.mobile.generated;
//
// Layer.cpp
// G3MiOSSDK
//
// Created by Diego Gomez Deck on 23/08/12.
//
//
//
// Layer.hpp
// G3MiOSSDK
//
// Created by José Miguel S N on 23/07/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
//class LayerCondition;
//clas... | Commons/G3MSharedSDK/src/org/glob3/mobile/generated/Layer.java | package org.glob3.mobile.generated;
//
// Layer.cpp
// G3MiOSSDK
//
// Created by Diego Gomez Deck on 23/08/12.
//
//
//
// Layer.hpp
// G3MiOSSDK
//
// Created by José Miguel S N on 23/07/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
//class LayerCondition;
//clas... | Generated
| Commons/G3MSharedSDK/src/org/glob3/mobile/generated/Layer.java | Generated | <ide><path>ommons/G3MSharedSDK/src/org/glob3/mobile/generated/Layer.java
<ide> }
<ide> }
<ide>
<add> public final java.util.ArrayList<String> getInfos()
<add> {
<ide> //C++ TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
<ide> //#warning TODO BETTER
<del> public final java.util.ArrayList<String... | |
Java | mit | 69fcb065bbcc2b1eda0a085b7fcca51ee9fe5262 | 0 | codeck/XChange,LeonidShamis/XChange,stachon/XChange,npomfret/XChange,dozd/XChange,mmithril/XChange,cinjoff/XChange-1,ww3456/XChange,timmolter/XChange,jennieolsson/XChange,Muffon/XChange,evdubs/XChange,nivertech/XChange,stevenuray/XChange,joansmith/XChange,anwfr/XChange,andre77/XChange,douggie/XChange,jheusser/XChange,P... | package com.xeiam.xchange.coinbaseex;
import com.xeiam.xchange.ExchangeFactory;
import com.xeiam.xchange.currency.CurrencyPair;
import org.junit.Test;
import java.io.IOException;
import java.util.Arrays;
import static org.fest.assertions.api.Assertions.assertThat;
public class CoinbaseExExchangeTest {
@Test
pu... | xchange-coinbaseex/src/test/java/com/xeiam/xchange/coinbaseex/CoinbaseExExchangeTest.java | package com.xeiam.xchange.coinbaseex;
import com.xeiam.xchange.ExchangeFactory;
import com.xeiam.xchange.currency.CurrencyPair;
import org.junit.Test;
import java.io.IOException;
import java.util.Arrays;
import static org.fest.assertions.api.Assertions.assertThat;
public class CoinbaseExExchangeTest {
@Test
... | [coinbaseex] format code to XChange code style
| xchange-coinbaseex/src/test/java/com/xeiam/xchange/coinbaseex/CoinbaseExExchangeTest.java | [coinbaseex] format code to XChange code style | <ide><path>change-coinbaseex/src/test/java/com/xeiam/xchange/coinbaseex/CoinbaseExExchangeTest.java
<ide>
<ide> public class CoinbaseExExchangeTest {
<ide>
<del> @Test
<del> public void coinbaseShouldBeInstantiatedWithoutAnExceptionWhenUsingDefaultSpecification() {
<del> ExchangeFactory.INSTANCE.createEx... | |
Java | mit | aa681805805721d80d2487d06d1b3bd59be1adeb | 0 | jenkinsci/git-plugin,v1v/git-plugin,MarkEWaite/git-plugin,MarkEWaite/git-plugin,martinda/git-plugin,martinda/git-plugin,jenkinsci/git-plugin,v1v/git-plugin,jenkinsci/git-plugin,jenkinsci/git-plugin,martinda/git-plugin,MarkEWaite/git-plugin,v1v/git-plugin,MarkEWaite/git-plugin | /*
* The MIT License
*
* Copyright (c) 2017 CloudBees, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, co... | src/main/java/jenkins/plugins/git/traits/PruneStaleBranchTrait.java | /*
* The MIT License
*
* Copyright (c) 2017 CloudBees, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, co... | [JENKINS=57683] Fix PruneStaleBranchTrait class cast exception | src/main/java/jenkins/plugins/git/traits/PruneStaleBranchTrait.java | [JENKINS=57683] Fix PruneStaleBranchTrait class cast exception | <ide><path>rc/main/java/jenkins/plugins/git/traits/PruneStaleBranchTrait.java
<ide> */
<ide> @Override
<ide> protected void decorateContext(SCMSourceContext<?, ?> context) {
<del> GitSCMSourceContext<?,?> ctx = (GitSCMSourceContext<?, ?>) context;
<del> ctx.pruneRefs(true);
<add> if (c... | |
Java | mit | 0bd97209e6e332470fcb34a2e5ffee1bece527d9 | 0 | runtimeverification/llvmmop,runtimeverification/llvmmop | /// TODO : consider symbols that don't appear in the SRS?
package logicrepository.plugins.srs;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.Iterator;
import java.util.Set;
//This uses a slightly modified Aho-Cor... | src/logicrepository/plugins/srs/PatternMatchAutomaton.java | /// TODO : consider symbols that don't appear in the SRS?
package logicrepository.plugins.srs;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.Iterator;
import java.util.Set;
//This uses a slightly modified Aho-Cor... | commented out a bunch of debug info
git-svn-id: 013ac3113cd3d16c1953ca3ca14bb907a88a1e2d@152 3664526f-1af9-0fc8-7c89-f5c43c22a1f7
| src/logicrepository/plugins/srs/PatternMatchAutomaton.java | commented out a bunch of debug info | <ide><path>rc/logicrepository/plugins/srs/PatternMatchAutomaton.java
<ide>
<ide> public void rewrite(SinglyLinkedList<Symbol> l){
<ide> System.out.println("rewriting:");
<del> System.out.println(" " + l + "\n=========================================");
<add> //System.out.println(" " + l + "\n==========... | |
Java | apache-2.0 | 3d37c6ae9bb52b944cd6a09938e2c130b1ff03fb | 0 | lesfurets/dOOv | package org.modelmap.example;
import static com.datastax.driver.core.DataType.text;
import static com.datastax.driver.core.DataType.timeuuid;
import static com.datastax.driver.core.schemabuilder.SchemaBuilder.Direction.DESC;
import static java.util.Arrays.stream;
import static java.util.stream.Collectors.toMap;
import... | sample/test/src/test/java/org/modelmap/example/LiveCode.java | package org.modelmap.example;
import static com.datastax.driver.core.DataType.text;
import static com.datastax.driver.core.DataType.timeuuid;
import static com.datastax.driver.core.schemabuilder.SchemaBuilder.Direction.DESC;
import static java.util.Arrays.stream;
import static java.util.stream.Collectors.toMap;
import... | optimize import
| sample/test/src/test/java/org/modelmap/example/LiveCode.java | optimize import | <ide><path>ample/test/src/test/java/org/modelmap/example/LiveCode.java
<ide> import java.time.LocalDate;
<ide> import java.util.Collection;
<ide> import java.util.Map;
<add>import java.util.Map.Entry;
<ide>
<ide> import org.modelmap.core.FieldId;
<ide> import org.modelmap.core.FieldInfo;
<ide> FieldModel model... | |
Java | agpl-3.0 | ed4abd5a9942ac05fca0d310316158ff6e3e41ca | 0 | imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms | /*
*
* @(#)Chat.java
*
*
* Copyright (c)
*
*/
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import imcode.external.diverse.* ;
import imcode.util.*;
import imcode.util.IMCServiceRMI;
import imcode.util.Parser;
import imcode.external.chat.*;
/**
* superclas for chat... | servlets/chat/ChatBase.java | /*
*
* @(#)Chat.java
*
*
* Copyright (c)
*
*/
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import imcode.external.diverse.* ;
import imcode.util.*;
import imcode.util.IMCServiceRMI;
import imcode.util.Parser;
/**
* superclas for chat servlets.
*
* Html template i... | Added some methods to handle the Chatpkt
git-svn-id: b7e9aa1d6cd963481915708f70423d437278b157@616 bd66a97b-2aff-0310-9095-89ca5cabf5a6
| servlets/chat/ChatBase.java | Added some methods to handle the Chatpkt | <ide><path>ervlets/chat/ChatBase.java
<ide> import imcode.util.*;
<ide> import imcode.util.IMCServiceRMI;
<ide> import imcode.util.Parser;
<add>
<add>import imcode.external.chat.*;
<ide>
<ide> /**
<ide> * superclas for chat servlets.
<ide>
<ide> private final static String ADMIN_BUTTON_TEMPLATE = "Chat_Admin_Button... | |
Java | apache-2.0 | 3c7b67b2f8dfdeaef565258b69e184af81f80d90 | 0 | leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere | /*
* Copyright 1999-2015 dangdang.com.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | sharding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/api/config/ShardingRuleConfiguration.java | /*
* Copyright 1999-2015 dangdang.com.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | check null for dataSourceMap
| sharding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/api/config/ShardingRuleConfiguration.java | check null for dataSourceMap | <ide><path>harding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/api/config/ShardingRuleConfiguration.java
<ide> import com.dangdang.ddframe.rdb.sharding.routing.strategy.ShardingStrategy;
<ide> import com.dangdang.ddframe.rdb.sharding.rule.ShardingRule;
<ide> import com.dangdang.ddframe.rdb.sharding.rule.T... | |
Java | apache-2.0 | b0578cb3298ae6e403b5177ae20a70cac3979d54 | 0 | blackducksoftware/hub-detect,blackducksoftware/hub-detect,blackducksoftware/hub-detect,blackducksoftware/hub-detect | package com.blackducksoftware.integration.hub.detect.workflow.diagnostic;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute... | hub-detect/src/main/groovy/com/blackducksoftware/integration/hub/detect/workflow/diagnostic/DiagnosticZipCreator.java | package com.blackducksoftware.integration.hub.detect.workflow.diagnostic;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.SimpleFileVisitor;
im... | Modifying zip entry name logic.
| hub-detect/src/main/groovy/com/blackducksoftware/integration/hub/detect/workflow/diagnostic/DiagnosticZipCreator.java | Modifying zip entry name logic. | <ide><path>ub-detect/src/main/groovy/com/blackducksoftware/integration/hub/detect/workflow/diagnostic/DiagnosticZipCreator.java
<ide> import java.nio.file.FileVisitResult;
<ide> import java.nio.file.Files;
<ide> import java.nio.file.Path;
<del>import java.nio.file.Paths;
<ide> import java.nio.file.SimpleFileVisitor;
<i... | |
Java | mit | 34e0ecb6fce0c8d89cd5be440cff41b9985968e2 | 0 | joyepay/thumbnailator,gigaZhang/thumbnailator,wenhe666/thumbnailator,cjmcn-sh/thumbnailator,codingEcho/thumbnailator,AascisB/thumbnailator,icq112771720/thumbnailator,vfishv/thumbnailator,mystijk/thumbnailator,nickleo/thumbnailator,jasonqu/thumbnailator,herohenu/thumbnailator,xuyanxiang/thumbnailator,sinisterrook/thumbn... | package net.coobird.thumbnailator;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.util.ArrayL... | src/net/coobird/thumbnailator/Thumbnails.java | package net.coobird.thumbnailator;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.util.ArrayL... | Corrected the comments for `outputQuality` and added example code for `outputFormat`.
| src/net/coobird/thumbnailator/Thumbnails.java | Corrected the comments for `outputQuality` and added example code for `outputFormat`. | <ide><path>rc/net/coobird/thumbnailator/Thumbnails.java
<ide> import java.util.Iterator;
<ide> import java.util.List;
<ide> import java.util.Map;
<add>
<add>import javax.imageio.ImageIO;
<ide>
<ide> import net.coobird.thumbnailator.filters.Canvas;
<ide> import net.coobird.thumbnailator.filters.ImageFilter;
<ide> * ... | |
Java | apache-2.0 | 459e7a67658d54ccfb054b95eefd9ecfa91f65e3 | 0 | TeamNexus/android_device_samsung_zero-common,TeamNexus/android_device_samsung_zero-common,TeamNexus/android_device_samsung_zero-common,TeamNexus/android_device_samsung_zero-common,TeamNexus/android_device_samsung_zero-common | /*
* Copyright (C) 2015 The Dokdo Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | ril/telephony/java/com/android/internal/telephony/zeroRIL.java | /*
* Copyright (C) 2015 The Dokdo Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | zeroRIL: clean up
| ril/telephony/java/com/android/internal/telephony/zeroRIL.java | zeroRIL: clean up | <ide><path>il/telephony/java/com/android/internal/telephony/zeroRIL.java
<ide> */
<ide> public class zeroRIL extends RIL implements CommandsInterface {
<ide>
<del> private boolean DBG = true;
<add> private boolean DBG = false;
<ide>
<ide> public zeroRIL(Context context, int preferredNetworkType,
<ide> ... | |
Java | epl-1.0 | 31d747fac475dd6236163223d28e6dafc609c78d | 0 | philomatic/smarthome,plamen-peev/smarthome,S0urceror/smarthome,philomatic/smarthome,chaton78/smarthome,AchimHentschel/smarthome,ArchibaldLeMagnifique/smarthome,vkolotov/smarthome,Snickermicker/smarthome,philomatic/smarthome,BenediktNiehues/smarthome,AchimHentschel/smarthome,Snickermicker/smarthome,vkolotov/smarthome,Mi... | /**
* Copyright (c) 2014-2017 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | extensions/binding/org.eclipse.smarthome.binding.sonos/src/main/java/org/eclipse/smarthome/binding/sonos/handler/ZonePlayerHandler.java | /**
* Copyright (c) 2014-2017 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | fixes some potential NPEs (#3155)
Signed-off-by: Kai Kreuzer <31ea678c44dc4e8e22ccfd165592dd71a30e46ae@openhab.org> | extensions/binding/org.eclipse.smarthome.binding.sonos/src/main/java/org/eclipse/smarthome/binding/sonos/handler/ZonePlayerHandler.java | fixes some potential NPEs (#3155) | <ide><path>xtensions/binding/org.eclipse.smarthome.binding.sonos/src/main/java/org/eclipse/smarthome/binding/sonos/handler/ZonePlayerHandler.java
<ide> String entriesFilter) {
<ide> long result = 0;
<ide>
<add> if (resultInput.isEmpty()) {
<add> return result;
<add> }
<add>... | |
Java | apache-2.0 | 7da5153faf52a87d6a55bfbe3de8f30b770c848c | 0 | choodon/choodon-rpc | package com.choodon.rpc.framework.proxy;
import com.choodon.rpc.base.common.DataArea;
import com.choodon.rpc.base.common.RPCConstants;
import com.choodon.rpc.base.common.URL;
import com.choodon.rpc.base.common.URLParamType;
import com.choodon.rpc.base.exception.RPCFrameworkException;
import com.choodon.rpc.base.extens... | choodon-rpc-framework/src/main/java/com/choodon/rpc/framework/proxy/MultiProtocolMultiRegistryInvocationHandler.java | package com.choodon.rpc.framework.proxy;
import com.choodon.rpc.base.common.DataArea;
import com.choodon.rpc.base.common.RPCConstants;
import com.choodon.rpc.base.common.URL;
import com.choodon.rpc.base.common.URLParamType;
import com.choodon.rpc.base.exception.RPCFrameworkException;
import com.choodon.rpc.base.extens... | 修复多协议多注册中心的情况下,Cluster不可用的情况。
| choodon-rpc-framework/src/main/java/com/choodon/rpc/framework/proxy/MultiProtocolMultiRegistryInvocationHandler.java | 修复多协议多注册中心的情况下,Cluster不可用的情况。 | <ide><path>hoodon-rpc-framework/src/main/java/com/choodon/rpc/framework/proxy/MultiProtocolMultiRegistryInvocationHandler.java
<ide> sb.setLength(sb.length() - 1);
<ide> String[] args = sb.toString().split(",");
<ide> int index = ThreadLocalRandom.current().nextInt(0, args.length);
<del> ... | |
Java | apache-2.0 | ff3530e91199b37e6c8f393341e093d90075c715 | 0 | HubSpot/jinjava,HubSpot/jinjava | /**********************************************************************
* Copyright (c) 2014 HubSpot Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | src/main/java/com/hubspot/jinjava/tree/TreeParser.java | /**********************************************************************
* Copyright (c) 2014 HubSpot Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | remove imports
| src/main/java/com/hubspot/jinjava/tree/TreeParser.java | remove imports | <ide><path>rc/main/java/com/hubspot/jinjava/tree/TreeParser.java
<ide>
<ide> import com.google.common.collect.Iterators;
<ide> import com.google.common.collect.PeekingIterator;
<del>import com.google.common.collect.Streams;
<ide> import com.hubspot.jinjava.interpret.DisabledException;
<ide> import com.hubspot.jinjava.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.