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 | mit | 06e714810f454b0be0b9154df0aff478c2670407 | 0 | CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab | package org.xcolab.view.pages.proposals.utils;
import org.xcolab.client.contest.pojo.AbstractContest;
import org.xcolab.client.contest.pojo.Contest;
import java.util.Comparator;
public enum ContestsColumn {
CONTEST_NAME (Comparator.comparing(o -> o.getTitleWithEndYear().toLowerCase())),
PROPOSALS_COUNT((o1, ... | view/src/main/java/org/xcolab/view/pages/proposals/utils/ContestsColumn.java | package org.xcolab.view.pages.proposals.utils;
import org.xcolab.client.contest.pojo.AbstractContest;
import org.xcolab.client.contest.pojo.Contest;
import java.util.Comparator;
public enum ContestsColumn {
CONTEST_NAME (Comparator.comparing(o -> o.getTitleWithEndYear().toLowerCase())),
PROPOSALS_COUNT((o1, ... | [COLAB-2920]: reversed default sort order of contests by weight
| view/src/main/java/org/xcolab/view/pages/proposals/utils/ContestsColumn.java | [COLAB-2920]: reversed default sort order of contests by weight | <ide><path>iew/src/main/java/org/xcolab/view/pages/proposals/utils/ContestsColumn.java
<ide> return 0;
<ide> }),
<ide>
<del> DEFAULT(Comparator.comparingInt(AbstractContest::getWeight));
<add> DEFAULT(Comparator.comparingInt(Contest::getWeight).reversed());
<ide>
<ide> private final Comparat... | |
JavaScript | mit | 858fa61cac9a8c08b56c856e6d2f95f71ade97be | 0 | mcwonka/casperjs,jjyycchh/casperjs,linkedin/casperjs,casperjs/casperjs,vietch2612/casperjs,ravindrasingh22/casperjs,hexid/casperjs,jamesanthonyferguson/casperjs,pbrazdil/casperjs,sircelsiussexy/casperjs,muntasir2000/casperjs,ravindrasingh22/casperjs,vietch2612/casperjs,mickaelandrieu/casperjs,ravindrasingh22/casperjs,d... | /*!
* Casper is a navigation utility for PhantomJS.
*
* Documentation: http://casperjs.org/
* Repository: http://github.com/n1k0/casperjs
*
* Copyright (c) 2011-2012 Nicolas Perriault
*
* Part of source code is Copyright Joyent, Inc. and other Node contributors.
*
* Permission is hereby granted, free of ch... | modules/tester.js | /*!
* Casper is a navigation utility for PhantomJS.
*
* Documentation: http://casperjs.org/
* Repository: http://github.com/n1k0/casperjs
*
* Copyright (c) 2011-2012 Nicolas Perriault
*
* Part of source code is Copyright Joyent, Inc. and other Node contributors.
*
* Permission is hereby granted, free of ch... | standardized tense of test failure/pass messages
| modules/tester.js | standardized tense of test failure/pass messages | <ide><path>odules/tester.js
<ide> "use strict";
<ide> return this.assert(this.casper.exists(selector), message, {
<ide> type: "assertExists",
<del> standard: f("Found an element matching: %s", selector),
<add> standard: f("Find an element matching: %s", selector),
<ide> values: {
<... | |
Java | apache-2.0 | 8e8be4bb5bb9754c99c32ffc2e5d90f59aa9de70 | 0 | tharikaGitHub/carbon-apimgt,ruks/carbon-apimgt,tharikaGitHub/carbon-apimgt,uvindra/carbon-apimgt,uvindra/carbon-apimgt,bhathiya/carbon-apimgt,bhathiya/carbon-apimgt,chamindias/carbon-apimgt,Rajith90/carbon-apimgt,wso2/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,isharac/carbon-apimgt,... | /*
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | components/apimgt/org.wso2.carbon.apimgt.rest.api.admin.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/admin/v1/utils/RestApiAdminUtils.java | /*
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | Add null check before deleting backup directory
| components/apimgt/org.wso2.carbon.apimgt.rest.api.admin.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/admin/v1/utils/RestApiAdminUtils.java | Add null check before deleting backup directory | <ide><path>omponents/apimgt/org.wso2.carbon.apimgt.rest.api.admin.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/admin/v1/utils/RestApiAdminUtils.java
<ide> }
<ide> zipInputStream.closeEntry();
<ide> zipInputStream.close();
<del> FileUtils.deleteDirectory(backupDirectory... | |
Java | apache-2.0 | 904528030aec88881fa28ed3d1ffb755ef74525f | 0 | ReactiveX/RxJavaFX,ReactiveX/RxJavaFX | /**
* Copyright 2016 Netflix, 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 i... | src/main/java/rx/javafx/sources/CompositeObservable.java | /**
* Copyright 2016 Netflix, 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 i... | remove @Beta tag for CompositeObservable
| src/main/java/rx/javafx/sources/CompositeObservable.java | remove @Beta tag for CompositeObservable | <ide><path>rc/main/java/rx/javafx/sources/CompositeObservable.java
<ide> *
<ide> * @param <T>
<ide> */
<del>@Beta
<add>
<ide> public final class CompositeObservable<T> {
<ide>
<ide> private final SerializedSubject<T,T> subject; | |
Java | mit | bc16e958d360fa631188c42f9f5787de939af36c | 0 | emacslisp/Java,emacslisp/Java,emacslisp/Java,emacslisp/Java | package com.dw.lib.cli;
import java.util.HashSet;
import java.util.UUID;
public class BallCLI {
public static int BallRandom() {
String uuid = UUID.randomUUID().toString();
uuid = uuid.replace("-", "");
int counter = 0;
int total = 0;
for (int i = 0; i < uuid.length(); i++) {
char c = uuid.charAt(i);
... | JavaMain/src/com/dw/lib/cli/BallCLI.java | package com.dw.lib.cli;
import java.util.HashSet;
import java.util.UUID;
public class BallCLI {
public static int BallRandom() {
String uuid = UUID.randomUUID().toString();
uuid = uuid.replace("-", "");
int counter = 0;
int total = 0;
for (int i = 0; i < uuid.length(); i++) {
char c = uuid.charAt(i);
... | #Ball - change text help | JavaMain/src/com/dw/lib/cli/BallCLI.java | #Ball - change text help | <ide><path>avaMain/src/com/dw/lib/cli/BallCLI.java
<ide> System.out.print(total % 20 + " ");
<ide> }
<ide> }
<add>
<add> System.out.println();
<ide> }
<ide>
<ide> public static void main(String[] args) {
<ide> try {
<ide> if (args.length != 1) {
<del> System.out.println("ball to view a text file"... | |
JavaScript | mit | b592e0e592bb80141b0b4f880dc3b0069e21301c | 0 | ghacksuserjs/ghacks-user.js,ghacksuserjs/ghacks-user.js | /******
* name: arkenfox user.js
* date: 02 March 2021
* version 87-alpha
* url: https://github.com/arkenfox/user.js
* license: MIT: https://github.com/arkenfox/user.js/blob/master/LICENSE.txt
* README:
1. Consider using Tor Browser if it meets your needs or fits your threat model better
* https://www.torpro... | user.js | /******
* name: arkenfox user.js
* date: 02 March 2021
* version 87-alpha
* url: https://github.com/arkenfox/user.js
* license: MIT: https://github.com/arkenfox/user.js/blob/master/LICENSE.txt
* README:
1. Consider using Tor Browser if it meets your needs or fits your threat model better
* https://www.torpro... | 87 deprecated
It is simpler to leave the PointerEvent pref where it is, until ESR78 is EOL
- FF87+ users who use RFP Alts simply add a dead pref, no harm
- This way ESR78 users don't have to worry about extra char flipping: it's the same as before: 1 flip for ESR, 1 flip for RFP Alts | user.js | 87 deprecated | <ide><path>ser.js
<ide> user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
<ide> user_pref("browser.newtabpage.activity-stream.showSponsored", false);
<ide> user_pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false); // [FF66+]
<del>/* 0105d: disable Activity ... | |
JavaScript | apache-2.0 | d7e53bb3e12adbb790ba227d4690c37a5b11508c | 0 | appium/appium,Sw0rdstream/appium,appium/appium,appium/appium,appium/appium,appium/appium,appium/appium | "use strict";
var errors = require('./errors')
, request = require('request')
, _ = require('underscore')
, logger = require('../logger').get('appium');
var UnknownError = errors.UnknownError
, ProtocolError = errors.ProtocolError;
exports.respond = function(response, cb) {
if (typeof response === 'undefi... | app/device.js | "use strict";
var errors = require('./errors')
, request = require('request')
, _ = require('underscore')
, logger = require('../logger').get('appium');
var UnknownError = errors.UnknownError
, ProtocolError = errors.ProtocolError;
exports.respond = function(response, cb) {
if (typeof response === 'undefi... | remove short http timeout for selendroid (fix #540)
| app/device.js | remove short http timeout for selendroid (fix #540) | <ide><path>pp/device.js
<ide> url: url
<ide> , method: method
<ide> , headers: {'Content-Type': contentType}
<del> , timeout: 10000
<ide> };
<ide> if (_.contains(['put', 'post', 'patch'], method.toLowerCase())) {
<ide> if (typeof body !== "string") { | |
Java | apache-2.0 | 36c686cab3e9fe62895fee8b4f71fdd780cafe84 | 0 | GELOG/sample-hbase-app | package org.gelog.sys870;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import org.apache.commons.io.IOUtils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.hadoop.hbas... | src/main/java/org/gelog/sys870/HBaseApp.java | package org.gelog.sys870;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import org.apache.commons.io.IOUtils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.hadoop.hbas... | doc : small changes
| src/main/java/org/gelog/sys870/HBaseApp.java | doc : small changes | <ide><path>rc/main/java/org/gelog/sys870/HBaseApp.java
<ide> * -v $HOME/workspace/ets/sys870/sample-hbase-app/target:/opt/target \
<ide> * hbase bash
<ide> *
<del> * 3. Run you job as follows:
<add> * 3. Run you job as follows (builded using gradle ? adapt jar name):
<ide> * java -jar /opt/target/hbase-app... | |
Java | mit | fa05f221e570a7880a77f338da9e529a79fbc68e | 0 | PrinceOfAmber/Cyclic,PrinceOfAmber/CyclicMagic | package com.lothrazar.cyclicmagic.component.hydrator;
import com.lothrazar.cyclicmagic.block.base.BaseMachineTesr;
import com.lothrazar.cyclicmagic.block.base.TileEntityBaseMachineInvo;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
/**
* Thanks to this tutorial
* h... | src/main/java/com/lothrazar/cyclicmagic/component/hydrator/HydratorTESR.java | package com.lothrazar.cyclicmagic.component.hydrator;
import com.lothrazar.cyclicmagic.block.base.BaseMachineTesr;
import com.lothrazar.cyclicmagic.block.base.TileEntityBaseMachineInvo;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
/**
* Thanks to this tutorial
* h... | hydrator TESR animate 4 not 2
| src/main/java/com/lothrazar/cyclicmagic/component/hydrator/HydratorTESR.java | hydrator TESR animate 4 not 2 | <ide><path>rc/main/java/com/lothrazar/cyclicmagic/component/hydrator/HydratorTESR.java
<ide> */
<ide> @SideOnly(Side.CLIENT)
<ide> public class HydratorTESR extends BaseMachineTesr<TileEntityHydrator> {
<del> private int lowerSlot;
<add> private static final float height = 0.5F;
<ide> public HydratorTESR(int slot,... | |
Java | apache-2.0 | d2d6ba0c17575067326cc33e1235556fba13b817 | 0 | strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc | /*
* Copyright (c) 2017 Strapdata (http://www.strapdata.com)
* Contains some code from Elasticsearch (http://www.elastic.co)
*
* 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... | core/src/main/java/org/elasticsearch/cluster/service/ClusterService.java | /*
* Copyright (c) 2017 Strapdata (http://www.strapdata.com)
* Contains some code from Elasticsearch (http://www.elastic.co)
*
* 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... | Refactor unused code
| core/src/main/java/org/elasticsearch/cluster/service/ClusterService.java | Refactor unused code | <ide><path>ore/src/main/java/org/elasticsearch/cluster/service/ClusterService.java
<ide> }
<ide>
<ide> public UntypedResultSet process(final ConsistencyLevel cl, final ConsistencyLevel serialConsistencyLevel, final String query, Long writetime, final Object... values) {
<del> ClientState clientState = t... | |
Java | mit | e46bb1ca931b49c3f2eb1e8ebfae4ac00e8f42ee | 0 | Um-Mitternacht/Wiccan_Arts,backuporg/Witchworks,Um-Mitternacht/Witchworks | package com.wiccanarts.common.item;
import com.wiccanarts.common.lib.LibItemName;
import com.wiccanarts.common.lib.LibMod;
import net.minecraft.init.SoundEvents;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraftforge.common.util.EnumHelper;
/**
* This class was created by Arek... | src/main/java/com/wiccanarts/common/item/ModMaterials.java | package com.wiccanarts.common.item;
import com.wiccanarts.common.lib.LibItemName;
import com.wiccanarts.common.lib.LibMod;
import net.minecraft.init.SoundEvents;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraftforge.common.util.EnumHelper;
/**
* This class was created by Arek... | how are these values, berci?
| src/main/java/com/wiccanarts/common/item/ModMaterials.java | how are these values, berci? | <ide><path>rc/main/java/com/wiccanarts/common/item/ModMaterials.java
<ide> */
<ide> public final class ModMaterials {
<ide>
<del> public static final Item.ToolMaterial TOOL_SILVER = EnumHelper.addToolMaterial(LibItemName.SILVER, 2, 222, 3.5F, 2.5F, 18);
<add> public static final Item.ToolMaterial TOOL_SILVER = EnumHe... | |
Java | apache-2.0 | 7140bda0a1bc3221e4912b637075f2da82aad3c7 | 0 | fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode | package com.fishercoder.solutions;
public class _304 {
public static class Solution1 {
public class NumMatrix {
public NumMatrix(int[][] matrix) {
if (matrix == null || matrix.length == 0 || matrix[0].length == 0) {
return;
}
... | src/main/java/com/fishercoder/solutions/_304.java | package com.fishercoder.solutions;
/**
* 304. Range Sum Query 2D - Immutable
*
* Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2, col2).
Range Sum Query 2D
The above rectangle (with the red border) is defined b... | refactor 304
| src/main/java/com/fishercoder/solutions/_304.java | refactor 304 | <ide><path>rc/main/java/com/fishercoder/solutions/_304.java
<ide> package com.fishercoder.solutions;
<ide>
<del>/**
<del> * 304. Range Sum Query 2D - Immutable
<del> *
<del> * Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corne... | |
Java | apache-2.0 | 73560f767fed1ebb954321ea1042a0edd3f73aad | 0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | src/main/java/com/facebook/components/ComponentTree.java | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | Lines authored by emilsj
This commit forms part of the blame-preserving initial commit suite.
| src/main/java/com/facebook/components/ComponentTree.java | Lines authored by emilsj | <ide><path>rc/main/java/com/facebook/components/ComponentTree.java
<ide> init(context, root);
<ide> }
<ide>
<add> protected void init(ComponentContext context, Component<?> root) { | |
Java | apache-2.0 | 29c99e8a03d0143a975be7cbd8d2c5d8e1d0620b | 0 | hongsudt/server,HaiJiaoXinHeng/server-1,hongsudt/server,HaiJiaoXinHeng/server-1,hongsudt/server,HaiJiaoXinHeng/server-1 | package org.ohmage.query.impl;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList... | src/org/ohmage/query/impl/ObserverQueries.java | package org.ohmage.query.impl;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList... | Fixed a bug in observer/stream reading.
The observer/stream read query had a bug since its refactoring. It has been fixed.
| src/org/ohmage/query/impl/ObserverQueries.java | Fixed a bug in observer/stream reading. | <ide><path>rc/org/ohmage/query/impl/ObserverQueries.java
<ide>
<ide> // If the observer's version is specified, add it to the sub-query.
<ide> if(observerVersion != null) {
<del> builder.append(" AND o.version = ?)");
<add> builder.append(" AND version = ?)");
<ide> parameters.add(observerVersion);
<ide> ... | |
JavaScript | mit | 16c9d2be50b943b42ad3314f764616ce40d11189 | 0 | EdmonJiang/FA_Inventory,EdmonJiang/FA_Inventory | var express = require('express');
var router = express.Router();
var Pcinfo = require('../models/pcinfo.js');
var userinfo = {};
/* GET home page. */
router.get('/', function(req, res, next) {
Pcinfo.find({}).exec(function(err, pcinfos){
if (err){return next(new Error('could not find data!'))};
res.render(... | routes/index.js | var express = require('express');
var router = express.Router();
var Pcinfo = require('../models/pcinfo.js');
var userinfo = {};
/* GET home page. */
router.get('/', function(req, res, next) {
Pcinfo.find({}).exec(function(err, pcinfos){
if (err){return next(new Error('could not find data!'))};
res.render(... | show __v, increment after updated
| routes/index.js | show __v, increment after updated | <ide><path>outes/index.js
<ide> }
<ide> }
<ide> doc.updated = new Date;
<add> doc.increment();
<ide> doc.save(function(err){
<ide> if (err){return next(new Error('save failed!'))};
<ide> console.log('save successful');
<ide> objpc[prop]=details._d... | |
Java | apache-2.0 | error: pathspec 'SCUOpenBISImporter/ch/eth/scu/importer/gui/components/viewers/XMLFileNode.java' did not match any file(s) known to git
| 0868434de4bb7f5596634a2ca2b0fd3a638623e3 | 1 | aarpon/obit_annotation_tool | package ch.eth.scu.importer.gui.components.viewers;
import ch.eth.scu.importer.gui.descriptors.AbstractDescriptor;
/**
* Customized Node to be used in a JTree allowing different icons for different
* Node types
* @author Aaron Ponti
*/
public class XMLFileNode extends CustomTreeNode {
private static final long... | SCUOpenBISImporter/ch/eth/scu/importer/gui/components/viewers/XMLFileNode.java | Forgot to add XMLFileNode.java that replaces XMLNode.java.
| SCUOpenBISImporter/ch/eth/scu/importer/gui/components/viewers/XMLFileNode.java | Forgot to add XMLFileNode.java that replaces XMLNode.java. | <ide><path>CUOpenBISImporter/ch/eth/scu/importer/gui/components/viewers/XMLFileNode.java
<add>package ch.eth.scu.importer.gui.components.viewers;
<add>
<add>import ch.eth.scu.importer.gui.descriptors.AbstractDescriptor;
<add>
<add>/**
<add> * Customized Node to be used in a JTree allowing different icons for different
... | |
Java | apache-2.0 | e893b2686db272bb3588466eee6a4c42d84350a7 | 0 | jpodeszwik/mifos,maduhu/mifos-head,jpodeszwik/mifos,maduhu/mifos-head,maduhu/head,maduhu/head,AArhin/head,maduhu/mifos-head,AArhin/head,vorburger/mifos-head,vorburger/mifos-head,maduhu/head,AArhin/head,jpodeszwik/mifos,AArhin/head,jpodeszwik/mifos,maduhu/mifos-head,maduhu/mifos-head,AArhin/head,maduhu/head,maduhu/head,... | /*
* Copyright (c) 2005-2009 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... | application/src/main/java/org/mifos/framework/ApplicationInitializer.java | /*
* Copyright (c) 2005-2009 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... | If an incorrectly implemented transaction import plugin is installed,
trying to load it during application initialization will crash Mifos.
This was the original intent of the code calling PluginManager at the
end of init(). When the fault is deferred to clicking on the "Import
transactions" page:
* except for imports,... | application/src/main/java/org/mifos/framework/ApplicationInitializer.java | If an incorrectly implemented transaction import plugin is installed, trying to load it during application initialization will crash Mifos. This was the original intent of the code calling PluginManager at the end of init(). When the fault is deferred to clicking on the "Import transactions" page: * except for imports,... | <ide><path>pplication/src/main/java/org/mifos/framework/ApplicationInitializer.java
<ide> import java.io.PrintWriter;
<ide> import java.io.StringWriter;
<ide> import java.util.Arrays;
<del>import java.util.List;
<ide> import java.util.Locale;
<ide> import java.util.Properties;
<ide>
<ide> import org.mifos.config.Clien... | |
Java | agpl-3.0 | ac0879034b811381e40c700e353e0a19fac124e4 | 0 | rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat | package roart.ml;
import java.text.DecimalFormat;
import java.util.List;
import java.util.Map;
import org.jfree.util.Log;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import roart.aggregate.Aggregator;
import roart.indicator.Indicator;
import roart.indicator.IndicatorMACD;
import roart.util.Constants;
p... | core/src/main/java/roart/ml/MLClassifyModel.java | package roart.ml;
import java.text.DecimalFormat;
import java.util.List;
import java.util.Map;
import org.jfree.util.Log;
import roart.aggregate.Aggregator;
import roart.indicator.Indicator;
import roart.indicator.IndicatorMACD;
import roart.util.Constants;
public abstract class MLClassifyModel {
public abstrac... | Use proper log. It is good to actually set the var.
| core/src/main/java/roart/ml/MLClassifyModel.java | Use proper log. It is good to actually set the var. | <ide><path>ore/src/main/java/roart/ml/MLClassifyModel.java
<ide> import java.util.Map;
<ide>
<ide> import org.jfree.util.Log;
<add>import org.slf4j.Logger;
<add>import org.slf4j.LoggerFactory;
<ide>
<ide> import roart.aggregate.Aggregator;
<ide> import roart.indicator.Indicator;
<ide> import roart.util.Constants;
<id... | |
Java | mit | 31aa20657d84f39b806c65ccc128439b3afaa202 | 0 | conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5 | package com.conveyal.analysis.datasource;
import com.conveyal.file.FileStorageFormat;
import com.google.common.collect.Sets;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.disk.DiskFileItem;
import org.apache.commons.io.FilenameUtils;
import java.io.File;
import java.util.HashSet;... | src/main/java/com/conveyal/analysis/datasource/DataSourceUtil.java | package com.conveyal.analysis.datasource;
import com.conveyal.analysis.AnalysisServerException;
import com.conveyal.file.FileStorageFormat;
import com.google.common.collect.Sets;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.disk.DiskFileItem;
import org.apache.commons.io.Filenam... | fix: actually throw exception
| src/main/java/com/conveyal/analysis/datasource/DataSourceUtil.java | fix: actually throw exception | <ide><path>rc/main/java/com/conveyal/analysis/datasource/DataSourceUtil.java
<ide> package com.conveyal.analysis.datasource;
<del>
<del>import com.conveyal.analysis.AnalysisServerException;
<ide>
<ide> import com.conveyal.file.FileStorageFormat;
<ide> import com.google.common.collect.Sets;
<ide> String fil... | |
Java | apache-2.0 | 7c6ca2fba394e58cc74cfde2e42cf667c06e1376 | 0 | nmsasaki/SilentPhoneTimer | package ca.nmsasaki.silenttouch;
import android.app.AlarmManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.ComponentName;
import andro... | src/ca/nmsasaki/silenttouch/MyWidgetProvider.java | package ca.nmsasaki.silenttouch;
import android.app.AlarmManager;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.ComponentName;
import andro... | removed warning | src/ca/nmsasaki/silenttouch/MyWidgetProvider.java | removed warning | <ide><path>rc/ca/nmsasaki/silenttouch/MyWidgetProvider.java
<ide> import android.widget.Toast;
<ide>
<ide> import java.util.Calendar;
<del>import java.util.GregorianCalendar;
<ide> import java.text.DateFormat;
<ide>
<ide> public class MyWidgetProvider extends AppWidgetProvider { | |
JavaScript | mit | 0e9f7637d97e774604f2a318d6cb3ba544b59275 | 0 | LN-Zap/zap-desktop,LN-Zap/zap-desktop,LN-Zap/zap-desktop | import React, { useEffect } from 'react'
import createScheduler from '@zap/utils/scheduler'
import PropTypes from 'prop-types'
import Activity from 'containers/Activity'
import Wallet from 'containers/Wallet'
import { MainContent } from 'components/UI'
// Bitcoin blocks come on average every 10 mins
// but we poll a l... | renderer/components/App/App.js | import React, { useEffect, useState } from 'react'
import PropTypes from 'prop-types'
import Activity from 'containers/Activity'
import Wallet from 'containers/Wallet'
import { MainContent } from 'components/UI'
import { useInterval } from 'hooks'
// Bitcoin blocks come on average every 10 mins
// but we poll a lot mo... | perf(app): prevent superfluous top level re-renders
| renderer/components/App/App.js | perf(app): prevent superfluous top level re-renders | <ide><path>enderer/components/App/App.js
<del>import React, { useEffect, useState } from 'react'
<add>import React, { useEffect } from 'react'
<add>import createScheduler from '@zap/utils/scheduler'
<ide> import PropTypes from 'prop-types'
<ide> import Activity from 'containers/Activity'
<ide> import Wallet from 'conta... | |
JavaScript | apache-2.0 | 497293f61c4869a1b9989895b6934fd79f3cae01 | 0 | jivesoftware/jive-sdk,jivesoftware/jive-sdk,jivesoftware/jive-sdk | /*
* Copyright 2013 Jive Software
*
* 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 l... | jive-sdk-service/generator/examples/todo/services/todo/backend/routes/tasks.js | /*
* Copyright 2013 Jive Software
*
* 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 l... | Allowed assignee to change via the edit handler.
| jive-sdk-service/generator/examples/todo/services/todo/backend/routes/tasks.js | Allowed assignee to change via the edit handler. | <ide><path>ive-sdk-service/generator/examples/todo/services/todo/backend/routes/tasks.js
<ide> var id = parseInt(req.param("id"), 10 ),
<ide> todoStatus = req.param("status"),
<ide> name = req.param("name"),
<add> assignee = req.param("assignee"),
<ide> project = req.param("project");... | |
Java | agpl-3.0 | a9838c9daeb803ffd684e943c8d66b63b477364c | 0 | zuowang/voltdb,kumarrus/voltdb,flybird119/voltdb,deerwalk/voltdb,simonzhangsm/voltdb,zuowang/voltdb,creative-quant/voltdb,simonzhangsm/voltdb,zuowang/voltdb,wolffcm/voltdb,kumarrus/voltdb,wolffcm/voltdb,creative-quant/voltdb,deerwalk/voltdb,flybird119/voltdb,deerwalk/voltdb,VoltDB/voltdb,kumarrus/voltdb,kobronson/cs-vo... | /* This file is part of VoltDB.
* Copyright (C) 2008-2012 VoltDB Inc.
*
* VoltDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | src/frontend/org/voltdb/dtxn/MailboxTracker.java | /* This file is part of VoltDB.
* Copyright (C) 2008-2012 VoltDB Inc.
*
* VoltDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | Fix mailbox tracker.
| src/frontend/org/voltdb/dtxn/MailboxTracker.java | Fix mailbox tracker. | <ide><path>rc/frontend/org/voltdb/dtxn/MailboxTracker.java
<ide> long HSId = jsObj.getLong("HSId");
<ide> int hostId = MiscUtils.getHostIdFromHSId(HSId);
<ide>
<del> ArrayList<Long> initiators = new ArrayList<Long>();
<del> hostsToInitiators.put(hostId, ini... | |
JavaScript | mit | 6e001fff2fcf6f94f28e213c249d74b414daadb3 | 0 | lsm/superplumber,lsm/superpipe | 'use strict'
/**
* Module dependencies
*/
var Pipe = require('./pipe')
var slice = require('lodash.slice')
var assign = require('lodash.assign')
var foreach = require('lodash.foreach')
var toArray = require('lodash.toarray')
var isArray = require('lodash.isarray')
var Injector = require('insider')
/**
* Pipeline ... | lib/pipeline.js | 'use strict'
/**
* Module dependencies
*/
var bind = require('lodash.bind')
var Pipe = require('./pipe')
var slice = require('lodash.slice')
var assign = require('lodash.assign')
var foreach = require('lodash.foreach')
var toArray = require('lodash.toarray')
var isArray = require('lodash.isarray')
var Injector = req... | Convert to non-class style. Make `pipes` and `injector` real private.
| lib/pipeline.js | Convert to non-class style. Make `pipes` and `injector` real private. | <ide><path>ib/pipeline.js
<ide> /**
<ide> * Module dependencies
<ide> */
<del>var bind = require('lodash.bind')
<ide> var Pipe = require('./pipe')
<ide> var slice = require('lodash.slice')
<ide> var assign = require('lodash.assign')
<ide> * @param {SuperPipe} [superpipe] Instance of SuperPipe.
<ide> * @return {Pi... | |
Java | apache-2.0 | 57662ae21736e3471abe664fa3154ce986920f7b | 0 | ricepanda/rice,ricepanda/rice,ricepanda/rice,ricepanda/rice | /**
* Copyright 2005-2013 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | rice-framework/krad-data/src/main/java/org/kuali/rice/krad/data/provider/util/ReferenceLinker.java | /**
* Copyright 2005-2013 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | KULRICE-9649 / KULRICE-9100 : minor refactoring due to new length of logic in method
git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@41316 7a7aa7f6-c479-11dc-97e2-85a2497f191d
| rice-framework/krad-data/src/main/java/org/kuali/rice/krad/data/provider/util/ReferenceLinker.java | KULRICE-9649 / KULRICE-9100 : minor refactoring due to new length of logic in method | <ide><path>ice-framework/krad-data/src/main/java/org/kuali/rice/krad/data/provider/util/ReferenceLinker.java
<ide> if (LOG.isDebugEnabled()) {
<ide> LOG.debug("Obtained relationships for linking: " + objectReferences);
<ide> }
<del> DataObjectWrapper<?> wrap = getDataObjectService().wrap(persistableObject);
<ad... | |
Java | agpl-3.0 | 8a761b76e3b6933a3aa515a7481304d3b4c48a19 | 0 | akuz/akuz-java,akuz/akuz-java | package me.akuz.qf.data.imprt;
import java.io.File;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Sc... | src/me/akuz/qf/data/imprt/YahooData.java | package me.akuz.qf.data.imprt;
import java.io.File;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Sc... | Temporarily loading open instead of close price... | src/me/akuz/qf/data/imprt/YahooData.java | Temporarily loading open instead of close price... | <ide><path>rc/me/akuz/qf/data/imprt/YahooData.java
<ide> }
<ide> final Date timeZoneDate = fmt.parse(parts[0]);
<ide> final Date priceDateTime = DateUtils.addHours(timeZoneDate, closingHour);
<add> final Double open = Double.parseDouble(parts[1]);
<ide> final Double close = Double.parseDouble(pa... | |
Java | mit | e108fee346e851a89f38c7acf132913cd7fcc3b6 | 0 | uq-eresearch/dataspace,uq-eresearch/dataspace,uq-eresearch/dataspace,uq-eresearch/dataspace | package net.metadata.dataspace.data.model.version;
import net.metadata.dataspace.data.model.Record;
import net.metadata.dataspace.data.model.context.Publication;
import net.metadata.dataspace.data.model.context.Subject;
import net.metadata.dataspace.data.model.record.Activity;
import net.metadata.dataspace.data.model.... | data-registry-webapp/src/main/java/net/metadata/dataspace/data/model/version/CollectionVersion.java | package net.metadata.dataspace.data.model.version;
import net.metadata.dataspace.data.model.Record;
import net.metadata.dataspace.data.model.context.Publication;
import net.metadata.dataspace.data.model.context.Subject;
import net.metadata.dataspace.data.model.record.Activity;
import net.metadata.dataspace.data.model.... | increased the size of accessrights
git-svn-id: c915320aed33221a6cc00b5c5fda1fe642ba3057@740 a06b0660-b68b-0410-9a37-e6c9a29c9ca9
| data-registry-webapp/src/main/java/net/metadata/dataspace/data/model/version/CollectionVersion.java | increased the size of accessrights | <ide><path>ata-registry-webapp/src/main/java/net/metadata/dataspace/data/model/version/CollectionVersion.java
<ide> private String rights;
<ide>
<ide> @CollectionOfElements(fetch = FetchType.LAZY)
<add> @Column(name = "element", length = 4096)
<ide> private Set<String> accessRights = new HashSet<String>... | |
Java | apache-2.0 | ce2e338a3b36149d134cd1a0598c116ad99ffabc | 0 | orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb | /*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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/... | core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java | /*
*
* * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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/... | Improved performance by avoiding unnecessary NumberFormatException
| core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java | Improved performance by avoiding unnecessary NumberFormatException | <ide><path>ore/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java
<ide> *
<ide> */
<ide> package com.orientechnologies.orient.core.metadata.schema;
<del>
<del>import java.io.IOException;
<del>import java.io.UnsupportedEncodingException;
<del>import java.util.*;
<ide>
<ide> import com.ori... | |
Java | apache-2.0 | 9552a7274d37291f81f0a090a04ece43983e1b7a | 0 | lan603168/Android-PullToRefresh,JRGGRoberto/Android-PullToRefresh,chengkaizone/Android-PullToRefresh,liboLiao/Android-PullToRefresh,jiedang/Android-PullToRefresh,xiabing082/PullToRefreshListview,jolynekujo/Android-PullToRefresh,paulzeng/Android-PullToRefresh,sk-huang/Android-PullToRefresh,erdanerdan/Android-PullToRefre... | package com.handmark.pulltorefresh.library;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.os.Handler;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android... | library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java | package com.handmark.pulltorefresh.library;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.os.Handler;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android... | New listener, OnRefreshListener2. Allows you now to differentiate between Pull Downs and Pull Ups
| library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java | New listener, OnRefreshListener2. Allows you now to differentiate between Pull Downs and Pull Ups | <ide><path>ibrary/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java
<ide> public void run() {
<ide>
<ide> /**
<del> * Only set mStartTime if this is the first time we're starting, else
<del> * actually calculate the Y delta
<add> * Only set mStartTime if this is the first time we're starting,... | |
Java | epl-1.0 | error: pathspec 'codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/ssl/SslExtension.java' did not match any file(s) known to git
| 7743ab6b33122ebe7f1813ec9daefd6fde1ccb8d | 1 | codenvy/plugin-datasource,codenvy/plugin-datasource | package com.codenvy.ide.ext.datasource.client.ssl;
import com.codenvy.ide.api.extension.Extension;
import com.codenvy.ide.rest.AsyncRequestCallback;
import com.codenvy.ide.util.loging.Log;
import com.google.inject.Inject;
import com.google.inject.Singleton;
@Singleton
@Extension(title = "SSL Extension", version = "1.... | codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/ssl/SslExtension.java | #41 Adding missing SSL Client Extension
| codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/ssl/SslExtension.java | #41 Adding missing SSL Client Extension | <ide><path>odenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/ssl/SslExtension.java
<add>package com.codenvy.ide.ext.datasource.client.ssl;
<add>
<add>import com.codenvy.ide.api.extension.Extension;
<add>import com.codenvy.ide.rest.AsyncRequestCallback;
<add>import com.codenvy.ide.util.log... | |
Java | apache-2.0 | 7897a368dee319c7d948fd6756d7f4570bb40f8a | 0 | reynoldsm88/drools,HHzzhz/drools,OnePaaS/drools,HHzzhz/drools,OnePaaS/drools,liupugong/drools,manstis/drools,liupugong/drools,vinodkiran/drools,jomarko/drools,jiripetrlik/drools,jiripetrlik/drools,liupugong/drools,vinodkiran/drools,ThomasLau/drools,winklerm/drools,ThomasLau/drools,prabasn/drools,HHzzhz/drools,lanceleve... | /*
* Copyright 2010 JBoss 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 i... | drools-core/src/main/java/org/drools/reteoo/CompositeLeftTupleSinkAdapter.java | /*
* Copyright 2010 JBoss 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 i... | JBRULES-2887: fixing NPE on accumulate retracts
| drools-core/src/main/java/org/drools/reteoo/CompositeLeftTupleSinkAdapter.java | JBRULES-2887: fixing NPE on accumulate retracts | <ide><path>rools-core/src/main/java/org/drools/reteoo/CompositeLeftTupleSinkAdapter.java
<ide> final PropagationContext context,
<ide> final InternalWorkingMemory workingMemory) {
<ide> LeftTupl... | |
Java | apache-2.0 | f8c6586d37dea8a0b91796aea722319c9f345dca | 0 | Vizaxo/Terasology,Nanoware/Terasology,Malanius/Terasology,kartikey0303/Terasology,Nanoware/Terasology,kaen/Terasology,Vizaxo/Terasology,MovingBlocks/Terasology,MovingBlocks/Terasology,Malanius/Terasology,Nanoware/Terasology,kaen/Terasology,kartikey0303/Terasology,MovingBlocks/Terasology | /*
* Copyright 2017 MovingBlocks
*
* 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 t... | engine/src/main/java/org/terasology/engine/subsystem/openvr/OpenVRControllers.java | /*
* Copyright 2017 MovingBlocks
*
* 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 t... | More clear casting.
| engine/src/main/java/org/terasology/engine/subsystem/openvr/OpenVRControllers.java | More clear casting. | <ide><path>ngine/src/main/java/org/terasology/engine/subsystem/openvr/OpenVRControllers.java
<ide> addAction(ControllerId.X_AXIS, ButtonState.DOWN, -cachedStateAfter.rAxis[0].x);
<ide> addAction(ControllerId.Y_AXIS, ButtonState.DOWN, cachedStateAfter.rAxis[0].y);
<ide> } else if (switche... | |
Java | mit | b16d30d102473df1c3ae254b4bf4f18f888e953d | 0 | agersant/polaris-android,agersant/polaris-android,agersant/polaris-android | package agersant.polaris.features.queue;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.IBinder;
imp... | app/src/main/java/agersant/polaris/features/queue/QueueActivity.java | package agersant.polaris.features.queue;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.IBinder;
imp... | Fixed a bug where playlist didn't display which items are downloading
| app/src/main/java/agersant/polaris/features/queue/QueueActivity.java | Fixed a bug where playlist didn't display which items are downloading | <ide><path>pp/src/main/java/agersant/polaris/features/queue/QueueActivity.java
<ide> case Player.PLAYING_TRACK:
<ide> case OfflineCache.AUDIO_CACHED:
<ide> case OfflineCache.AUDIO_REMOVED_FROM_CACHE:
<add> case DownloadQueue.WORKLOAD_CHANGED:
<ide> if (adapter != null) {
<ide> adapter.no... | |
Java | apache-2.0 | f014b15ff6382a8e23eadb7d55acbbb726f6366f | 0 | henrichg/PhoneProfilesPlus | package sk.henrichg.phoneprofilesplus;
import android.app.Fragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
imp... | phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/ActivateProfileListFragment.java | package sk.henrichg.phoneprofilesplus;
import android.app.Fragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
imp... | Fixed FC: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.AbsListView.setItemChecked(int, boolean)' on a null object reference
at sk.henrichg.phoneprofilesplus.ActivateProfileListFragment.setProfileSelection(ActivateProfileListFragment.java:414)
| phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/ActivateProfileListFragment.java | Fixed FC: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.AbsListView.setItemChecked(int, boolean)' on a null object reference at sk.henrichg.phoneprofilesplus.ActivateProfileListFragment.setProfileSelection(ActivateProfileListFragment.java:414) | <ide><path>honeProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/ActivateProfileListFragment.java
<ide> private void setProfileSelection(Profile profile, boolean refreshIcons) {
<ide> if (profileListAdapter != null)
<ide> {
<del> int profilePos;
<add> int profilePos = Li... | |
JavaScript | mit | 99abdc3d012102ca61c96bc78abb981193a7eb15 | 0 | JayCanuck/enyo-2-components,JayCanuck/enyo-ext,JayCanuck/enyo-ext,JayCanuck/enyo-2-components | /**
Enyo component bindings for Socket.IO, with dynamic support for the Enyo event system.
For more information about Socket.IO, see [http://socket.io](http://socket.io)
*/
enyo.kind({
name: "enyo.Socket",
kind: "enyo.Component",
//* Websocket url to connect to.
url: "",
//* Connection timeout (in millisecond... | socket/Socket.js | /**
Enyo component bindings for Socket.IO, with dynamic support for the Enyo event system.
For more information about Socket.IO, see [http://socket.io](http://socket.io)
*/
enyo.kind({
name: "enyo.Socket",
kind: "enyo.Component",
//* Websocket url to connect to.
url: "",
//* Connection timeout (in millisecond... | Fixed issues with Socket.IO event listening/sending/emitting
| socket/Socket.js | Fixed issues with Socket.IO event listening/sending/emitting | <ide><path>ocket/Socket.js
<ide> reconnectionDelayMax: this.reconnectionDelayMax
<ide> };
<ide> this.socket = io.connect(this.url, opts);
<del> this.socketEvents = {};
<del> for(var i=0; i<this.eventQueue; i++) {
<add> for(var i=0; i<this.eventQueue.length; i++) {
<ide> var currEv = this.eventQueue[i];
<id... | |
Java | apache-2.0 | d422946174c29f6d31b90581d6ba23f60ad542c7 | 0 | MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim | package lhpn2sbml.parser;
//import gcm2sbml.util.GlobalConstants;
import java.io.*;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
//import javax.swing.JOptionPane;
import biomodelsim.Log;
/**
* This class describes an LHPN file
*
* @author Kevin Jones
* @organization Unive... | gui/src/lhpn2sbml/parser/LHPNFile.java | package lhpn2sbml.parser;
//import gcm2sbml.util.GlobalConstants;
import java.io.*;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
//import javax.swing.JOptionPane;
import biomodelsim.Log;
/**
* This class describes an LHPN file
*
* @author Kevin Jones
* @organization Unive... | Fixed bug at removal of transition from petri net.
| gui/src/lhpn2sbml/parser/LHPNFile.java | Fixed bug at removal of transition from petri net. | <ide><path>ui/src/lhpn2sbml/parser/LHPNFile.java
<ide> private HashMap<String, String> enablings;
<ide>
<ide> private HashMap<String, Properties> controlFlow;
<del>
<add>
<ide> private HashMap<String, Properties> controlPlaces;
<ide>
<ide> private HashMap<String, Properties> variables;
<ide> private HashMap<Str... | |
Java | bsd-3-clause | c6437debb4ff61877488d792022d765085a4ce8e | 0 | frc-4931/2014-Robot,frc-4931/2014-Robot,frc-4931/2014-Robot | CompetitionRobot/src/org/frc4931/robot/Toggable.java | package org.frc4931.robot;
public interface Toggable {
public void setStateOne();
public void setStateTwo();
public void getState();
}
| Remove abandoned Toggable.java
| CompetitionRobot/src/org/frc4931/robot/Toggable.java | Remove abandoned Toggable.java | <ide><path>ompetitionRobot/src/org/frc4931/robot/Toggable.java
<del>package org.frc4931.robot;
<del>
<del>public interface Toggable {
<del> public void setStateOne();
<del> public void setStateTwo();
<del> public void getState();
<del>} | ||
JavaScript | mit | fdd46f147961249783fc1bcb77765c018e4eeacf | 0 | aitorcarrera/ngbp-material,aitorcarrera/ngbp-material | module.exports = function ( karma ) {
karma.set({
/**
* From where to look for files, starting with the location of this file.
*/
basePath: '../',
/**
* This is the list of file patterns to load into the browser during testing.
*/
files: [
<% scripts.forEach( function ( fil... | karma/karma-unit.tpl.js | module.exports = function ( karma ) {
karma.set({
/**
* From where to look for files, starting with the location of this file.
*/
basePath: '../',
/**
* This is the list of file patterns to load into the browser during testing.
*/
files: [
<% scripts.forEach( function ( fil... | Set default karma browser to PhantomJS
| karma/karma-unit.tpl.js | Set default karma browser to PhantomJS | <ide><path>arma/karma-unit.tpl.js
<ide> * the aesthetic advantage of not launching a browser every time you save.
<ide> */
<ide> browsers: [
<del> 'Firefox'
<add> 'PhantomJS'
<ide> ]
<ide> });
<ide> }; | |
JavaScript | mit | 0524e9ef11c12365ff071ddf0444eefd701c93b0 | 0 | haganbt/DataSift-UG-Filter-Workflow | var ds_user = '';
var ds_key = '';
//init
$(function() {
NProgress.configure({
trickle: false
});
// cookies
if($.cookie('un') && $.cookie('key')){
$('#un').val($.cookie('un')) === $.cookie('un');
$('#key').val($.cookie('key')) === $.cookie('key');
}
$('#jcsdl-edit').... | public/js/app.js | var ds_user = '';
var ds_key = '';
//init
$(function() {
NProgress.configure({
trickle: false
});
// cookies
if($.cookie('un') && $.cookie('key')){
$('#un').val($.cookie('un')) === $.cookie('un');
$('#key').val($.cookie('key')) === $.cookie('key');
}
$('#jcsdl-edit').... | Heroku routes.
| public/js/app.js | Heroku routes. | <ide><path>ublic/js/app.js
<ide>
<ide> jQuery.ajax({
<ide> type: "POST",
<del> url: "http://localhost:3000/api/compile",
<add> url: "http://dsfilter.herokuapp.com/api/compile",
<ide> contentType: "application/json; charset=utf-8",
<ide> data: 'csdl='+encodeURIComponent(csdl),
... | |
Java | apache-2.0 | 69885c64b60985a04239aa37b72469c8e6b86813 | 0 | gfelisberto/asterisk-java,010Minds/asterisk-java,thuliumcc/asterisk-java,elara-leitstellentechnik/asterisk-java,milesje/asterisk-java,jaunis/asterisk-java,gfelisberto/asterisk-java,michaelrice/asterisk-java,010Minds/asterisk-java,jaunis/asterisk-java,filius/asterisk-java,scgm11/asterisk-java,thuliumcc/asterisk-java,pol... | /*
* Copyright 2004-2006 Stefan Reuter
*
* 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 ... | src/main/java/org/asteriskjava/fastagi/AgiConnectionHandler.java | /*
* Copyright 2004-2006 Stefan Reuter
*
* 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 ... | Removed explicit type cast that is no longer needed
| src/main/java/org/asteriskjava/fastagi/AgiConnectionHandler.java | Removed explicit type cast that is no longer needed | <ide><path>rc/main/java/org/asteriskjava/fastagi/AgiConnectionHandler.java
<ide> import org.asteriskjava.io.SocketConnectionFacade;
<ide> import org.asteriskjava.util.Log;
<ide> import org.asteriskjava.util.LogFactory;
<del>
<del>
<ide>
<ide> /**
<ide> * An AgiConnectionHandler is created and run by the AgiServer whe... | |
Java | apache-2.0 | 9db21707a8b51cbfb8a6869a44edafe64cd0c602 | 0 | janinko/dependency-analysis,janinko/dependency-analysis,janinko/dependency-analysis,janinko/dependency-analysis,janinko/dependency-analysis,project-ncl/dependency-analysis,project-ncl/dependency-analysis,project-ncl/dependency-analysis | package org.jboss.da.reports.api;
import org.jboss.da.model.rest.GAV;
import java.util.HashSet;
import java.util.Set;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
@EqualsAndHashCode
public class BuiltReportModule {
public BuiltReportModule(GAV gav) {
this.groupId = gav.g... | reports-backend/src/main/java/org/jboss/da/reports/api/BuiltReportModule.java | package org.jboss.da.reports.api;
import org.jboss.da.model.rest.GAV;
import java.util.HashSet;
import java.util.Set;
import lombok.Getter;
import lombok.Setter;
public class BuiltReportModule {
public BuiltReportModule(GAV gav) {
this.groupId = gav.getGroupId();
this.artifactId = gav.getArtifa... | [NCL-2011] Endpoint for analyzing built artifacts contains duplicates
| reports-backend/src/main/java/org/jboss/da/reports/api/BuiltReportModule.java | [NCL-2011] Endpoint for analyzing built artifacts contains duplicates | <ide><path>eports-backend/src/main/java/org/jboss/da/reports/api/BuiltReportModule.java
<ide> import java.util.HashSet;
<ide> import java.util.Set;
<ide>
<add>import lombok.EqualsAndHashCode;
<ide> import lombok.Getter;
<ide> import lombok.Setter;
<ide>
<add>@EqualsAndHashCode
<ide> public class BuiltReportModule {
<... | |
Java | apache-2.0 | 6e04365fe6f17d74c8726981561b59b1a6b3d62c | 0 | CrazyOrr/NewMoviesExpress | package com.github.crazyorr.newmoviesexpress;
import android.app.Application;
import com.facebook.stetho.Stetho;
import timber.log.Timber;
/**
* Created by wanglei02 on 2016/3/4.
*/
public class MainApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Stet... | app/src/main/java/com/github/crazyorr/newmoviesexpress/MainApplication.java | package com.github.crazyorr.newmoviesexpress;
import android.app.Application;
import com.facebook.stetho.Stetho;
/**
* Created by wanglei02 on 2016/3/4.
*/
public class MainApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Stetho.initializeWithDefaults(t... | Plant Timber tree.
| app/src/main/java/com/github/crazyorr/newmoviesexpress/MainApplication.java | Plant Timber tree. | <ide><path>pp/src/main/java/com/github/crazyorr/newmoviesexpress/MainApplication.java
<ide> import android.app.Application;
<ide>
<ide> import com.facebook.stetho.Stetho;
<add>
<add>import timber.log.Timber;
<ide>
<ide> /**
<ide> * Created by wanglei02 on 2016/3/4.
<ide> public void onCreate() {
<ide> su... | |
JavaScript | apache-2.0 | 28a47c64d243583fdfd0597dcd1ed95c45872b33 | 0 | phonegap-build/cordova-lib,surajpindoria/cordova-lib,stevengill/cordova-lib,csantanapr/cordova-lib,marcuspridham/cordova-lib,driftyco/cordova-lib,jasongin/cordova-lib,surajpindoria/cordova-lib,AxelNennker/cordova-lib,jasongin/cordova-lib,stevengill/cordova-lib,shazron/cordova-lib,tony--/cordova-lib,phonegap-build/cordo... | /**
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/metadata/android_parser.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-10125: Android build fails on read-only files. This closes #351
| cordova-lib/src/cordova/metadata/android_parser.js | CB-10125: Android build fails on read-only files. This closes #351 | <ide><path>ordova-lib/src/cordova/metadata/android_parser.js
<ide> if (filename.indexOf('drawable-') === 0) {
<ide> var imgPath = path.join(res, filename, name);
<ide> if (fs.existsSync(imgPath)) {
<add> shell.chmod('u+w', imgPath);
<ide> fs.unlinkSync(imgP... | |
Java | apache-2.0 | 27ee183c290a241860423eb826356a1302f67ccb | 0 | puneetjaiswal/sql-parser,rimig/sql-parser,gnubila-france/sql-parser,mattyb149/sql-parser,storyeah/sql-parser,fivetran/sql-parser,hudak/sql-parser,brosander/sql-parser,storyeah/sql-parser,cswaroop/sql-parser,xiexingguang/sql-parser,puneetjaiswal/sql-parser,fengshao0907/sql-parser,brosander/sql-parser | /**
* END USER LICENSE AGREEMENT (“EULA”)
*
* READ THIS AGREEMENT CAREFULLY (date: 9/13/2011):
* http://www.akiban.com/licensing/20110913
*
* BY INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING
* ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS
* AGREEMENT IS ENFOR... | src/main/java/com/akiban/sql/parser/GroupConcatNode.java | /**
* END USER LICENSE AGREEMENT (“EULA”)
*
* READ THIS AGREEMENT CAREFULLY (date: 9/13/2011):
* http://www.akiban.com/licensing/20110913
*
* BY INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING
* ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS
* AGREEMENT IS ENFOR... | checking null | src/main/java/com/akiban/sql/parser/GroupConcatNode.java | checking null | <ide><path>rc/main/java/com/akiban/sql/parser/GroupConcatNode.java
<ide> void acceptChildren(Visitor v) throws StandardException
<ide> {
<ide> super.accept(v);
<del> orderCols.accept(v);
<add> if (orderCols != null)
<add> orderCols.accept(v);
<ide> }
<ide>
<ide> /** | |
Java | apache-2.0 | 18ddaa302eb958456054e27885199992deccb176 | 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 org.jetbrains.plugins.gradle.service.project;
import com.intellij.build.events.MessageEvent;
import com.intellij.build.events.impl.BuildIssueEventImpl;
import com.intelli... | plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/DefaultProjectResolverContext.java | // 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 org.jetbrains.plugins.gradle.service.project;
import com.intellij.build.events.MessageEvent;
import com.intellij.build.events.impl.BuildIssueEventImpl;
import com.intelli... | [Gradle] nullable incremental resolver policy IDEA-222274
GitOrigin-RevId: 56f247567be70130da8e393ea3e94001fc2d8769 | plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/DefaultProjectResolverContext.java | [Gradle] nullable incremental resolver policy IDEA-222274 | <ide><path>lugins/gradle/src/org/jetbrains/plugins/gradle/service/project/DefaultProjectResolverContext.java
<ide> @Nullable private String myProjectGradleVersion;
<ide> @Nullable private String myBuildSrcGroup;
<ide> @Nullable private BuildEnvironment myBuildEnvironment;
<del> private final GradleIncrementalRes... | |
JavaScript | mit | 61f1c05fb2e1efddf466dacca82eb524a9fbe7a8 | 0 | AEDA-Solutions/matweb,AEDA-Solutions/matweb,AEDA-Solutions/matweb,AEDA-Solutions/matweb,AEDA-Solutions/matweb | angular.
module('Exibir').
component('materiaInfo', {
templateUrl: '/app/Exibir/exibir.template.html',
controller: ['ApiExibir', 'MatWebGlobals',function Entrar(ApiExibir,MatWebGlobals) {
if (MatWebGlobals.hasOwnProperty('usuarioOferta')) {
$scope.idMateria = MatWebGlobals.usuarioOferta.id;
... | frontend/app/Exibir/exibir.component.js | angular.
module('Exibir').
component('ofertaDisciplina', {
templateUrl: '/app/Exibir/exibir.template.html',
controller: ['ApiExibir', 'MatWebGlobals',function Entrar(ApiExibir,MatWebGlobals) {
if (MatWebGlobals.hasOwnProperty('usuarioOferta')) {
$scope.idMateria = MatWebGlobals.usuarioOferta.id;... | lol 2017-05-31
| frontend/app/Exibir/exibir.component.js | lol 2017-05-31 | <ide><path>rontend/app/Exibir/exibir.component.js
<ide> angular.
<ide> module('Exibir').
<del> component('ofertaDisciplina', {
<add> component('materiaInfo', {
<ide> templateUrl: '/app/Exibir/exibir.template.html',
<ide> controller: ['ApiExibir', 'MatWebGlobals',function Entrar(ApiExibir,MatWebGlobals) {
<i... | |
Java | apache-2.0 | 8ad453bac6cd98d6400e830de0df8a4ebab87512 | 0 | MICommunity/psi-jami,MICommunity/psi-jami,MICommunity/psi-jami | package psidev.psi.mi.jami.datasource;
/**
* This enum is giving topics for different parsing error types
*
* @author Marine Dumousseau (marine@ebi.ac.uk)
* @version $Id$
* @since <pre>15/03/13</pre>
*/
public enum FileParsingErrorType {
invalid_syntax, multiple_experimental_roles, multiple_host_organisms,... | src/main/java/psidev/psi/mi/jami/datasource/FileParsingErrorType.java | package psidev.psi.mi.jami.datasource;
/**
* This enum is giving topics for different parsing error types
*
* @author Marine Dumousseau (marine@ebi.ac.uk)
* @version $Id$
* @since <pre>15/03/13</pre>
*/
public enum FileParsingErrorType {
invalid_syntax, multiple_experimental_roles, multiple_host_organisms,... | Added rule missing_experimental_role | src/main/java/psidev/psi/mi/jami/datasource/FileParsingErrorType.java | Added rule missing_experimental_role | <ide><path>rc/main/java/psidev/psi/mi/jami/datasource/FileParsingErrorType.java
<ide> public enum FileParsingErrorType {
<ide>
<ide> invalid_syntax, multiple_experimental_roles, multiple_host_organisms, multiple_experiments, multiple_expressed_in,
<del> multiple_participant_identification_methods, multiple_inte... | |
Java | apache-2.0 | 6201b268290cc6609a8cd1655887ae741afd61fb | 0 | 10045125/ChatSecureAndroid,bonashen/ChatSecureAndroid,ChatSecure/ChatSecureAndroid,eighthave/ChatSecureAndroid,anvayarai/my-ChatSecure,n8fr8/AwesomeApp,guardianproject/ChatSecureAndroid,10045125/ChatSecureAndroid,bonashen/ChatSecureAndroid,anvayarai/my-ChatSecure,prive/prive-android,31H0B1eV/ChatSecureAndroid,prembasum... | package info.guardianproject.otr.app.im.app;
import info.guardianproject.otr.app.im.provider.Imps;
import info.guardianproject.otr.app.im.service.StatusBarNotifier;
import info.guardianproject.util.Debug;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import an... | src/info/guardianproject/otr/app/im/app/BootCompletedListener.java | package info.guardianproject.otr.app.im.app;
import info.guardianproject.otr.app.im.provider.Imps;
import info.guardianproject.otr.app.im.service.StatusBarNotifier;
import info.guardianproject.util.Debug;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import an... | fix bootcomplete listener to work for unenc devices
| src/info/guardianproject/otr/app/im/app/BootCompletedListener.java | fix bootcomplete listener to work for unenc devices | <ide><path>rc/info/guardianproject/otr/app/im/app/BootCompletedListener.java
<ide>
<ide> private boolean isUnencrypted(Context context) {
<ide> try {
<del> boolean allowCreate = false;
<del> String pKey = null;
<add> String pKey = "";
<ide> Cursor cursor = n... | |
Java | mit | 94ece98fe17fd312ada42a45b297640fb331ad1f | 0 | codeborne/selenide,simple-elf/selenide,codeborne/selenide,simple-elf/selenide,simple-elf/selenide,simple-elf/selenide,codeborne/selenide | package com.codeborne.selenide.impl;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Nonnull;
import javax.annotation.ParametersAreNonnullByDefault;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import jav... | src/main/java/com/codeborne/selenide/impl/FileHelper.java | package com.codeborne.selenide.impl;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Nonnull;
import javax.annotation.ParametersAreNonnullByDefault;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import jav... | #1265 report a clear error message if cannot create folder
browser doesn't work without this folder anyway, but reports a strange error like "timeout..."
| src/main/java/com/codeborne/selenide/impl/FileHelper.java | #1265 report a clear error message if cannot create folder | <ide><path>rc/main/java/com/codeborne/selenide/impl/FileHelper.java
<ide> if (!folder.exists()) {
<ide> log.info("Creating folder: {}", folder.getAbsolutePath());
<ide> if (!folder.mkdirs()) {
<del> log.error("Failed to create folder: {}", folder.getAbsolutePath());
<add> throw new Illegal... | |
Java | apache-2.0 | f6c2b184b55b7d1641688f7c63c2b71cf8fc0132 | 0 | cherryhill/collectionspace-application | package org.collectionspace.chain.controller;
import static org.junit.Assert.*;
import org.collectionspace.chain.csp.persistence.TestBase;
import org.collectionspace.chain.util.json.JSONUtils;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Test;
import org.mortbay.jetty.testing.HttpTester... | tomcat-main/src/test/java/org/collectionspace/chain/controller/TestComposite.java | package org.collectionspace.chain.controller;
import static org.junit.Assert.*;
import org.collectionspace.chain.csp.persistence.TestBase;
import org.collectionspace.chain.util.json.JSONUtils;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Test;
import org.mortbay.jetty.testing.HttpTester... | CSPACE-4073 = more testing
| tomcat-main/src/test/java/org/collectionspace/chain/controller/TestComposite.java | CSPACE-4073 = more testing | <ide><path>omcat-main/src/test/java/org/collectionspace/chain/controller/TestComposite.java
<ide> out.put("method","DELETE");
<ide> return out;
<ide> }
<del>
<add> @Test public void testConfigComposite() throws Exception {
<add> ServletTester jetty=setupJetty();
<add> JSONObject ppp=new JSONObject();
<add>
<a... | |
Java | apache-2.0 | 7dbf994f8692ef7b966e3f4f2ebb81b7ff065c0d | 0 | SSEHUB/EASyProducer,SSEHUB/EASyProducer,SSEHUB/EASyProducer | package net.ssehub.easy.reasoning.sseReasoner;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.ssehub.easy.basics.logger.EASyL... | Plugins/Reasoner/EASy-Original-Reasoner/de.uni_hildesheim.sse.reasoning.reasoner/src/net/ssehub/easy/reasoning/sseReasoner/Resolver.java | package net.ssehub.easy.reasoning.sseReasoner;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.ssehub.easy.basics.logger.EASyL... | copyVisitor->substVisitor | Plugins/Reasoner/EASy-Original-Reasoner/de.uni_hildesheim.sse.reasoning.reasoner/src/net/ssehub/easy/reasoning/sseReasoner/Resolver.java | copyVisitor->substVisitor | <ide><path>lugins/Reasoner/EASy-Original-Reasoner/de.uni_hildesheim.sse.reasoning.reasoner/src/net/ssehub/easy/reasoning/sseReasoner/Resolver.java
<ide>
<ide> private Project project;
<ide> private transient Set<IDecisionVariable> usedVariables = new HashSet<IDecisionVariable>(100);
<del> private transi... | |
Java | apache-2.0 | 3f8ab38fd3f34a013ea99eb49632b5ad397edfbf | 0 | photo/mobile-android,photo/mobile-android | package com.trovebox.android.app.util;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import android.app.Activity;
import android.text.TextUtils;
import com.google.analytics.tracking.android.EasyTracker;
import com.google.analytics.tracking.android.ExceptionParser;
import ... | app/src/com/trovebox/android/app/util/TrackerUtils.java | package com.trovebox.android.app.util;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import android.app.Activity;
import android.text.TextUtils;
import com.google.analytics.tracking.android.EasyTracker;
import com.google.analytics.tracking.android.ExceptionParser;
import ... | #374
- TrackerUtils: added additional suffix to the self-hosted event
categories and exceptions
- TrackerUtils: added new methods getTrackingSuffix | app/src/com/trovebox/android/app/util/TrackerUtils.java | #374 - TrackerUtils: added additional suffix to the self-hosted event categories and exceptions - TrackerUtils: added new methods getTrackingSuffix | <ide><path>pp/src/com/trovebox/android/app/util/TrackerUtils.java
<ide> import com.google.analytics.tracking.android.ExceptionParser;
<ide> import com.google.analytics.tracking.android.ExceptionReporter;
<ide> import com.google.analytics.tracking.android.GAServiceManager;
<add>import com.trovebox.android.app.Preference... | |
Java | apache-2.0 | 650360a9c07faa2f5daf1b07d4aee7bb36e240a4 | 0 | Schinzel/basic-utils | package io.schinzel.basicutils;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
import static org.exparity.hamcrest.date.LocalDateTimeMatchers.within;
import static org.junit.Assert.*;
import org.junit.Test;
/**
*
* @author schinzel
*/
public class MiscUtilTest extends MiscUtil {
@Test
... | src/test/java/io/schinzel/basicutils/MiscUtilTest.java | package io.schinzel.basicutils;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
import static org.exparity.hamcrest.date.LocalDateTimeMatchers.within;
import static org.junit.Assert.*;
import org.junit.Test;
/**
*
* @author schinzel
*/
public class MiscUtilTest extends MiscUtil {
@Test
... | Test added
| src/test/java/io/schinzel/basicutils/MiscUtilTest.java | Test added | <ide><path>rc/test/java/io/schinzel/basicutils/MiscUtilTest.java
<ide>
<ide> @Test
<ide> public void testSnooze() {
<del> int snoozeTime = 100;
<add> int snoozeTimeInMillis = 100;
<ide> //Test the snooze 10 times
<ide> for (int i = 0; i < 10; i++) {
<ide> LocalDateTime... | |
Java | apache-2.0 | c34c3a1b5364566d4c83d1ceaa73406c1b04d040 | 0 | kmi/iserve,kmi/iserve,kmi/iserve,kmi/iserve | /*
* Copyright (c) 2013. Knowledge Media Institute - The Open University
*
* 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... | iserve-discovery-disco/src/test/java/uk/ac/open/kmi/iserve/discovery/disco/impl/LogicConceptMatcherWSC08Test.java | /*
* Copyright (c) 2013. Knowledge Media Institute - The Open University
*
* 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... | More tests added to LogicConceptMatcherWSC08Test
| iserve-discovery-disco/src/test/java/uk/ac/open/kmi/iserve/discovery/disco/impl/LogicConceptMatcherWSC08Test.java | More tests added to LogicConceptMatcherWSC08Test | <ide><path>serve-discovery-disco/src/test/java/uk/ac/open/kmi/iserve/discovery/disco/impl/LogicConceptMatcherWSC08Test.java
<ide> return setup;
<ide> }
<ide>
<del> public void testMatch() throws Exception {
<del>
<del> URI origin = URI.create("http://127.0.0.1/ontology/taxonomy.owl#con1981452129"... | |
Java | bsd-3-clause | 8dfeb6d148f7201125bd2a2de2ae6c2a23c0dd72 | 0 | abryant/Plinth,abryant/Plinth,abryant/Plinth,abryant/Plinth | package eu.bryants.anthony.toylanguage.compiler.passes;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import nativelib.c.C;
import nativelib.llvm.LLVM;
import nativelib.llvm.LLVM.LLVMBasicBlockRef;
import nativelib.llvm.LLVM.LLVMBuilderRef;
import nativelib.llvm.LLVM.LLVMModuleRef;
import nati... | src/eu/bryants/anthony/toylanguage/compiler/passes/CodeGenerator.java | package eu.bryants.anthony.toylanguage.compiler.passes;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import nativelib.c.C;
import nativelib.llvm.LLVM;
import nativelib.llvm.LLVM.LLVMBasicBlockRef;
import nativelib.llvm.LLVM.LLVMBuilderRef;
import nativelib.llvm.LLVM.LLVMModuleRef;
import nati... | Perform type conversions in BracketedExpressions
| src/eu/bryants/anthony/toylanguage/compiler/passes/CodeGenerator.java | Perform type conversions in BracketedExpressions | <ide><path>rc/eu/bryants/anthony/toylanguage/compiler/passes/CodeGenerator.java
<ide> }
<ide> if (expression instanceof BracketedExpression)
<ide> {
<del> return buildExpression(((BracketedExpression) expression).getExpression(), llvmFunction, thisValue, variables);
<add> BracketedExpression brack... | |
Java | apache-2.0 | 636a7aa45ce97df0eb8a53be230b4d02cec27c82 | 0 | codeaudit/OG-Platform,jerome79/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,McLeodMoores/starling,ChinaQuants/OG-Platform,McLeodMoores/starling,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,ChinaQuants/OG-Plat... | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.curve.interestrate;
import it.unimi.dsi.fastutil.doubles.DoubleArrayList;
import java.util.ArrayList;
import java.util.HashSet;
impo... | projects/OG-Financial/src/com/opengamma/financial/analytics/model/curve/interestrate/FXImpliedYieldCurveFunction.java | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.curve.interestrate;
import it.unimi.dsi.fastutil.doubles.DoubleArrayList;
import java.util.ArrayList;
import java.util.HashSet;
impo... | Correcting formatting
| projects/OG-Financial/src/com/opengamma/financial/analytics/model/curve/interestrate/FXImpliedYieldCurveFunction.java | Correcting formatting | <ide><path>rojects/OG-Financial/src/com/opengamma/financial/analytics/model/curve/interestrate/FXImpliedYieldCurveFunction.java
<ide> .withAny(MultiYieldCurvePropertiesAndDefaults.PROPERTY_DECOMPOSITION)
<ide> .withAny(MultiYieldCurvePropertiesAndDefaults.PROPERTY_USE_FINITE_DIFFERENCE)
<ide> .w... | |
JavaScript | apache-2.0 | 17ea8d5cc85fc362d3ad2b307acf20944f4ef5ef | 0 | Ideolys/carbone,Ideolys/carbone | var dateFormatter = require('../formatters/date');
var conditionFormatter = require('../formatters/condition');
var stringFormatter = require('../formatters/string');
var arrayFormatter = require('../formatters/array');
var numberFormatter = require('../formatters/number');
var helper = require('../lib/helper');
descr... | test/test.formatter.js | var dateFormatter = require('../formatters/date');
var conditionFormatter = require('../formatters/condition');
var stringFormatter = require('../formatters/string');
var arrayFormatter = require('../formatters/array');
var numberFormatter = require('../formatters/number');
var helper = require('../lib/helper');
descr... | update ifLT tests
| test/test.formatter.js | update ifLT tests | <ide><path>est/test.formatter.js
<ide> describe('ifLT', function () {
<ide> it ('should matches values, string.length, array.length or object.length that are less than a specified value', function () {
<ide> let _context = {isConditionTrue : false};
<del> callWithContext(conditionFormatter.ifLT, _conte... | |
Java | mit | error: pathspec 'src/main/java/stopheracleum/controller/UserController.java' did not match any file(s) known to git
| 2d8ef0448eb914a90f78d72edaceb8d12db71e4f | 1 | Milkho/stop-heracleum,Milkho/stop-heracleum | package stopheracleum.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springfr... | src/main/java/stopheracleum/controller/UserController.java | Add controller for user's pages
| src/main/java/stopheracleum/controller/UserController.java | Add controller for user's pages | <ide><path>rc/main/java/stopheracleum/controller/UserController.java
<add>package stopheracleum.controller;
<add>
<add>import org.springframework.beans.factory.annotation.Autowired;
<add>import org.springframework.stereotype.Controller;
<add>import org.springframework.ui.Model;
<add>import org.springframework.validatio... | |
Java | mit | 872d82620458ee7396b9933a853a3623dd900e9f | 0 | smallmeet/android-vts,sigma-random/android-vts,duo-labs/android-vts,Android-leak/android-vts,duo-labs/android-vts,masbog/android-vts,zenoonez/android-vts,sigma-random/android-vts,ZhouSichong/android-vts,sigma-random/android-vts,idkwim/android-vts,chubbymaggie/android-vts,masbog/android-vts,nowsecure/android-vts,zenoone... | package fuzion24.device.vulnerability.vulnerabilities.framework.media;
import android.content.Context;
import android.content.res.AssetManager;
import android.os.Build;
import android.util.Log;
import org.apache.commons.compress.utils.Charsets;
import org.apache.commons.compress.utils.IOUtils;
import org.apache.commo... | app/src/main/java/fuzion24/device/vulnerability/vulnerabilities/framework/media/Stagefright.java | package fuzion24.device.vulnerability.vulnerabilities.framework.media;
import android.content.Context;
import android.content.res.AssetManager;
import android.os.Build;
import android.util.Log;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io... | Check output of binary to see if it crashed or or we caught a bad signal
| app/src/main/java/fuzion24/device/vulnerability/vulnerabilities/framework/media/Stagefright.java | Check output of binary to see if it crashed or or we caught a bad signal | <ide><path>pp/src/main/java/fuzion24/device/vulnerability/vulnerabilities/framework/media/Stagefright.java
<ide> import android.os.Build;
<ide> import android.util.Log;
<ide>
<add>import org.apache.commons.compress.utils.Charsets;
<add>import org.apache.commons.compress.utils.IOUtils;
<add>import org.apache.commons.io... | |
Java | epl-1.0 | 96b035ecaa9c6fc3b11bbd4261f82778add274fd | 0 | dupuisa/i-CodeCNES,dupuisa/i-CodeCNES | /************************************************************************************************/
/* i-Code CNES is a static code analyzer. */
/* This software is a free software, under the terms of the Eclipse Public License version 1.0. */
/* http://www.eclipse.o... | shell-rules/src/test/java/fr/cnes/icode/shell/rules/TestAllShellRules.java | /************************************************************************************************/
/* i-Code CNES is a static code analyzer. */
/* This software is a free software, under the terms of the Eclipse Public License version 1.0. */
/* http://www.eclipse.o... | #158 fix tests
| shell-rules/src/test/java/fr/cnes/icode/shell/rules/TestAllShellRules.java | #158 fix tests | <ide><path>hell-rules/src/test/java/fr/cnes/icode/shell/rules/TestAllShellRules.java
<ide> {"/COM/DATA/Invariant/error.sh", "/COM/DATA/Invariant/noError.sh", new int[]{ 9, 14, 21, 27, 13, 8, 9, 30}, new String[]{ "MAIN PROGRAM", "MAIN PROGRAM", "fonction", "fonction2", "MAIN PROGRAM", "MAIN PROGRAM" , "... | |
Java | mit | f8408bd29f4cde06613e2d3077b1d45be0f9f2ff | 0 | kohsuke/github-api,Sampson91/github-api,gitminingOrg/github-api,gecko655/github-api,stephenc/github-api,jeffnelson/github-api,pomes/github-api,marc-guenther/github-api,PankajHingane-REISysIn/KnowledgeArticleExportImport,recena/github-api,christiansahlstrom93/github-api,Shredder121/github-api,if6was9/github-api,mmitche/... | package org.kohsuke.github;
import org.junit.After;
import org.junit.Test;
import java.io.IOException;
import java.util.Collection;
import java.util.List;
/**
* @author Kohsuke Kawaguchi
*/
public class PullRequestTest extends AbstractGitHubApiTestBase {
@Test
public void createPullRequest() throws Excepti... | src/test/java/org/kohsuke/github/PullRequestTest.java | package org.kohsuke.github;
import org.junit.After;
import org.junit.Test;
import java.io.IOException;
import java.util.Collection;
import java.util.List;
/**
* @author Kohsuke Kawaguchi
*/
public class PullRequestTest extends AbstractGitHubApiTestBase {
@Test
public void createPullRequest() throws Excepti... | This method can return null.
I think what's going on is that GitHub takes some non-zero amount of time to compute this value, and our test runs too fast sometimes and try to fetch a PR before its mergeability is computed
| src/test/java/org/kohsuke/github/PullRequestTest.java | This method can return null. | <ide><path>rc/test/java/org/kohsuke/github/PullRequestTest.java
<ide> PagedIterable<GHPullRequest> ghPullRequests = getRepository().listPullRequests(GHIssueState.OPEN);
<ide> for (GHPullRequest pr : ghPullRequests) {
<ide> assertNotNull(pr.getUser().root);
<del> assertFalse(pr.get... | |
Java | apache-2.0 | efae91ab135480139f74fd688ab164ac99a4351e | 0 | liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,ruspl-afed/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,ruspl-afed/dbeaver,liuyuanyuan/dbeaver,ruspl-afed/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,ruspl-afed/dbeaver,AndrewKhitrin/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org)
*
* 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/license... | plugins/org.jkiss.dbeaver.data.office/src/org/jkiss/dbeaver/data/office/handlers/OpenSpreadsheetHandler.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org)
*
* 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/license... | ResultsViewer: open resultset in Excel (UI progress)
| plugins/org.jkiss.dbeaver.data.office/src/org/jkiss/dbeaver/data/office/handlers/OpenSpreadsheetHandler.java | ResultsViewer: open resultset in Excel (UI progress) | <ide><path>lugins/org.jkiss.dbeaver.data.office/src/org/jkiss/dbeaver/data/office/handlers/OpenSpreadsheetHandler.java
<ide>
<ide> AbstractJob exportJob = new AbstractJob("Open Excel") {
<ide>
<add> {
<add> setUser(true);
<add> setSystem(false);
<add> }
<add... | |
Java | epl-1.0 | 319ca2895aa724cb0a577120c72abeb6c4bc0997 | 0 | upohl/eloquent,upohl/eloquent | package org.muml.psm.allocation.algorithm.ui.wizard;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.Resour... | plugins/org.muml.psm.allocation.algorithm.ui/src/org/muml/psm/allocation/algorithm/ui/wizard/AllocationWizard.java | package org.muml.psm.allocation.algorithm.ui.wizard;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.Resour... | [Renaming] [Migration] Textual replacement of references to org.muml.ape.runtime.
| plugins/org.muml.psm.allocation.algorithm.ui/src/org/muml/psm/allocation/algorithm/ui/wizard/AllocationWizard.java | [Renaming] [Migration] Textual replacement of references to org.muml.ape.runtime. | <ide><path>lugins/org.muml.psm.allocation.algorithm.ui/src/org/muml/psm/allocation/algorithm/ui/wizard/AllocationWizard.java
<ide> URI.createURI("dummy://dummy.ecore"));
<ide> resource.getContents().add(configuration);
<ide> // just to make APE happy (otherwise APE will not modify the object
<del> // (... | |
Java | apache-2.0 | 4fe7966fa957450a1df6e312c714b46b11e4f03c | 0 | apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat | /*
* 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 ... | java/org/apache/jasper/compiler/AntCompiler.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 ... | No longer set the 'optimize' option when compiling the JSPs with Ant (ignored since Java 1.3)
git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1828385 13f79535-47bb-0310-9956-ffa450edef68
| java/org/apache/jasper/compiler/AntCompiler.java | No longer set the 'optimize' option when compiling the JSPs with Ant (ignored since Java 1.3) | <ide><path>ava/org/apache/jasper/compiler/AntCompiler.java
<ide> javac.setDebug(ctxt.getOptions().getClassDebugInfo());
<ide> javac.setSrcdir(srcPath);
<ide> javac.setTempdir(options.getScratchDir());
<del> javac.setOptimize(! ctxt.getOptions().getClassDebugInfo() );
<ide> javac.s... | |
Java | apache-2.0 | c5d632704f3d4306e0381d8d81e0e32670c2088e | 0 | jwillia/kc-rice1,UniversityOfHawaiiORS/rice,smith750/rice,ewestfal/rice,cniesen/rice,shahess/rice,jwillia/kc-rice1,shahess/rice,gathreya/rice-kc,bsmith83/rice-1,ewestfal/rice,ewestfal/rice-svn2git-test,bhutchinson/rice,kuali/kc-rice,geothomasp/kualico-rice-kc,sonamuthu/rice-1,UniversityOfHawaiiORS/rice,smith750/rice,sm... | /*
* Copyright 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 by applica... | impl/src/main/java/org/kuali/rice/core/jpa/criteria/Criteria.java | /*
* Copyright 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 by applica... | Added some logic methods, fixed ANDs and ORs appearing as prefixes for single expressions, fixed endless recursion for parameter binding when token is a criteria.
| impl/src/main/java/org/kuali/rice/core/jpa/criteria/Criteria.java | Added some logic methods, fixed ANDs and ORs appearing as prefixes for single expressions, fixed endless recursion for parameter binding when token is a criteria. | <ide><path>mpl/src/main/java/org/kuali/rice/core/jpa/criteria/Criteria.java
<ide>
<ide> import java.math.BigDecimal;
<ide> import java.util.ArrayList;
<add>import java.util.HashMap;
<ide> import java.util.Iterator;
<ide> import java.util.LinkedHashMap;
<ide> import java.util.List;
<ide>
<ide> private int bindParamC... | |
JavaScript | apache-2.0 | e01db54b893255b22907fb2a154b8c9851e06147 | 0 | jclark118/mage-server,newmanw/mage-server,newmanw/mage-server,ngageoint/mage-server,jclark118/mage-server,ngageoint/mage-server,ngageoint/mage-server,newmanw/mage-server,jclark118/mage-server,ngageoint/mage-server | var mongoose = require('mongoose')
, async = require('async')
, moment = require('moment')
, Layer = require('../models/layer');
var Schema = mongoose.Schema;
var StateSchema = new Schema({
name: { type: String, required: true },
userId: { type: Schema.Types.ObjectId, ref: 'User' }
});
var AttachmentSchema... | models/feature.js | var mongoose = require('mongoose')
, async = require('async')
, moment = require('moment')
, Layer = require('../models/layer');
var Schema = mongoose.Schema;
var StateSchema = new Schema({
name: { type: String, required: true },
userId: { type: Schema.Types.ObjectId, ref: 'User' }
});
var AttachmentSchema... | fixed inserting states for mongo 2.6
| models/feature.js | fixed inserting states for mongo 2.6 | <ide><path>odels/feature.js
<ide> });
<ide> }
<ide>
<del>// IMPORTANT:
<del>// This is a complete hack to get the new state to insert into
<del>// the beginning of the array. Once mongo 2.6 is released
<del>// we can use the $push -> $each -> $position operator
<ide> exports.addState = function(layer, id, state, ca... | |
Java | bsd-3-clause | f450c9f60c33eb4d394b483e9960535a7fa462af | 0 | NCIP/catissue-advanced-query,NCIP/catissue-advanced-query | package edu.wustl.query.action;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.Action;
import org.apache.stru... | WEB-INF/src/edu/wustl/query/action/RetrieveQueryAction.java | package edu.wustl.query.action;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.Action;
import org.apache.stru... | removed unused
SVN-Revision: 6052
| WEB-INF/src/edu/wustl/query/action/RetrieveQueryAction.java | removed unused | <ide><path>EB-INF/src/edu/wustl/query/action/RetrieveQueryAction.java
<ide> public int setSharedQueryCount(SessionDataBean dataBean) throws CSObjectNotFoundException, CSException
<ide> {
<ide>
<del> Collection<IParameterizedQuery> parameterizedQueryCollection=HibernateUtility
<del> .executeHQL(HibernateUtility.GET... | |
Java | apache-2.0 | be652c4848210c9eaca92c2a08f0b4d4d844b56e | 0 | bhecquet/seleniumRobot,bhecquet/seleniumRobot,bhecquet/seleniumRobot | /**
* Orignal work: Copyright 2015 www.seleniumtests.com
* Modified work: Copyright 2016 www.infotel.com
* Copyright 2017-2019 B.Hecquet
*
* 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... | core/src/main/java/com/seleniumtests/browserfactory/IMobileCapabilityFactory.java | /**
* Orignal work: Copyright 2015 www.seleniumtests.com
* Modified work: Copyright 2016 www.infotel.com
* Copyright 2017-2019 B.Hecquet
*
* 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... | issue #381: changed "fullReset" value | core/src/main/java/com/seleniumtests/browserfactory/IMobileCapabilityFactory.java | issue #381: changed "fullReset" value | <ide><path>ore/src/main/java/com/seleniumtests/browserfactory/IMobileCapabilityFactory.java
<ide>
<ide> if (app != null && !"".equals(app.trim())) {
<ide> if (webDriverConfig.isFullReset()) {
<del> capabilities.setCapability(MobileCapabilityType.FULL_RESET, "true");
<add> capabilities.setCap... | |
JavaScript | apache-2.0 | 9d789cf1b1a9c661c3c8858a2170eb5e57571306 | 0 | Brightspace/eslint-config-brightspace |
// nr = not as per eslint:recommended
module.exports = {
"rules": {
"comma-spacing": 2, // nr
"eol-last": 2, // nr
"eqeqeq": 2, // nr
"indent": [2, "tab", { "SwitchCase": 1 }], // nr
"new-parens": 2, // nr
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case... | common-config.js |
// nr = not as per eslint:recommended
module.exports = {
"rules": {
"comma-spacing": 2, // nr
"eol-last": 2, // nr
"eqeqeq": 2, // nr
"indent": [2, "tab", { "SwitchCase": 1 }], // nr
"new-parens": 2, // nr
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-cas... | add space-in-parens error
| common-config.js | add space-in-parens error | <ide><path>ommon-config.js
<ide> "eqeqeq": 2, // nr
<ide> "indent": [2, "tab", { "SwitchCase": 1 }], // nr
<ide> "new-parens": 2, // nr
<del> "no-debugger": 2,
<add> "no-debugger": 2,
<ide> "no-dupe-args": 2,
<ide> "no-dupe-keys": 2,
<ide> "no-duplicate-case": 2,
<ide> "semi": 2, // n... | |
JavaScript | mit | b66acff5cadbdfb84b95bc763154a376433dafb7 | 0 | unexpectedjs/unexpected,alexjeffburke/unexpected,alexjeffburke/unexpected | /*!
* Copyright (c) 2013 Sune Simonsen <sune@we-knowhow.dk>
*
* 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, cop... | unexpected.js | /*!
* Copyright (c) 2013 Sune Simonsen <sune@we-knowhow.dk>
*
* 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, cop... | Build unexpected.js
| unexpected.js | Build unexpected.js | <ide><path>nexpected.js
<ide>
<ide> expect.addAssertion('<object|function> [not] to have own property <string>', function (expect, subject, key) {
<ide> expect(subject.hasOwnProperty(key), '[not] to be truthy');
<add> return subject[key];
<add> });
<add>
<add> expect.addAssertion('<object|func... | |
JavaScript | apache-2.0 | ca99390b2d987fec6910a22a6d0f808180afb9fb | 0 | emig/data-models,eHealthAfrica/data-models | 'use strict';
module.exports = {
'case': require('./Case.json'),
'dailyDelivery': require('./DailyDelivery.json'),
'deliveryRound': require('./DeliveryRound.json'),
'driver': require('./Driver.json'),
'facilityRound': require('./FacilityRound.json'),
'packingList': require('./PackingList.json'),
'person'... | schemas/index.js | 'use strict';
var fs = require('fs');
var path = require('path');
var cwd = path.join(__dirname, '/');
function isJSON(file) {
return file.match(/.json$/);
}
function toLowerCamelCase(str) {
return str.charAt(0).toLowerCase() + str.slice(1);
}
function appendToExports(file) {
var name = toLowerCamelCase(file... | Don't rely on fs.readdirSync to load schemas
Browserify/brfs can't handle this properly as described in https://github.com/substack/brfs/issues/36
and we want to use this module in the lr-sense-followup-app on the
client side (for specs)
| schemas/index.js | Don't rely on fs.readdirSync to load schemas | <ide><path>chemas/index.js
<ide> 'use strict';
<ide>
<del>var fs = require('fs');
<del>var path = require('path');
<del>
<del>var cwd = path.join(__dirname, '/');
<del>
<del>function isJSON(file) {
<del> return file.match(/.json$/);
<del>}
<del>
<del>function toLowerCamelCase(str) {
<del> return str.charAt(0).toLowe... | |
Java | mit | 87fbb8ec987a68271adc0f43bd65593eeb91d2c1 | 0 | Shredder121/github-api,recena/github-api,stephenc/github-api,jeffnelson/github-api,kohsuke/github-api | package org.kohsuke.github;
import com.infradna.tool.bridge_method_injector.WithBridgeMethods;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.net.URL;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
impo... | src/main/java/org/kohsuke/github/GHCommit.java | package org.kohsuke.github;
import com.infradna.tool.bridge_method_injector.WithBridgeMethods;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.net.URL;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
impo... | Copy/paste error
| src/main/java/org/kohsuke/github/GHCommit.java | Copy/paste error | <ide><path>rc/main/java/org/kohsuke/github/GHCommit.java
<ide> }
<ide>
<ide> public Date getCommitDate() {
<del> return GitHub.parseDate(author.date);
<add> return GitHub.parseDate(committer.date);
<ide> }
<ide>
<ide> /** | |
Java | bsd-2-clause | d7407758a55d1b8109f46d25e9d4c7ba5fccd641 | 0 | abelbriggs1/runelite,Sethtroll/runelite,runelite/runelite,l2-/runelite,runelite/runelite,Noremac201/runelite,abelbriggs1/runelite,KronosDesign/runelite,l2-/runelite,KronosDesign/runelite,Sethtroll/runelite,abelbriggs1/runelite,devinfrench/runelite,runelite/runelite,Noremac201/runelite,devinfrench/runelite | /*
* Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, thi... | runelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsOverlay.java | /*
* Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, thi... | player indicators: use new isFriend/isClanMember api
| runelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsOverlay.java | player indicators: use new isFriend/isClanMember api | <ide><path>unelite-client/src/main/java/net/runelite/client/plugins/playerindicators/PlayerIndicatorsOverlay.java
<ide> @Override
<ide> public Dimension render(Graphics2D graphics, Point parent)
<ide> {
<del> if (!config.drawOwnName() && !config.drawClanMemberNames() &&
<del> !config.drawFriendNames() && !config.... | |
Java | lgpl-2.1 | 09fadb40e4590b0d59848f11600ca7fb76167a2b | 0 | Darkhax-Minecraft/Dark-Utilities | package net.darkhax.darkutils.blocks;
import net.darkhax.darkutils.DarkUtils;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.ut... | src/main/java/net/darkhax/darkutils/blocks/BlockTrapBase.java | package net.darkhax.darkutils.blocks;
import net.darkhax.darkutils.DarkUtils;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.ut... | Fixed broken block bounds. | src/main/java/net/darkhax/darkutils/blocks/BlockTrapBase.java | Fixed broken block bounds. | <ide><path>rc/main/java/net/darkhax/darkutils/blocks/BlockTrapBase.java
<ide> import net.minecraft.util.EnumFacing;
<ide> import net.minecraft.util.math.AxisAlignedBB;
<ide> import net.minecraft.util.math.BlockPos;
<add>import net.minecraft.world.IBlockAccess;
<ide> import net.minecraft.world.World;
<ide>
<ide> public... | |
Java | apache-2.0 | cf55d7a356f80cdc2b89811066cc8aedb0264320 | 0 | CS-SI/Orekit,CS-SI/Orekit | /* Copyright 2002-2022 CS GROUP
* Licensed to CS GROUP (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, Version 2.0
* (the "License"); you may... | src/main/java/org/orekit/files/ccsds/ndm/cdm/CdmParser.java | /* Copyright 2002-2022 CS GROUP
* Licensed to CS GROUP (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, Version 2.0
* (the "License"); you may... | Fixed JavaDoc warnings. | src/main/java/org/orekit/files/ccsds/ndm/cdm/CdmParser.java | Fixed JavaDoc warnings. | <ide><path>rc/main/java/org/orekit/files/ccsds/ndm/cdm/CdmParser.java
<ide> * way to use parsers is to either dedicate one parser for each message
<ide> * and drop it afterwards, or to use a single-thread loop.
<ide> * </p>
<del> * @param <T> type of the file
<del> * @param <P> type of the parser
<ide> * @author Me... | |
Java | apache-2.0 | 93fa61b2257d48ac4e579a03c127bf7b65dd1dbc | 0 | jomarko/drools,manstis/drools,lanceleverich/drools,sutaakar/drools,romartin/drools,sutaakar/drools,manstis/drools,winklerm/drools,reynoldsm88/drools,reynoldsm88/drools,jomarko/drools,romartin/drools,winklerm/drools,sutaakar/drools,jomarko/drools,reynoldsm88/drools,sotty/drools,droolsjbpm/drools,ngs-mtech/drools,droolsj... | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... | drools-compiler/src/main/java/org/drools/compiler/builder/impl/KnowledgeBuilderImpl.java | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... | Allow external Assemblers to add KnowledgeBuilderResult in KnowledgeBuilder (#1083)
| drools-compiler/src/main/java/org/drools/compiler/builder/impl/KnowledgeBuilderImpl.java | Allow external Assemblers to add KnowledgeBuilderResult in KnowledgeBuilder (#1083) | <ide><path>rools-compiler/src/main/java/org/drools/compiler/builder/impl/KnowledgeBuilderImpl.java
<ide> }
<ide> }
<ide>
<del> void addBuilderResult(KnowledgeBuilderResult result) {
<add> public void addBuilderResult(KnowledgeBuilderResult result) {
<ide> this.results.add(result);
<ide> }... | |
Java | apache-2.0 | 44f4e5884e3ee6f1a07cb3dd4e9c2d322a01c57d | 0 | markii96/GuardianesDeLaLuz | package com.mygdx.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.Preferences;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.GL20;... | core/src/com/mygdx/game/PantallaJuego.java | package com.mygdx.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.Preferences;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.GL20;... | habilidades
| core/src/com/mygdx/game/PantallaJuego.java | habilidades | <ide><path>ore/src/com/mygdx/game/PantallaJuego.java
<ide> float y = v.y;
<ide>
<ide> for (int i = 0; i < nivel.getHeroes().size(); i++){
<del> if (nivel.getHeroes().get(i).getEstado() == Heroe.Estado.SELECCIONADO) {
<add> if (nivel.getHeroes().get(i).getEstado() == Heroe.Estado.S... | |
Java | apache-2.0 | 75ebabde2d7e0f1a4c09f8099057bbf974da376e | 0 | StefanLiebenberg/closure-stylesheets,mahieddine/closure-stylesheets,knutwalker/google-closure-stylesheets,iwatchallit/closure-stylesheets,jDramaix/closure-stylesheet-gss,google/postcss-rename,varshluck/closure-stylesheets,smennetrier/closure-stylesheets,buntarb/closure-stylesheets,Dj-Corps/closure-stylesheets,buttflatt... | /*
* Copyright 2011 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 ... | src/com/google/common/css/compiler/ast/Property.java | /*
* Copyright 2011 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 ... | Add two Webkit pseudo-properties to the property whitelist.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=42145918
| src/com/google/common/css/compiler/ast/Property.java | Add two Webkit pseudo-properties to the property whitelist. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=42145918 | <ide><path>rc/com/google/common/css/compiler/ast/Property.java
<ide> builder("visibility"),
<ide> builder("voice-family"),
<ide> builder("volume"),
<add> builder("-webkit-align-items"),
<add> builder("-webkit-align-self"),
<ide> builder("-webkit-animation"),
<ide> b... | |
JavaScript | mit | 4ef03fb2d8659489a325621ab73ed3195c34ee13 | 0 | draringi/codejam2013,draringi/codejam2013,draringi/codejam2013 | function updateChart (data) {
console.log(data);
var list = [];
var records = data.responseJSON.Records;
var len = records;
for (var i = 0; i < len; i++) {
list.push([records[i].Date, records[i].Power])
}
$.jqplot('futureplot', [list], {
title:'Predicted Power Usage for the next 24 Hours',
axes:{xaxis:{ren... | static/js/predictions.js | function updateChart (data) {
var list = [];
var records = data.responseJSON.Records;
var len = records;
for (var i = 0; i < len; i++) {
list.push([records[i].Date, records[i].Power])
}
$.jqplot('futureplot', [list], {
title:'Predicted Power Usage for the next 24 Hours',
axes:{xaxis:{renderer:$.jqplot.DateA... | js fixes
| static/js/predictions.js | js fixes | <ide><path>tatic/js/predictions.js
<ide> function updateChart (data) {
<add> console.log(data);
<ide> var list = [];
<ide> var records = data.responseJSON.Records;
<ide> var len = records; | |
Java | apache-2.0 | error: pathspec 'src/org/ensembl/healthcheck/testcase/generic/CanonicalTranscriptCoding.java' did not match any file(s) known to git
| e89ce551ad18fd6754ece4fb4761b17375e04217 | 1 | Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck | /*
Copyright (C) 2004 EBI, GRL
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.1 of the License, or (at your option) any later version.
This library is distributed in t... | src/org/ensembl/healthcheck/testcase/generic/CanonicalTranscriptCoding.java | Check for protein coding genes with invalid translations
| src/org/ensembl/healthcheck/testcase/generic/CanonicalTranscriptCoding.java | Check for protein coding genes with invalid translations | <ide><path>rc/org/ensembl/healthcheck/testcase/generic/CanonicalTranscriptCoding.java
<add>/*
<add> Copyright (C) 2004 EBI, GRL
<add>
<add> This library is free software; you can redistribute it and/or
<add> modify it under the terms of the GNU Lesser General Public
<add> License as published by the Free Software Found... | |
Java | bsd-2-clause | 2a1c3b160202e7bcdf7e54c67847adbc9795e289 | 0 | clementval/claw-compiler,clementval/claw-compiler | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.translator.language;
import static org.junit.Assert.*;
import cx2x.translator.language.helper.accelerator.AcceleratorDirective;
import cx2x.translator.language.helper.accelerator.AcceleratorGenerator;
imp... | omni-cx2x/unittest/cx2x/translator/language/ClawLanguageTest.java | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.translator.language;
import static org.junit.Assert.*;
import cx2x.translator.language.helper.accelerator.AcceleratorDirective;
import cx2x.translator.language.helper.accelerator.AcceleratorGenerator;
imp... | Fix test case insensitive
| omni-cx2x/unittest/cx2x/translator/language/ClawLanguageTest.java | Fix test case insensitive | <ide><path>mni-cx2x/unittest/cx2x/translator/language/ClawLanguageTest.java
<ide> public void parallelizeTest(){
<ide>
<ide> // Valid directives
<del> ClawDimension d1 = new ClawDimension("i", "1", "NX");
<del> analyzeValidParallelize("claw define dimension i(1,NX)" +
<add> ClawDimension d1 = new ClawDi... | |
JavaScript | apache-2.0 | ad6ecbd5b9cbece48b96cb2d5ec7f0c9714749a2 | 0 | monetate/closure-compiler,google/closure-compiler,ChadKillingsworth/closure-compiler,nawawi/closure-compiler,google/closure-compiler,ChadKillingsworth/closure-compiler,ChadKillingsworth/closure-compiler,nawawi/closure-compiler,monetate/closure-compiler,monetate/closure-compiler,google/closure-compiler,nawawi/closure-co... | /*
* Copyright 2008 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 ... | externs/browser/html5.js | /*
* Copyright 2008 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 ... | Add crossOriginIsolated field to window
PiperOrigin-RevId: 413705617
| externs/browser/html5.js | Add crossOriginIsolated field to window | <ide><path>xterns/browser/html5.js
<ide> * @type {?function(FormDataEvent)}
<ide> */
<ide> HTMLFormElement.prototype.onformdata;
<add>
<add>/**
<add> * @const {boolean}
<add> * Whether the document has opted in to cross-origin isolation.
<add> * @see https://html.spec.whatwg.org/multipage/webappapis.html#dom-crossori... | |
JavaScript | cc0-1.0 | 52fc17c90c9091dfea3f277138b3f33095e09b34 | 0 | iterami/SpeedButton.htm,iterami/SpeedButton.htm | 'use strict';
function click_button(clicked_button_id){
if(core_menu_open){
return;
}
core_audio_start({
'id': 'boop',
});
randomize_buttons(clicked_button_id);
}
function decisecond(){
if(!game_running){
return;
}
time = (core_storage_data['game-mode'] === 1
... | js/data.js | 'use strict';
function click_button(clicked_button_id){
if(core_menu_open){
return;
}
core_audio_start({
'id': 'boop',
});
randomize_buttons(clicked_button_id);
}
function decisecond(){
time = (core_storage_data['game-mode'] === 1
&& core_storage_data['max'] > 0)
? ... | prevented timer from decreasing after game ends
| js/data.js | prevented timer from decreasing after game ends | <ide><path>s/data.js
<ide> }
<ide>
<ide> function decisecond(){
<add> if(!game_running){
<add> return;
<add> }
<add>
<ide> time = (core_storage_data['game-mode'] === 1
<ide> && core_storage_data['max'] > 0)
<ide> ? (Number.parseFloat(time) - .1).toFixed(1) | |
Java | apache-2.0 | 02adb28c09a6d5a05a3458689a4444394966e7fd | 0 | davebarnes97/geode,masaki-yamakawa/geode,smanvi-pivotal/geode,jdeppe-pivotal/geode,masaki-yamakawa/geode,davinash/geode,smanvi-pivotal/geode,masaki-yamakawa/geode,shankarh/geode,deepakddixit/incubator-geode,jdeppe-pivotal/geode,davinash/geode,deepakddixit/incubator-geode,PurelyApplied/geode,davebarnes97/geode,deepakddi... | /*
* 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 not ... | geode-core/src/test/java/org/apache/geode/internal/jta/ClientServerJTADUnitTest.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 not ... | GEODE-3178: Fix a flaky JTA test by adding retry.
| geode-core/src/test/java/org/apache/geode/internal/jta/ClientServerJTADUnitTest.java | GEODE-3178: Fix a flaky JTA test by adding retry. | <ide><path>eode-core/src/test/java/org/apache/geode/internal/jta/ClientServerJTADUnitTest.java
<ide> import org.apache.geode.internal.cache.TXManagerImpl;
<ide> import org.apache.geode.internal.cache.TXStateProxyImpl;
<ide> import org.apache.geode.internal.cache.tx.ClientTXStateStub;
<add>import org.apache.geode.intern... | |
Java | apache-2.0 | 8827f6a3b7eab347b24090545ce91517efcd1e72 | 0 | real-logic/Aeron,mikeb01/Aeron,oleksiyp/Aeron,real-logic/Aeron,mikeb01/Aeron,galderz/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,oleksiyp/Aeron,oleksiyp/Aeron,galderz/Aeron,EvilMcJerkface/Aeron,galderz/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,galderz/Aeron | /*
* Copyright 2014 - 2017 Real Logic Ltd.
* 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 agree... | aeron-archiver/src/main/java/io/aeron/archiver/ListRecordingsSession.java | /*
* Copyright 2014 - 2017 Real Logic Ltd.
* 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 agree... | [Java] Add TODO.
| aeron-archiver/src/main/java/io/aeron/archiver/ListRecordingsSession.java | [Java] Add TODO. | <ide><path>eron-archiver/src/main/java/io/aeron/archiver/ListRecordingsSession.java
<ide>
<ide> static
<ide> {
<add> // TODO: How will this cope on a Big Endian machine?
<add>
<ide> // create constant header values to avoid recalculation on each message sent
<ide> final MessageHeaderEnco... | |
JavaScript | mit | 283147f57588b5172497dfad9791d046e87a24d3 | 0 | mjec/rc-niceties,mjec/rc-niceties,mjec/rc-niceties | import React from 'react';
import $ from 'jquery';
import SaveButton from './SaveButton';
const AdminNicety = React.createClass({
getInitialState: function() {
return {
text: this.props.nicety.text,
noSave: true
};
},
saveNicety: function() {
const data = {... | src/components/AdminNicety.js | import React from 'react';
import $ from 'jquery';
import SaveButton from './SaveButton';
const AdminNicety = React.createClass({
getInitialState: function() {
return {
text: this.props.nicety.text,
noSave: true
};
},
saveNicety: function() {
const data = {... | Add explicit event argument to handler
The onChange handler for <AdminNicety> was missing its event argument,
and instead used the current event via the global event. This works, but
is fairly surprising behavior, and a future version[1] of react-scripts
will stop the build on encountering a no-restricted-globals[2] l... | src/components/AdminNicety.js | Add explicit event argument to handler | <ide><path>rc/components/AdminNicety.js
<ide> });
<ide> },
<ide>
<del> textareaChange: function() {
<add> textareaChange: function(event) {
<ide> this.setState({ text: event.target.value , noSave: false });
<ide> },
<ide> | |
JavaScript | apache-2.0 | a225f8ab2e6888ec30f5afd087b455b36066a68e | 0 | jmnarloch/falcor-router,jontewks/falcor-router,mitel/falcor-router,kristianmandrup/falcor-router,trxcllnt/falcor-router,osxi/falcor-router,drager/falcor-router,michaelbpaulson/falcor-router,Netflix/falcor-router | var convertPathToVirtual = require('./convertPathToVirtual');
function createNamedVariables(virtualPath, action) {
// TODO: do this
return function(matchedPath) {
var convertedPath = convertPathToVirtual(matchedPath, virtualPath);
return action.call(this, convertedPath);
};
}
module.exports ... | src/parse-tree/actionWrapper.js | var convertPathToVirtual = require('./convertPathToVirtual');
function createNamedVariables(virtualPath, action) {
// TODO: do this
return function(matchedPath) {
var convertedPath = convertPathToVirtual(matchedPath, virtualPath);
return action(convertedPath);
};
}
module.exports = createNam... | Ensure route handlers are bound to router instance
Reviewed by J Husain | src/parse-tree/actionWrapper.js | Ensure route handlers are bound to router instance | <ide><path>rc/parse-tree/actionWrapper.js
<ide> // TODO: do this
<ide> return function(matchedPath) {
<ide> var convertedPath = convertPathToVirtual(matchedPath, virtualPath);
<del> return action(convertedPath);
<add> return action.call(this, convertedPath);
<ide> };
<ide> }
<ide> modu... | |
Java | mit | 27bc9508aabf40054d69769736c97507d49df988 | 0 | bryanjswift/simplenote-android | package com.bryanjswift.simplenote.widget;
import android.app.Activity;
import android.app.ProgressDialog;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.TextView.OnEditorActionListener;
import andro... | src/com/bryanjswift/simplenote/widget/LoginActionListener.java | package com.bryanjswift.simplenote.widget;
import android.app.Activity;
import android.app.ProgressDialog;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.TextView.OnEditorActionListener;
import andro... | Separate validation logic from login logic
| src/com/bryanjswift/simplenote/widget/LoginActionListener.java | Separate validation logic from login logic | <ide><path>rc/com/bryanjswift/simplenote/widget/LoginActionListener.java
<ide> import com.bryanjswift.simplenote.net.SimpleNoteApi;
<ide> import com.bryanjswift.simplenote.thread.LoginTask;
<ide>
<add>/**
<add> * OnEditorActionListener and OnClickListener to handle logging in from SimpleNoteSplash screen
<add> * @auth... | |
Java | mit | 73958b06e46463172eb577802d2c16f5f11e2e21 | 0 | rubenlagus/TelegramBots | package org.telegram.telegrambots.bots;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.conn.ssl.NoopHostnameVerifier;
import org.apache.http.entity.BufferedHttpEntity;
import org.apache.http.entity.C... | telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramWebhookBot.java | package org.telegram.telegrambots.bots;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.conn.ssl.NoopHostnameVerifier;
import org.apache.http.entity.BufferedHttpEntity;
import org.apache.http.entity.C... | Fix bug when setting webhook
| telegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramWebhookBot.java | Fix bug when setting webhook | <ide><path>elegrambots/src/main/java/org/telegram/telegrambots/bots/TelegramWebhookBot.java
<ide> @Override
<ide> public void setWebhook(String url, String publicCertificatePath) throws TelegramApiRequestException {
<ide> try (CloseableHttpClient httpclient = HttpClientBuilder.create().setSSLHostnameVer... | |
Java | lgpl-2.1 | 2cef685add12b6cfcb52220fa7634b104b2406e2 | 0 | CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine | /*
* jETeL/Clover - Java based ETL application framework.
* Copyright (C) 2002-05 David Pavlis <david_pavlis@hotmail.com>
*
* 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 Foundat... | cloveretl.engine/src/org/jetel/data/tape/DataRecordTape.java | /*
* jETeL/Clover - Java based ETL application framework.
* Copyright (C) 2002-05 David Pavlis <david_pavlis@hotmail.com>
*
* 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 Foundat... | FIX: fix in DataRecordTape.
git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@4771 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
| cloveretl.engine/src/org/jetel/data/tape/DataRecordTape.java | FIX: fix in DataRecordTape. | <ide><path>loveretl.engine/src/org/jetel/data/tape/DataRecordTape.java
<ide> // check that internal buffer has enough data to read data size
<ide> if (LEN_SIZE_SPECIFIER > sourceDataBuffer.remaining()){
<ide> sourceChunk.reloadBuffer();
<del> if(LEN_SIZE_SPECIFIER... | |
JavaScript | apache-2.0 | 24474cfa8f78681b6bfff38164caedf846239c29 | 0 | SpiderOak/so_client_html5,SpiderOak/so_client_html5 | /* SpiderOak html5 client Main app.
* Works with:
* - jquery.mobile-1.0.1.css
* - jquery-1.6.4.js
* - jquery.mobile-1.0.1.js
* - js_aux/misc.js - blather(), fragment_quote(), error_alert(), ...
* - Nibbler 2010-04-07 - base32 encode, decode, and enhance with encode_trim.
* - custom-scripting.js - jqm settings a... | SpiderOak.js | /* SpiderOak html5 client Main app.
* Works with:
* - jquery.mobile-1.0.1.css
* - jquery-1.6.4.js
* - jquery.mobile-1.0.1.js
* - js_aux/misc.js - blather(), fragment_quote(), error_alert(), ...
* - Nibbler 2010-04-07 - base32 encode, decode, and enhance with encode_trim.
* - custom-scripting.js - jqm settings a... | "defaults.*" => "generic.*"
Generic better describes the settings that obtain regardless of login
accounts, versus "my.*" login-specific settings.
| SpiderOak.js | "defaults.*" => "generic.*" | <ide><path>piderOak.js
<ide>
<ide> /* ==== Object-wide settings ===== */
<ide>
<del> var defaults = {
<add> var generic = {
<ide> /* Settings not specific to a particular login session: */
<ide> // API v1.
<ide> // XXX base_host_url may vary according to brand package.
<ide> ... | |
JavaScript | mit | 71fdf09630adcf4b56c8781052d9c9fbe8b36291 | 0 | usgoodus/react,psibi/react,ThinkedCoder/react,kamilio/react,maxschmeling/react,prometheansacrifice/react,linqingyicen/react,ianb/react,ericyang321/react,yangshun/react,KevinTCoughlin/react,gitoneman/react,ning-github/react,hawsome/react,wuguanghai45/react,richiethomas/react,supriyantomaftuh/react,silvestrijonathan/reac... | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ... | src/browser/ui/dom/HTMLDOMPropertyConfig.js | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ... | Revert "Add webkitdirectory and nwdirectory attributes for input file"
| src/browser/ui/dom/HTMLDOMPropertyConfig.js | Revert "Add webkitdirectory and nwdirectory attributes for input file" | <ide><path>rc/browser/ui/dom/HTMLDOMPropertyConfig.js
<ide> // property is supported for OpenGraph in meta tags.
<ide> property: null,
<ide> // IE-only attribute that controls focus behavior
<del> unselectable: MUST_USE_ATTRIBUTE,
<del> webkitdirectory: null,
<del> nwdirectory: null
<add> unsele... | |
Java | mit | ca241aeb22a602a2badad941d475049d6ba6414f | 0 | vicklagad/elevator-java | package kuali.poc;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.List;
import java.util.TreeSet;
/** The main elevator class **/
public class Elevator {
//any change in relevant properties of this elevator should
//trigger an event o... | src/main/java/kuali/poc/Elevator.java | package kuali.poc;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
/** The main elevator class **/
public class Elevator {
//any change in relevant properties of this elevator should... | Restarting work..
| src/main/java/kuali/poc/Elevator.java | Restarting work.. | <ide><path>rc/main/java/kuali/poc/Elevator.java
<ide> import java.beans.PropertyChangeListener;
<ide> import java.util.ArrayList;
<ide> import java.util.List;
<del>import java.util.Set;
<ide> import java.util.TreeSet;
<ide>
<ide> /** The main elevator class **/ | |
Java | apache-2.0 | b472de108dd4bde57a511bdb170dc19c84f056c5 | 0 | mbezjak/vhdllab,mbezjak/vhdllab,mbezjak/vhdllab | /*******************************************************************************
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | vhdllab-client/src/main/java/hr/fer/zemris/vhdllab/applets/simulations/Scale.java | /*******************************************************************************
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | Complete - # 39: beskonacna petlja pri pokusaju simuliranja
http://morgoth.zemris.fer.hr/trac/vhdllab/ticket/39
git-svn-id: d95c8f1468e72ac88b0e8aadd926028cc15263fe@1302 cbae1e92-611c-0410-ab7b-b19ac7dee622
| vhdllab-client/src/main/java/hr/fer/zemris/vhdllab/applets/simulations/Scale.java | Complete - # 39: beskonacna petlja pri pokusaju simuliranja http://morgoth.zemris.fer.hr/trac/vhdllab/ticket/39 | <ide><path>hdllab-client/src/main/java/hr/fer/zemris/vhdllab/applets/simulations/Scale.java
<ide> double operand2 = transitionPoints[i];
<ide> durationsInFemtoSeconds[i] = operand1 - operand2;
<ide> }
<add>
<add> // fix for http://morgoth.zemris.fer.hr/trac/vhdllab/ticket/39
<add> if (Arrays... | |
Java | apache-2.0 | 821c8e1aced91b2b532a90433f8672be853dd84d | 0 | pdxrunner/geode,PurelyApplied/geode,davebarnes97/geode,jdeppe-pivotal/geode,jdeppe-pivotal/geode,davinash/geode,PurelyApplied/geode,PurelyApplied/geode,davinash/geode,pdxrunner/geode,masaki-yamakawa/geode,pdxrunner/geode,masaki-yamakawa/geode,smgoller/geode,jdeppe-pivotal/geode,pdxrunner/geode,deepakddixit/incubator-ge... | /*
* 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 not ... | geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/CustomSSLProviderDistributedTest.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 not ... | GEODE-5212: Also use the host's canonical (fully qualified) name as a SAN in the certificate (#2536)
| geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/CustomSSLProviderDistributedTest.java | GEODE-5212: Also use the host's canonical (fully qualified) name as a SAN in the certificate (#2536) | <ide><path>eode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/CustomSSLProviderDistributedTest.java
<ide> // ClusterStartupRule uses 'localhost' as locator host
<ide> .sanDnsName(InetAddress.getLoopbackAddress().getHostName())
<ide> .sanDnsName(InetAddress.getLocalHost().g... | |
Java | mit | ca38a4b13bc424b9430f3ad812c7c9d57eb6b0a9 | 0 | TooTallNate/Java-WebSocket,marci4/Java-WebSocket-Dev,marci4/Java-WebSocket-Dev,TooTallNate/Java-WebSocket | /*
* Copyright (c) 2010-2020 Nathan Rajlich
*
* 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,
* copy, modify... | src/main/java/org/java_websocket/server/WebSocketServer.java | /*
* Copyright (c) 2010-2020 Nathan Rajlich
*
* 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,
* copy, modify... | Add "since 1.5.0" tag to new methods | src/main/java/org/java_websocket/server/WebSocketServer.java | Add "since 1.5.0" tag to new methods | <ide><path>rc/main/java/org/java_websocket/server/WebSocketServer.java
<ide> /**
<ide> * Attribute which allows you to configure the socket "backlog" parameter
<ide> * which determines how many client connections can be queued.
<add> * @since 1.5.0
<ide> */
<ide> private int maxPendingConnections = -1;
<ide>
... | |
Java | mit | 27711d707d7183b58a9c69f7170b34b2b1868619 | 0 | bpow/varitas,bpow/varitas,bpow/varitas | /* The MIT License
Copyright (c) 2010 Broad Institute.
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, copy, mo... | src/org/drpowell/grandannotator/TabixReader.java | /* The MIT License
Copyright (c) 2010 Broad Institute.
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, copy, mo... | catch NumberFormatException (for dbNSFP, which gives "NA" for some hg19 coordinates
| src/org/drpowell/grandannotator/TabixReader.java | catch NumberFormatException (for dbNSFP, which gives "NA" for some hg19 coordinates | <ide><path>rc/org/drpowell/grandannotator/TabixReader.java
<ide> if (s.length() == 0 || s.startsWith(meta)) continue;
<ide> String [] row = s.split("\t");
<ide> TIntv intv;
<del> intv = getIntv(row);
<add> try {
<add> intv = getIntv(row);
<add> } catch (NumberFormatException nfe) {
<add>... | |
Java | apache-2.0 | f668dbe17064c0d177413ce01655b4233fefe739 | 0 | cpollet/itinerants,cpollet/itinerants,cpollet/itinerants,cpollet/itinerants,cpollet/itinerants | package net.cpollet.itinerants.web.rest.resource;
import lombok.extern.slf4j.Slf4j;
import net.cpollet.itinerants.core.domain.Person;
import net.cpollet.itinerants.core.service.PersonService;
import net.cpollet.itinerants.web.authentication.AuthenticationPrincipal;
import net.cpollet.itinerants.web.authentication.Toke... | webservice/web/src/main/java/net/cpollet/itinerants/web/rest/resource/SessionController.java | package net.cpollet.itinerants.web.rest.resource;
import lombok.extern.slf4j.Slf4j;
import net.cpollet.itinerants.core.domain.Person;
import net.cpollet.itinerants.core.service.PersonService;
import net.cpollet.itinerants.web.authentication.AuthenticationPrincipal;
import net.cpollet.itinerants.web.authentication.Toke... | Better logging
| webservice/web/src/main/java/net/cpollet/itinerants/web/rest/resource/SessionController.java | Better logging | <ide><path>ebservice/web/src/main/java/net/cpollet/itinerants/web/rest/resource/SessionController.java
<ide>
<ide> @PutMapping(value = "")
<ide> public ResponseEntity<LoginResponse> create(@RequestBody LoginPayload credentials) {
<del> log.info("Creating session for {}", credentials.getUsername());
<add... | |
Java | apache-2.0 | f89ac63104ac0b8e8dfbfffb65e4fef6f74af593 | 0 | jinahya/simple-file-front | /*
* Copyright 2014 Jin Kwon.
*
* 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 i... | src/main/java/com/github/jinahya/simple/file/front/LocatorsResource.java | /*
* Copyright 2014 Jin Kwon.
*
* 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 i... | updated
| src/main/java/com/github/jinahya/simple/file/front/LocatorsResource.java | updated | <ide><path>rc/main/java/com/github/jinahya/simple/file/front/LocatorsResource.java
<ide> *
<ide> * @author Jin Kwon <jinahya_at_gmail.com>
<ide> */
<del>@Path("/locators")
<add>@Path("locators")
<ide> public class LocatorsResource {
<ide>
<ide>
<ide> */
<ide> @Produces(MediaType.WILDCARD)
<ide> ... | |
Java | apache-2.0 | dcbf002757aa7cf8d526776353a150d1d165649a | 0 | monetate/closure-compiler,google/closure-compiler,ChadKillingsworth/closure-compiler,monetate/closure-compiler,nawawi/closure-compiler,nawawi/closure-compiler,monetate/closure-compiler,google/closure-compiler,ChadKillingsworth/closure-compiler,ChadKillingsworth/closure-compiler,google/closure-compiler,google/closure-co... | /*
* Copyright 2008 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... | test/com/google/javascript/jscomp/CompilerTypeTestCase.java | /*
* Copyright 2008 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... | Internal change
PiperOrigin-RevId: 379486155
| test/com/google/javascript/jscomp/CompilerTypeTestCase.java | Internal change | <ide><path>est/com/google/javascript/jscomp/CompilerTypeTestCase.java
<ide>
<ide> import com.google.common.base.Joiner;
<ide> import com.google.common.collect.ImmutableList;
<add>import com.google.javascript.jscomp.CompilerOptions.LanguageMode;
<ide> import com.google.javascript.jscomp.parsing.parser.FeatureSet.Featur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.