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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | mit | 3497540f288793af07367064fc6fea141c1a1ae0 | 0 | nodeca/pica,nodeca/pica,nodeca/pica | // Algorythm should not change. Use fixtures to check.
//
'use strict';
const fs = require('fs');
const path = require('path');
const pica = require('../');
const pixelmatch = require('pixelmatch');
const ppm = require('./ppm');
const FIXTURES_DIRECTORY = path.join(__dirname, 'fixtures');
... | test/fixture_resize.js | // Algorythm should not change. Use fixtures to check.
//
'use strict';
const Canvas = require('canvas');
const Image = Canvas.Image;
const fs = require('fs');
const path = require('path');
const pica = require('../');
const pixelmatch = require('pixelmatch');
const ppm = require('... | Make node_canvas use more local
| test/fixture_resize.js | Make node_canvas use more local | <ide><path>est/fixture_resize.js
<ide> //
<ide> 'use strict';
<ide>
<del>const Canvas = require('canvas');
<del>const Image = Canvas.Image;
<ide> const fs = require('fs');
<ide> const path = require('path');
<ide> const pica = require('../');
<ide> const FIXTURES_DIRECTORY = path.join(__di... | |
JavaScript | apache-2.0 | d2f3f2488a82811a50fa4f118772bf2be5697fa8 | 0 | bslatkin/8-bits,bslatkin/8-bits,bslatkin/8-bits,bslatkin/8-bits | // Copyright 2012 Brett Slatkin
//
// 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... | frontend/js/bits/util.js | // Copyright 2012 Brett Slatkin
//
// 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... | fixed issue in replacement
| frontend/js/bits/util.js | fixed issue in replacement | <ide><path>rontend/js/bits/util.js
<ide> * @return {string} The rewritten string.
<ide> */
<ide> bits.util.rewriteLink = function(text, sub) {
<add> if (!text) {
<add> return text;
<add> }
<ide> // TODO: Support obvious links that start with www or have 'w.xyz/' in them.
<ide> return text.replace(bits.util.L... | |
JavaScript | agpl-3.0 | 70e757bf60c3bc5a758de07efe9b4cd958fa61e4 | 0 | tocco/tocco-client,tocco/tocco-client,tocco/tocco-client | import {put, call} from 'redux-saga/effects'
import {download, validation} from 'tocco-util'
import {v4 as uuid} from 'uuid'
import errorLogging from '../../../errorLogging'
import rest from '../../../rest'
import notification from '../../../notification'
export default function* (definition, selection, parent, param... | packages/app-extensions/src/actions/modules/actionHandlers/simpleAction.js | import {put, call} from 'redux-saga/effects'
import {download, validation} from 'tocco-util'
import {v4 as uuid} from 'uuid'
import errorLogging from '../../../errorLogging'
import rest from '../../../rest'
import notification from '../../../notification'
export default function* (definition, selection, parent, param... | fix(app-extensions): fix invokeActionAsync
send params similarly as in the sync case
Refs: TOCDEV-3418
| packages/app-extensions/src/actions/modules/actionHandlers/simpleAction.js | fix(app-extensions): fix invokeActionAsync | <ide><path>ackages/app-extensions/src/actions/modules/actionHandlers/simpleAction.js
<ide> selection,
<ide> parent,
<ide> params: {
<del> background: true,
<del> ...params
<add> background: true
<ide> },
<add> ...params,
<ide> formProperties: definition.properties... | |
Java | apache-2.0 | 79a9c43fceeea1ccb398c06c5834bc782876fbe5 | 0 | mccraigmccraig/opennlp,mccraigmccraig/opennlp | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreemnets. 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... | src/java/opennlp/tools/chunker/ChunkerModel.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreemnets. 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... | Chunker now uses BaseModel
| src/java/opennlp/tools/chunker/ChunkerModel.java | Chunker now uses BaseModel | <ide><path>rc/java/opennlp/tools/chunker/ChunkerModel.java
<ide>
<ide> package opennlp.tools.chunker;
<ide>
<del>import java.io.DataInputStream;
<del>import java.io.IOException;
<del>import java.io.InputStream;
<del>import java.io.OutputStream;
<del>import java.util.zip.ZipEntry;
<del>import java.util.zip.ZipInputStr... | |
Java | apache-2.0 | error: pathspec 'sli/api/src/main/java/org/slc/sli/api/security/context/resolver/TeacherToStudentSchoolAssociation.java' did not match any file(s) known to git
| d978312b8b45a59ec9fc3f57198cb22f5133172a | 1 | inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service | package org.slc.sli.api.security.context.resolver;
import java.util.Arrays;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.slc.sli.api.security.context.AssociativeContextHelper;
import org.slc.sli.common.const... | sli/api/src/main/java/org/slc/sli/api/security/context/resolver/TeacherToStudentSchoolAssociation.java | Added Teacher StudentSchoolAssoc resolver
| sli/api/src/main/java/org/slc/sli/api/security/context/resolver/TeacherToStudentSchoolAssociation.java | Added Teacher StudentSchoolAssoc resolver | <ide><path>li/api/src/main/java/org/slc/sli/api/security/context/resolver/TeacherToStudentSchoolAssociation.java
<add>package org.slc.sli.api.security.context.resolver;
<add>
<add>import java.util.Arrays;
<add>import java.util.List;
<add>
<add>import org.springframework.beans.factory.annotation.Autowired;
<add>import o... | |
Java | apache-2.0 | 7c0b72432ad6777b91099bfd0ba45a5561131e67 | 0 | Routelandia/routelandia-android,Routelandia/routelandia-android | /*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | routelandia/src/main/java/edu/pdx/its/portal/routelandia/DatePickUp.java | /*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | make sure we have data before move to liststats activities
| routelandia/src/main/java/edu/pdx/its/portal/routelandia/DatePickUp.java | make sure we have data before move to liststats activities | <ide><path>outelandia/src/main/java/edu/pdx/its/portal/routelandia/DatePickUp.java
<ide> protected String departureTime;
<ide> protected ArrayList<TrafficStat> trafficStatList;
<ide> private int TIME_PICKER_INTERVAL = 15;
<add>
<add> /**
<add> * Perform initialization of all fragments and loaders.
<a... | |
Java | apache-2.0 | 340f542c466bcc484b217537af55f293dc0da84f | 0 | opendatakit/androidcommon | androidcommon.test/src/org/opendatakit/common/android/utilities/UrlUtilsTest.java | package org.opendatakit.common.android.utilities;
import android.test.AndroidTestCase;
public class UrlUtilsTest extends AndroidTestCase {
public void testNoHashOrParameters() {
String fileName = "this/test/file/path/.html";
this.assertRetrieveFileNameHelper(fileName, fileName);
}
public void test... | Fix merge mistake
| androidcommon.test/src/org/opendatakit/common/android/utilities/UrlUtilsTest.java | Fix merge mistake | <ide><path>ndroidcommon.test/src/org/opendatakit/common/android/utilities/UrlUtilsTest.java
<del>package org.opendatakit.common.android.utilities;
<del>
<del>import android.test.AndroidTestCase;
<del>
<del>public class UrlUtilsTest extends AndroidTestCase {
<del>
<del> public void testNoHashOrParameters() {
<del> ... | ||
Java | lgpl-2.1 | 6b2c9cde140cb57154aefd6a3a74a11b3e855478 | 0 | threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya | //
// $Id: Invoker.java,v 1.12 2003/10/08 04:10:29 mdb Exp $
package com.threerings.presents.util;
import java.util.HashMap;
import java.util.Iterator;
import com.samskivert.util.Histogram;
import com.samskivert.util.LoopingThread;
import com.samskivert.util.Queue;
import com.samskivert.util.StringUtil;
import com.... | src/java/com/threerings/presents/util/Invoker.java | //
// $Id: Invoker.java,v 1.11 2003/09/24 17:10:49 mdb Exp $
package com.threerings.presents.util;
import java.util.HashMap;
import java.util.Iterator;
import com.samskivert.util.Histogram;
import com.samskivert.util.LoopingThread;
import com.samskivert.util.Queue;
import com.samskivert.util.StringUtil;
import com.... | Report the toString() output on long runners.
git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@2822 542714f4-19e9-0310-aa3c-eee0fc999fb1
| src/java/com/threerings/presents/util/Invoker.java | Report the toString() output on long runners. | <ide><path>rc/java/com/threerings/presents/util/Invoker.java
<ide> //
<del>// $Id: Invoker.java,v 1.11 2003/09/24 17:10:49 mdb Exp $
<add>// $Id: Invoker.java,v 1.12 2003/10/08 04:10:29 mdb Exp $
<ide>
<ide> package com.threerings.presents.util;
<ide>
<ide>
<ide> // report long runners
<ide> ... | |
Java | apache-2.0 | 89fcc56ef1ce4395c87a8f8ec2f5a6ac99738884 | 0 | KDanila/KDanila | package ru.job4j.tracker;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
/**
* Tracker класс.
*
* @author Kuzmin Danila (mailto:bus1d0@mail.ru)
* @version $Id$
* @since 0.1
*/
public class Tracker {
//todo reading from file;
... | chapter_006/src/main/java/ru/job4j/tracker/Tracker.java | package ru.job4j.tracker;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
/**
* Tracker класс.
*
* @author Kuzmin Danila (mailto:bus1d0@mail.ru)
* @version $Id$
* @since 0.1
*/
public class Tracker {
//todo reading from file;
... | SQL Tracker v 1.1
| chapter_006/src/main/java/ru/job4j/tracker/Tracker.java | SQL Tracker v 1.1 | <ide><path>hapter_006/src/main/java/ru/job4j/tracker/Tracker.java
<ide> * Creating table in database, if it's doesn't exist.
<ide> */
<ide> private void createTableInDB() {
<del> try {
<del> conn = DriverManager.getConnection(url, username, password);
<del> } catch (SQLException e... | |
JavaScript | apache-2.0 | 8240b17a67c1bd7f2d0b7d9d89f1fee9fe1aae89 | 0 | ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic | import React from 'react';
import PropTypes from 'prop-types';
import { Grid, Row, Col } from 'patternfly-react';
import TagModifier from '../InnerComponents/TagModifier';
import TagView from '../InnerComponents/TagView';
import CategoryModifier from '../InnerComponents/CategoryModifier';
import ValueModifier from '../... | app/javascript/tagging/components/Tagging/Tagging.js | import React from 'react';
import PropTypes from 'prop-types';
import { Grid, Row, Col } from 'patternfly-react';
import TagModifier from '../InnerComponents/TagModifier';
import TagView from '../InnerComponents/TagView';
import CategoryModifier from '../InnerComponents/CategoryModifier';
import ValueModifier from '../... | Changed return to else if
| app/javascript/tagging/components/Tagging/Tagging.js | Changed return to else if | <ide><path>pp/javascript/tagging/components/Tagging/Tagging.js
<ide> tagValue: selectedTagValue,
<ide> };
<ide>
<del> // Single Tag Only
<ide> if (this.props.options && this.props.options.onlySingleTag) {
<ide> this.props.onSingleTagValueChange(action);
<del> return;
<del> }
<del>
<del> ... | |
Java | mit | 600abdf7e445c3a9a97510a9596b6adeddd5b611 | 0 | budowski/iNaturalistAndroid,inaturalist/iNaturalistAndroid,inaturalist/iNaturalistAndroid,inaturalist/iNaturalistAndroid,inaturalist/iNaturalistAndroid | // BEGIN GENERATED BY /Users/kueda/projects/eclipse/workspace/iNaturalist/rails2android.rb AT Mon Jan 09 13:07:06 -0500 2012
package org.inaturalist.android;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.apache.http.NameV... | iNaturalist/src/main/java/org/inaturalist/android/Observation.java | // BEGIN GENERATED BY /Users/kueda/projects/eclipse/workspace/iNaturalist/rails2android.rb AT Mon Jan 09 13:07:06 -0500 2012
package org.inaturalist.android;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.apache.http.NameV... | Fix #202
| iNaturalist/src/main/java/org/inaturalist/android/Observation.java | Fix #202 | <ide><path>Naturalist/src/main/java/org/inaturalist/android/Observation.java
<ide> this.geoprivacy = observation.geoprivacy;
<ide> this.iconic_taxon_id = observation.iconic_taxon_id;
<ide> this.iconic_taxon_name = observation.iconic_taxon_name;
<add> if (observation.prefer... | |
Java | apache-2.0 | 19a2d2dc5d850da8b1f3f634b2a9e2c9ae46dd81 | 0 | andrey-kuznetsov/ignite,andrey-kuznetsov/ignite,vldpyatkov/ignite,louishust/incubator-ignite,leveyj/ignite,akuznetsov-gridgain/ignite,amirakhmedov/ignite,daradurvs/ignite,shroman/ignite,ryanzz/ignite,tkpanther/ignite,irudyak/ignite,StalkXT/ignite,NSAmelchev/ignite,f7753/ignite,endian675/ignite,ilantukh/ignite,kromulan/... | /* @java.file.header */
/* _________ _____ __________________ _____
* __ ____/___________(_)______ /__ ____/______ ____(_)_______
* _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \
* / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / /
* \____/ /_/ /_/ \_,__/... | modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheSwapManager.java | /* @java.file.header */
/* _________ _____ __________________ _____
* __ ____/___________(_)______ /__ ____/______ ____(_)_______
* _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \
* / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / /
* \____/ /_/ /_/ \_,__/... | # GG-8089
| modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheSwapManager.java | # GG-8089 | <ide><path>odules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheSwapManager.java
<ide>
<ide> it = swapIterator(part);
<ide>
<del> if (it == null || !it.hasNext()) {
<add> if (!it.hasNext()) {
<ide> it.close();
<i... | |
Java | apache-2.0 | a2fd04fd85fbdc6855bc91a2a0bc6ad8f10d747a | 0 | xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,ThiagoGarciaAlves/intellij-community,mglukhikh/intellij-community,mglukhikh/intellij-community,allotria/intellij-community,mglukhikh/intellij-community,mglukhikh/intellij-community,ThiagoGarciaAlves/intellij-community,mglukhikh/intellij-community,xfournet... | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | xml/impl/src/com/intellij/lang/html/HtmlQuotesFormatPreprocessor.java | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Use settings from HTML language
| xml/impl/src/com/intellij/lang/html/HtmlQuotesFormatPreprocessor.java | Use settings from HTML language | <ide><path>ml/impl/src/com/intellij/lang/html/HtmlQuotesFormatPreprocessor.java
<ide> HtmlCodeStyleSettings htmlSettings = rootSettings.getCustomSettings(HtmlCodeStyleSettings.class);
<ide> CodeStyleSettings.QuoteStyle quoteStyle = htmlSettings.HTML_QUOTE_STYLE;
<ide> if (quoteStyle != CodeStyleSettin... | |
Java | mit | 2dec420e592d4f3bef9dacff43e31c0dfbb3d43f | 0 | copygirl/WearableBackpacks | package net.mcft.copy.backpacks.misc.util;
import java.lang.reflect.Method;
import java.util.Arrays;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.Loader;
import net.mcft.copy.backpacks.WearableBackpacks;
public final class IntermodUtils {
private IntermodUtils() { }
private stati... | src/main/java/net/mcft/copy/backpacks/misc/util/IntermodUtils.java | package net.mcft.copy.backpacks.misc.util;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import net.mcft.copy.backpacks.WearableBackpacks;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.Loader;
public final class IntermodUtils {
private IntermodUti... | Fix Quark colored runes support
I blame @lumien231 (Vazkii/Quark#738) :D
| src/main/java/net/mcft/copy/backpacks/misc/util/IntermodUtils.java | Fix Quark colored runes support | <ide><path>rc/main/java/net/mcft/copy/backpacks/misc/util/IntermodUtils.java
<ide> package net.mcft.copy.backpacks.misc.util;
<ide>
<del>import java.lang.reflect.InvocationTargetException;
<ide> import java.lang.reflect.Method;
<add>import java.util.Arrays;
<add>
<add>import net.minecraft.item.ItemStack;
<add>import n... | |
Java | unlicense | 48aa1165184249dcb830a1f6d119d8759f242567 | 0 | charlesmadere/that-lil-hummingbird | package com.charlesmadere.hummingbird.models;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
public class AppNewsStatus implements Parcelable {
@SerializedName("importantNewsAvailable")
private boolean mImportantNewsAvailable;
@SerializedName(... | project/app/src/main/java/com/charlesmadere/hummingbird/models/AppNewsStatus.java | package com.charlesmadere.hummingbird.models;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
public class AppNewsStatus implements Parcelable {
@SerializedName("importantNewsAvailable")
private boolean mImportantNewsAvailable;
@SerializedName(... | tiny rework of AppNewsStatus class
| project/app/src/main/java/com/charlesmadere/hummingbird/models/AppNewsStatus.java | tiny rework of AppNewsStatus class | <ide><path>roject/app/src/main/java/com/charlesmadere/hummingbird/models/AppNewsStatus.java
<ide> @SerializedName("pollTime")
<ide> private long mPollTime;
<ide>
<del>
<del> public AppNewsStatus(final boolean importantNewsAvailable) {
<del> mImportantNewsAvailable = importantNewsAvailable;
<del> }... | |
Java | apache-2.0 | ba55fda898230b51df93c5a15f34706fc0a47ae0 | 0 | asedunov/intellij-community,xfournet/intellij-community,mglukhikh/intellij-community,signed/intellij-community,da1z/intellij-community,allotria/intellij-community,da1z/intellij-community,semonte/intellij-community,mglukhikh/intellij-community,apixandru/intellij-community,apixandru/intellij-community,xfournet/intellij-c... | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/testFramework/src/com/intellij/testFramework/CpuUsageData.java | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | performance tests: print free/total memory and get thread names eagerly
| platform/testFramework/src/com/intellij/testFramework/CpuUsageData.java | performance tests: print free/total memory and get thread names eagerly | <ide><path>latform/testFramework/src/com/intellij/testFramework/CpuUsageData.java
<ide> private static final List<GarbageCollectorMXBean> ourGcBeans = ManagementFactory.getGarbageCollectorMXBeans();
<ide>
<ide> final long durationMs;
<del> private final TObjectLongHashMap<GarbageCollectorMXBean> myGcTimes;
<del> ... | |
Java | mit | 28f5e36034c968973c3a2628374d0b60814c1244 | 0 | eldering/autoanalyst,eldering/autoanalyst,eldering/autoanalyst,eldering/autoanalyst,eldering/autoanalyst,eldering/autoanalyst,eldering/autoanalyst | package model;
public class Problem {
final String id;
final String abbreviation;
final String name;
public Problem(int id, String name) {
this.id = String.format("%d", id);
this.abbreviation = ""+Character.toChars(64+id)[0];
this.name = name.trim();
}
@Override
public String toString() {
return Str... | katalyze/src/model/Problem.java | package model;
public class Problem {
final String id;
final String abbreviation;
final String name;
public Problem(int id, String name) {
this.id = String.format("%d", id);
this.abbreviation = ""+Character.toChars(64+id)[0];
this.name = name;
}
@Override
public String toString() {
return String.for... | Added trimming of problem names
| katalyze/src/model/Problem.java | Added trimming of problem names | <ide><path>atalyze/src/model/Problem.java
<ide> public Problem(int id, String name) {
<ide> this.id = String.format("%d", id);
<ide> this.abbreviation = ""+Character.toChars(64+id)[0];
<del> this.name = name;
<add> this.name = name.trim();
<ide> }
<ide>
<ide> @Override | |
JavaScript | mit | 0b00aecad7b0596d2a0d558893719b4eb86c13b8 | 0 | frnsys/generator-bane,ftzeng/generator-bane | 'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');
var BaneGenerator = module.exports = function BaneGenerator(args, options, config) {
yeoman.generators.Base.apply(this, arguments);
this.on('end', function () {
this.installDependencies({ skipInsta... | app/index.js | 'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');
var BaneGenerator = module.exports = function BaneGenerator(args, options, config) {
yeoman.generators.Base.apply(this, arguments);
this.on('end', function () {
this.installDependencies({ skipInsta... | bringing in some h5bp files
| app/index.js | bringing in some h5bp files | <ide><path>pp/index.js
<ide> this.copy('Gruntfile.js', 'Gruntfile.js');
<ide> };
<ide>
<add>BaneGenerator.prototype.h5bp = function h5bp() {
<add> var cb = this.async();
<add>
<add> this.remote('h5bp', 'html5-boilerplate', function(err, remote) {
<add> if (err) {
<add> return cb(err);
<add> }
<a... | |
JavaScript | agpl-3.0 | 7641c01638040737c0215f8bba99f0d4e62e8db4 | 0 | ggasoftware/ketcher,ggasoftware/ketcher,ggasoftware/ketcher,ggasoftware/ketcher,ggasoftware/ketcher,ggasoftware/ketcher | /****************************************************************************
* Copyright (C) 2009-2011 GGA Software Services LLC
*
* This file may be distributed and/or modified under the terms of the
* GNU Affero General Public License version 3 as published by the Free
* Software Foundation and appearing in the... | ui/actions.js | /****************************************************************************
* Copyright (C) 2009-2011 GGA Software Services LLC
*
* This file may be distributed and/or modified under the terms of the
* GNU Affero General Public License version 3 as published by the Free
* Software Foundation and appearing in the... | OpSGroupAtomAdd/Remove
| ui/actions.js | OpSGroupAtomAdd/Remove | <ide><path>i/actions.js
<ide> };
<ide> ui.Action.OpAtomAttr.prototype = new ui.Action.OpBase();
<ide>
<add>ui.Action.OpSGroupAtomAdd = function(sgid, aid) {
<add> this.data = { 'aid' : aid, 'sgid' : sgid };
<add> this._execute = function(editor) {
<add> var R = editor.render, RS = R.ctab, DS = RS.molecule... | |
Java | apache-2.0 | 936e488ef9dab945e68404c11051b884566a83a2 | 0 | dracusds123/carbon-multitenancy,damithsenanayake/carbon-multitenancy,cdwijayarathna/carbon-multitenancy,madusankapremaratne/carbon-multitenancy,chanakaudaya/carbon-multitenancy,callkalpa/carbon-multitenancy,dracusds123/carbon-multitenancy,jsdjayanga/carbon-multitenancy,thusithathilina/carbon-multitenancy,madusankaprema... | /*
* Copyright (c) 2008, 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
*
* Un... | components/tenant-mgt/org.wso2.carbon.tenant.mgt/src/main/java/org/wso2/carbon/tenant/mgt/util/TenantMgtUtil.java | /*
* Copyright (c) 2008, 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
*
* Un... | corrected some formatting
| components/tenant-mgt/org.wso2.carbon.tenant.mgt/src/main/java/org/wso2/carbon/tenant/mgt/util/TenantMgtUtil.java | corrected some formatting | <ide><path>omponents/tenant-mgt/org.wso2.carbon.tenant.mgt/src/main/java/org/wso2/carbon/tenant/mgt/util/TenantMgtUtil.java
<ide> */
<ide> public static void deleteProductSpecificTenantData(String dataSourceName, String tableName, int tenantId) {
<ide> try {
<del> TenantDataDeletionUtil.dele... | |
Java | apache-2.0 | 92200a5f1feff2bea850a750b189b6b15b96c2fa | 0 | gzsombor/ranger,gzsombor/ranger,gzsombor/ranger,gzsombor/ranger,gzsombor/ranger,gzsombor/ranger | /*
* 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 ... | embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.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 ... | RANGER-1287:Remove code duplication from EmbeddedServer start method
Signed-off-by: Colm O hEigeartaigh <ede4ca5e50d4df7174dc1f4dc7739381eda9ba70@apache.org>
| embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java | RANGER-1287:Remove code duplication from EmbeddedServer start method | <ide><path>mbeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java
<ide> valve.setEnabled(true);
<ide> valve.setFileDateFormat(getConfig("ranger.accesslog.dateformat", "yyyy-MM-dd.HH"));
<ide> valve.setDirectory(logDirectory.getAbsolutePath());
<del> valve.setRotatable(true);
<ide> v... | |
Java | mit | b0abf9fc11971868f5d590b987348b1804d9111e | 0 | MilanNz/Radix,mstojcevich/Radix | package sx.lambda.voxel.client.gui.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.GlyphLayout;
import com.... | core/src/sx/lambda/voxel/client/gui/screens/MainMenu.java | package sx.lambda.voxel.client.gui.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.GlyphLayout;
import com.... | Remove lambda multiplayer button
| core/src/sx/lambda/voxel/client/gui/screens/MainMenu.java | Remove lambda multiplayer button | <ide><path>ore/src/sx/lambda/voxel/client/gui/screens/MainMenu.java
<ide> public MainMenu() {
<ide> buttons = new MainMenuButton[] {
<ide> new MainMenuButton("Multiplayer (Local)", this::enterMPLocal, TARGET_BUTTON_SIZE),
<del> new MainMenuButton("Multiplayer (Lambda)", this::... | |
Java | mit | 6dd71355ff9dacb9e46062172557213153683993 | 0 | cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic | package com.haxademic.demo.hardware.webcam;
import java.util.ArrayList;
import com.haxademic.core.app.P;
import com.haxademic.core.app.PAppletHax;
import com.haxademic.core.constants.AppSettings;
import com.haxademic.core.constants.PBlendModes;
import com.haxademic.core.constants.PRenderers;
import com.haxademic.core... | src/com/haxademic/demo/hardware/webcam/Demo_WebcamGPUParticles.java | package com.haxademic.demo.hardware.webcam;
import java.util.ArrayList;
import com.haxademic.core.app.P;
import com.haxademic.core.app.PAppletHax;
import com.haxademic.core.constants.AppSettings;
import com.haxademic.core.constants.PBlendModes;
import com.haxademic.core.constants.PRenderers;
import com.haxademic.core... | Cleanup webcam GPU particles demo
| src/com/haxademic/demo/hardware/webcam/Demo_WebcamGPUParticles.java | Cleanup webcam GPU particles demo | <ide><path>rc/com/haxademic/demo/hardware/webcam/Demo_WebcamGPUParticles.java
<ide> protected ArrayList<ParticleLauncher> particleLaunchers;
<ide>
<ide> protected void overridePropsFile() {
<del> p.appConfig.setProperty(AppSettings.WIDTH, 1600 );
<add> p.appConfig.setProperty(AppSettings.WIDTH, 800 );
<ide> p.a... | |
Java | apache-2.0 | 65daf8dfc9b05cd1243ae3da26d37372abfb3827 | 0 | nla/tinycdxserver,nla/outbackcdx,nla/outbackcdx,nla/outbackcdx,nla/tinycdxserver,nla/tinycdxserver,nla/tinycdxserver,nla/outbackcdx | package outbackcdx;
import org.rocksdb.*;
import org.rocksdb.Options;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.*;
import java.util.Comparator;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors;
import static java.nio.charset.StandardC... | src/outbackcdx/DataStore.java | package outbackcdx;
import org.rocksdb.*;
import org.rocksdb.Options;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.*;
import java.util.Comparator;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors;
import static java.nio.charset.StandardC... | replication window <= 0 :: really don't flush wal
| src/outbackcdx/DataStore.java | replication window <= 0 :: really don't flush wal | <ide><path>rc/outbackcdx/DataStore.java
<ide> dbOptions.setCreateIfMissing(createAllowed);
<ide> dbOptions.setMaxBackgroundCompactions(Math.min(8, Runtime.getRuntime().availableProcessors()));
<ide> dbOptions.setAvoidFlushDuringRecovery(true);
<del> if(replicationWindow ==... | |
Java | mit | 839961fa36a7d1f6128b6ca6998364cbfcb9a3d4 | 0 | zxy198717/QMBForm | package com.quemb.qmbform.view;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Resources;
import android.support.annotation.LayoutRes;
import android.util.TypedValue;
i... | lib/QMBForm/src/main/java/com/quemb/qmbform/view/Cell.java | package com.quemb.qmbform.view;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Resources;
import android.util.TypedValue;
import android.view.Gravity;
import android.vi... | backgroud refine
| lib/QMBForm/src/main/java/com/quemb/qmbform/view/Cell.java | backgroud refine | <ide><path>ib/QMBForm/src/main/java/com/quemb/qmbform/view/Cell.java
<ide> import android.content.Intent;
<ide> import android.content.IntentFilter;
<ide> import android.content.res.Resources;
<add>import android.support.annotation.LayoutRes;
<ide> import android.util.TypedValue;
<ide> import android.view.Gravity;
<ide... | |
Java | apache-2.0 | error: pathspec 'annis-gui/src/main/java/annis/gui/flatquerybuilder/ValueField.java' did not match any file(s) known to git
| 6523d699e6440fff6ff2acc2dbd1f7ff1f55a18c | 1 | amir-zeldes/ANNIS,zangsir/ANNIS,korpling/ANNIS,pixeldrama/ANNIS,amir-zeldes/ANNIS,korpling/ANNIS,korpling/ANNIS,zangsir/ANNIS,zangsir/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,amir-zeldes/ANNIS,pixeldrama/ANNIS,korpling/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,pixeldrama/ANNIS,korpling/ANNIS,amir... | /*
* Copyright 2013 Corpuslinguistic working group Humboldt University Berlin.
*
* 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
*
*... | annis-gui/src/main/java/annis/gui/flatquerybuilder/ValueField.java | these are the InputFields on SearchBoxes | annis-gui/src/main/java/annis/gui/flatquerybuilder/ValueField.java | these are the InputFields on SearchBoxes | <ide><path>nnis-gui/src/main/java/annis/gui/flatquerybuilder/ValueField.java
<add>/*
<add> * Copyright 2013 Corpuslinguistic working group Humboldt University Berlin.
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License.
... | |
Java | apache-2.0 | 2574c9ef3444bfcf42120902b3749c93e900a182 | 0 | apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc | /*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | common-repository/api-repository/src/main/java/io/shardingsphere/example/repository/api/service/DemoService.java | /*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | add order select all()
| common-repository/api-repository/src/main/java/io/shardingsphere/example/repository/api/service/DemoService.java | add order select all() | <ide><path>ommon-repository/api-repository/src/main/java/io/shardingsphere/example/repository/api/service/DemoService.java
<ide>
<ide> import io.shardingsphere.example.repository.api.entity.Order;
<ide> import io.shardingsphere.example.repository.api.entity.OrderItem;
<add>import io.shardingsphere.example.repository.a... | |
Java | apache-2.0 | 441b22fcce3ef50da14d5f4c8b376c870b57748d | 0 | BruceZu/sawdust,BruceZu/sawdust,BruceZu/sawdust,BruceZu/sawdust | // Copyright 2016 The Sawdust Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | arrows/src/main/java/nosubmmitted/LC161OneEditDistance.java | // Copyright 2016 The Sawdust Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | More readable of Once Edit Distance
| arrows/src/main/java/nosubmmitted/LC161OneEditDistance.java | More readable of Once Edit Distance | <ide><path>rrows/src/main/java/nosubmmitted/LC161OneEditDistance.java
<ide> * the fast one currently
<ide> * beat 93.69%
<ide> */
<del> public boolean isOneEditDistance(String s, String t) {
<add> public boolean isOneEditDistance(String S, String T) {
<ide>
<del> int s1 = -1, s2 = s.length(... | |
Java | apache-2.0 | 1497958f9c9b4fa293d99bfd96e48428a6883a47 | 0 | AArhin/head,AArhin/head,AArhin/head,jpodeszwik/mifos,AArhin/head,jpodeszwik/mifos,jpodeszwik/mifos,jpodeszwik/mifos,maduhu/head,maduhu/head,maduhu/head,maduhu/head,AArhin/head,maduhu/head | /*
* Copyright (c) 2005-2011 Grameen Foundation USA
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | acceptanceTests/src/test/java/org/mifos/test/acceptance/util/StringUtil.java | /*
* Copyright (c) 2005-2011 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... | MIFOS-4589 : Use better random string generation from appache commons lang util
| acceptanceTests/src/test/java/org/mifos/test/acceptance/util/StringUtil.java | MIFOS-4589 : Use better random string generation from appache commons lang util | <ide><path>cceptanceTests/src/test/java/org/mifos/test/acceptance/util/StringUtil.java
<ide>
<ide> package org.mifos.test.acceptance.util;
<ide>
<add>import org.apache.commons.lang.RandomStringUtils;
<add>
<ide> public class StringUtil {
<ide>
<ide> public static String getRandomString(int length) {
<del> ... | |
Java | apache-2.0 | 6664ec61af1e2e684f372f878876ea8ff621625b | 0 | vherilier/jmeter,etnetera/jmeter,vherilier/jmeter,ubikloadpack/jmeter,etnetera/jmeter,vherilier/jmeter,etnetera/jmeter,ubikloadpack/jmeter,etnetera/jmeter,ubikloadpack/jmeter,etnetera/jmeter,vherilier/jmeter,ubikloadpack/jmeter | /*
* 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 ... | src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.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 ... | Log assertion errors with a lower criticality
Part of #376 on github
git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1824658 13f79535-47bb-0310-9956-ffa450edef68
| src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java | Log assertion errors with a lower criticality | <ide><path>rc/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
<ide> tr.addFailure(theClazz, afe);
<ide> } else if (cause != null) {
<ide> tr.addError(theClazz, cause);
<del> log.warn("caught exception", e);
<add> ... | |
Java | apache-2.0 | 6cd0bc56170499b9b47aa4b5d508a587384b6bcb | 0 | googlegenomics/dataflow-java,deflaux/dataflow-java,deflaux/dataflow-java,googlegenomics/dataflow-java,jakeakopp/dataflow-java,deflaux/dataflow-java,jakeakopp/dataflow-java,googlegenomics/dataflow-java | /*
* Copyright (C) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | src/main/java/com/google/cloud/genomics/dataflow/pipelines/VerifyBamId.java | /*
* Copyright (C) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Update VerifyBamId.java | src/main/java/com/google/cloud/genomics/dataflow/pipelines/VerifyBamId.java | Update VerifyBamId.java | <ide><path>rc/main/java/com/google/cloud/genomics/dataflow/pipelines/VerifyBamId.java
<ide> // Grid search step size
<ide> private static final double GRID_STEP = 0.001;
<ide>
<del> public Maximizer(PCollectionView<Map<Position, ReadCounts>> view) {
<add> public Maximizer(PCollectionView<Map<Position, Rea... | |
Java | bsd-2-clause | 43dd11ffa7bc521b6afcaa53fee6dd589c04780a | 0 | chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio | /*
* Copyright (c) 2003-2004, jMonkeyEngine - Mojo Monkey Coding
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, t... | src/com/jme/scene/Spatial.java | /*
* Copyright (c) 2003-2004, jMonkeyEngine - Mojo Monkey Coding
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, t... | slightly faster looping
git-svn-id: 5afc437a751a4ff2ced778146f5faadda0b504ab@1709 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
| src/com/jme/scene/Spatial.java | slightly faster looping | <ide><path>rc/com/jme/scene/Spatial.java
<ide> * transforms. All other nodes, such as <code>Node</code> and
<ide> * <code>Geometry</code> are subclasses of <code>Spatial</code>.
<ide> * @author Mark Powell
<del> * @version $Id: Spatial.java,v 1.46 2004-07-31 17:54:27 cep21 Exp $
<add> * @version $Id: Spatial.java,v ... | |
JavaScript | mit | 1b1fa1045cd32ec2feb9835e767d38b108b215ed | 0 | Satisfive/Satisfive,Satisfive/Satisfive | require('dotenv').config();
var express = require('express')
, http = require('http')
, sparkpost = require('./sparkpost')
, db = require('./db')
, path = require('path');
var app = express();
app.configure(function(){
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
a... | app.js | require('dotenv').config();
var express = require('express')
, http = require('http')
, sparkpost = require('./sparkpost')
, db = require('./db')
, path = require('path');
var app = express();
app.configure(function(){
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
a... | iteration on webhook
| app.js | iteration on webhook | <ide><path>pp.js
<ide>
<ide> app.post('/webhook', function(req, res){
<ide> // do sentiment analysis
<del> console.log(req.body)
<del> console.log(req.params)
<ide> req.body.map(function(e){
<ide> e.msys.relay_message;
<ide> }).forEach(function(msg){
<ide> if(!msg) return;
<ide> var thisEmail = "el... | |
Java | apache-2.0 | 55c11566569ea890a8a70418e5fba9ced267f956 | 0 | alphafoobar/intellij-community,vvv1559/intellij-community,orekyuu/intellij-community,fitermay/intellij-community,slisson/intellij-community,wreckJ/intellij-community,ThiagoGarciaAlves/intellij-community,petteyg/intellij-community,robovm/robovm-studio,kdwink/intellij-community,signed/intellij-community,wreckJ/intellij-c... | /*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/impl/VirtualDirectoryImpl.java | /*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | removed double negation
| platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/impl/VirtualDirectoryImpl.java | removed double negation | <ide><path>latform/platform-impl/src/com/intellij/openapi/vfs/newvfs/impl/VirtualDirectoryImpl.java
<ide>
<ide> private static final boolean IS_UNDER_TEAMCITY = System.getProperty("bootstrap.testcases") != null;
<ide>
<del> private static final boolean SHOULD_NOT_PERFORM_ACCESS_CHECK = System.getProperty("should.n... | |
Java | apache-2.0 | ad0873be85994968690e2c53101324e00b2aafc4 | 0 | sazibislam/codeAlgorithom,mission-peace/interview,rtkasodariya/interview,mission-peace/interview,rtkasodariya/interview,mission-peace/interview | package com.interview.dynamic;
import java.util.HashMap;
import java.util.Map;
/**
* Date 04/04/2014
* @author Tushar Roy
*
* 0/1 Knapsack Problem - Given items of certain weights/values and maximum allowed weight
* how to pick items to pick items from this set to maximize sum of value of items such that
* sum ... | src/com/interview/dynamic/Knapsack01.java | package com.interview.dynamic;
import java.util.HashMap;
import java.util.Map;
/**
* Date 04/04/2014
* @author Tushar Roy
*
* 0/1 Knapsack Problem - Given items of certain weights/values and maximum allowed weight
* how to pick items to pick items from this set to maximize sum of value of items such that
* sum ... | updating 0/1 knapsack
| src/com/interview/dynamic/Knapsack01.java | updating 0/1 knapsack | <ide><path>rc/com/interview/dynamic/Knapsack01.java
<ide> /**
<ide> * Solves 0/1 knapsack in top down DP
<ide> */
<del> public int topDownRecursive(int val[], int wt[], int W) {
<add> public int topDownRecursive(int values[], int weights[], int W) {
<ide> //map of key(remainingWeight, remain... | |
Java | apache-2.0 | 281cfde628629285ed45698e31a5b05fe3e9b8bf | 0 | BennyKok/OpenLauncher,OpenLauncherTeam/openlauncher | package com.benny.openlauncher.activity;
import android.app.Activity;
import android.app.ActivityOptions;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProviderInfo;
import android.content.BroadcastReceiver;
import androi... | app/src/main/java/com/benny/openlauncher/activity/Home.java | package com.benny.openlauncher.activity;
import android.app.Activity;
import android.app.ActivityOptions;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProviderInfo;
import android.content.BroadcastReceiver;
import androi... | Remove intrinsics
| app/src/main/java/com/benny/openlauncher/activity/Home.java | Remove intrinsics | <ide><path>pp/src/main/java/com/benny/openlauncher/activity/Home.java
<ide> import android.provider.Settings;
<ide> import android.provider.Settings.SettingNotFoundException;
<ide> import android.support.annotation.NonNull;
<add>import android.support.annotation.Nullable;
<ide> import android.support.v4.widget.DrawerLa... | |
Java | mit | c70ccbde346d0e6416d3ba5f42f829af5a58deeb | 0 | zalando/problem-spring-web,zalando/problem-spring-web | package org.zalando.problem.spring.web.advice;
import com.google.gag.annotation.remark.Hack;
import lombok.SneakyThrows;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import or... | src/main/java/org/zalando/problem/spring/web/advice/AdviceTrait.java | package org.zalando.problem.spring.web.advice;
import com.google.gag.annotation.remark.Hack;
import lombok.SneakyThrows;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import or... | Fixed test
| src/main/java/org/zalando/problem/spring/web/advice/AdviceTrait.java | Fixed test | <ide><path>rc/main/java/org/zalando/problem/spring/web/advice/AdviceTrait.java
<ide>
<ide> default ThrowableProblem toProblem(final Throwable throwable, final StatusType status, final URI type) {
<ide> final ThrowableProblem problem = prepare(throwable, type, status).build();
<del> problem.setStackT... | |
Java | epl-1.0 | d384b0b1528b49527c6571ee74fc55fc1b1b8dc1 | 0 | ForgeEssentials/ForgeEssentialsMain | package com.forgeessentials.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.UUID;
import javax.net.ssl.HttpsURLConnection;
import com.forgeessentials.util.output.LoggingHandler;
import com.goo... | src/main/java/com/forgeessentials/util/UserIdentUtils.java | package com.forgeessentials.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.UUID;
import javax.net.ssl.HttpsURLConnection;
import com.forgeessentials.util.output.LoggingHandler;
import com.goo... | Fixes #2252 #2253
(cherry picked from commit 1e5c5e4)
| src/main/java/com/forgeessentials/util/UserIdentUtils.java | Fixes #2252 #2253 | <ide><path>rc/main/java/com/forgeessentials/util/UserIdentUtils.java
<ide> public class UserIdentUtils
<ide> {
<ide>
<del> public static UUID hexStringToUUID(String s)
<add> public static String reformatUUID(String s)
<ide> {
<ide> if (s.length() != 32)
<ide> throw new IllegalArgumentExce... | |
Java | apache-2.0 | 9261a6e099ecb85acdc9df41a10f9db35eb29aca | 0 | apache/pdfbox,apache/pdfbox | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | PDFBOX-5385: revert Sonar fix, has no effect; security hotspot has now been marked as reviewed on the website instead
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1898857 13f79535-47bb-0310-9956-ffa450edef68
| examples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java | PDFBOX-5385: revert Sonar fix, has no effect; security hotspot has now been marked as reviewed on the website instead | <ide><path>xamples/src/main/java/org/apache/pdfbox/examples/signature/validation/AddValidationInformation.java
<ide> // https://www.etsi.org/deliver/etsi_ts/102700_102799/10277804/01.01.02_60/ts_10277804v010102p.pdf
<ide> // "For the signatures of the CRL and OCSP response, it is the respective ... | |
Java | apache-2.0 | 70f88d0f8f264c56307b5dff8757a5b8876f3d00 | 0 | tdiesler/camel,nikvaessen/camel,CandleCandle/camel,nboukhed/camel,koscejev/camel,josefkarasek/camel,jameszkw/camel,ge0ffrey/camel,aaronwalker/camel,grgrzybek/camel,veithen/camel,ssharma/camel,tdiesler/camel,haku/camel,joakibj/camel,mnki/camel,manuelh9r/camel,YMartsynkevych/camel,MohammedHammam/camel,snadakuduru/camel,c... | /**
* 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... | camel-core/src/main/java/org/apache/camel/model/BeanRef.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... | the bean ref is not manadatory, you could specify the beanType
git-svn-id: e3ccc80b644512be24afa6caf639b2d1f1969354@632281 13f79535-47bb-0310-9956-ffa450edef68
| camel-core/src/main/java/org/apache/camel/model/BeanRef.java | the bean ref is not manadatory, you could specify the beanType | <ide><path>amel-core/src/main/java/org/apache/camel/model/BeanRef.java
<ide> @XmlRootElement(name = "bean")
<ide> @XmlAccessorType(XmlAccessType.FIELD)
<ide> public class BeanRef extends OutputType<ProcessorType> {
<del> @XmlAttribute(required = true)
<add> @XmlAttribute(required = false)
<ide> private String... | |
Java | bsd-2-clause | fd4f97b87ae2d45dec7a05e8284afd518f604976 | 0 | scifio/scifio | //
// LeicaReader.java
//
/*
OME Bio-Formats package for reading and converting biological file formats.
Copyright (C) 2005-@year@ UW-Madison LOCI and Glencoe Software, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fr... | components/bio-formats/src/loci/formats/in/LeicaReader.java | //
// LeicaReader.java
//
/*
OME Bio-Formats package for reading and converting biological file formats.
Copyright (C) 2005-@year@ UW-Madison LOCI and Glencoe Software, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fr... | Adjust image count if an XZ or XT scan is found.
| components/bio-formats/src/loci/formats/in/LeicaReader.java | Adjust image count if an XZ or XT scan is found. | <ide><path>omponents/bio-formats/src/loci/formats/in/LeicaReader.java
<ide> if (getImageCount() == 1 && getSizeZ() * getSizeT() > 1) {
<ide> core[i].sizeZ = 1;
<ide> core[i].sizeT = 1;
<add> }
<add> if (getSizeY() == 1) {
<add> // XZ or XT scan
<add> if (getSizeZ() > 1 && g... | |
Java | apache-2.0 | e61242e8a41a2aeceb7ddb0e571cd7309fa42cfa | 0 | interpss/DeepMachineLearning,interpss/DeepMachineLearning | /*
* @(#)AclfFuncTest.java
*
* Copyright (C) 2006-2014 www.interpss.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/licenses/LICENSE-2.0
... | ipss.dml/src/test/AclfFuncSingleNetTest.java | /*
* @(#)AclfFuncTest.java
*
* Copyright (C) 2006-2014 www.interpss.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/licenses/LICENSE-2.0
... | updated the test case | ipss.dml/src/test/AclfFuncSingleNetTest.java | updated the test case | <ide><path>pss.dml/src/test/AclfFuncSingleNetTest.java
<ide> double[] netVolt = caseBuilder.getNetOutput();
<ide>
<ide> Mismatch mis = caseBuilder.calMismatch(netVolt);
<add> System.out.println("--->" + caseBuilder.calMismatch(netVolt));
<ide> assertTrue("netVolt is a Loadflow solution, therefore th... | |
JavaScript | mit | 5c167e7598d625517a8825d8c1dda3c39be00b57 | 0 | Flexberry/ember-flexberry,Flexberry/ember-flexberry,Flexberry/ember-flexberry,Flexberry/ember-flexberry | import { Model as <%= className %>Mixin<%if (projections) {%>, defineProjections<%}%> } from '../mixins/regenerated/models/<%= name %>';
import <%if(parentModelName) {%><%= parentClassName %>Model from './<%= parentModelName %>';<%}else{%>{ Projection } from 'ember-flexberry-data';<%}%>
let Model = <%if(parentModelName... | blueprints/flexberry-model-init/files/__root__/models/__name__.js | import { Model as <%= className %>Mixin<%if (projections) {%>, defineProjections<%}%> } from '../mixins/regenerated/models/<%= name %>';
import <%if(parentModelName) {%><%= parentClassName %>Model from './<%= parentModelName %>';<%}else{%>{ Projection } from 'ember-flexberry-data';<%}%>
let Model = <%if(parentModelName... | Add generation of parent models definitions
| blueprints/flexberry-model-init/files/__root__/models/__name__.js | Add generation of parent models definitions | <ide><path>lueprints/flexberry-model-init/files/__root__/models/__name__.js
<ide> let Model = <%if(parentModelName) {%><%= parentClassName %>Model.extend<%}else{%>Projection.Model.extend<%}%>(<%= className %>Mixin, {
<ide>
<ide> });
<add><%if(parentModelName) {%>Model.reopenClass({
<add> _parentModelName: '<%= parent... | |
Java | agpl-3.0 | 97c670a259b379009355c5055d92dc24b5358913 | 0 | ngaut/sql-layer,wfxiang08/sql-layer-1,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,jaytaylor/sql-layer,relateiq/sql-layer,qiuyesuifeng/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,qiuyesuifeng/sql-layer,relateiq/sql-layer,relateiq/sql-layer,jaytaylor/sql-layer,jaytaylor/sql-layer,shunwang/sql-layer-1,... | package com.foundationdb.sql.parser;
import org.hamcrest.core.StringEndsWith;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.FieldVisitor;
import org.objectweb.asm.Handle;
import org.obj... | src/test/java/com/foundationdb/sql/parser/CheckParserUsagesIT.java | package com.foundationdb.sql.parser;
import org.hamcrest.core.StringEndsWith;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.FieldVisitor;
import org.objectweb.asm.Handle;
import org.obj... | Output for CSV to help with initial analysis
| src/test/java/com/foundationdb/sql/parser/CheckParserUsagesIT.java | Output for CSV to help with initial analysis | <ide><path>rc/test/java/com/foundationdb/sql/parser/CheckParserUsagesIT.java
<ide> }
<ide> int fullyUsed2 = 0;
<ide> Collection<String> unused = new TreeSet<>();
<add> System.out.println("DeclaredType,SubType,PropertyType,Name,Java Declaration,Code To Remove");
<ide> for (NodeClas... | |
Java | apache-2.0 | 76f448adad72b66691f836164d9d95fdfe29d633 | 0 | ShellyLC/nifi,ShellyLC/nifi,ShellyLC/nifi,ShellyLC/nifi,ShellyLC/nifi,ShellyLC/nifi | /*
* 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 ... | nifi-nar-bundles/nifi-jms-bundle/nifi-jms-cf-service/src/main/java/org/apache/nifi/jms/cf/JMSConnectionFactoryProvider.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 ... | Fixed a bug that nifi-jms-cf-service cannot have a variable as the brokerURL
| nifi-nar-bundles/nifi-jms-bundle/nifi-jms-cf-service/src/main/java/org/apache/nifi/jms/cf/JMSConnectionFactoryProvider.java | Fixed a bug that nifi-jms-cf-service cannot have a variable as the brokerURL | <ide><path>ifi-nar-bundles/nifi-jms-bundle/nifi-jms-cf-service/src/main/java/org/apache/nifi/jms/cf/JMSConnectionFactoryProvider.java
<ide> } else {
<ide> if (propertyName.equals(BROKER)) {
<ide> if (context.getProperty(CONNECTION_FACTORY_IMPL).evaluateAttributeExpression... | |
Java | apache-2.0 | 1dc0e93689bbf1bbbbb77155b45ec9f3876a39b7 | 0 | strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | server/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexRequest.java | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Don't be strict for 6.x
| server/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexRequest.java | Don't be strict for 6.x | <ide><path>erver/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexRequest.java
<ide> } else if (ALIASES.match(name, deprecationHandler)) {
<ide> found = true;
<ide> aliases((Map<String, Object>) entry.getValue());
<del> } else {
<del> ... | |
Java | mit | fd7e20e78326a3dad613fed6b16053bb28e01752 | 0 | SilentChaos512/ScalingHealth | /*
* Scaling Health
* Copyright (C) 2018 SilentChaos512
*
* 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 version 3
* of the License.
*
* This library is distributed in the hope t... | src/main/java/net/silentchaos512/scalinghealth/client/HeartDisplayHandler.java | /*
* Scaling Health
* Copyright (C) 2018 SilentChaos512
*
* 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 version 3
* of the License.
*
* This library is distributed in the hope t... | Should fix absorption hearts trailing normal hearts in some cases
| src/main/java/net/silentchaos512/scalinghealth/client/HeartDisplayHandler.java | Should fix absorption hearts trailing normal hearts in some cases | <ide><path>rc/main/java/net/silentchaos512/scalinghealth/client/HeartDisplayHandler.java
<ide> drawTexturedModalRect(x, y, MARGIN + 63, TOP, 9, 9);
<ide> }
<ide>
<del> if (absorbRemaining > 0f) {
<add> // TODO: Does this fix the rendering issues introduced in 1.3.2... | |
JavaScript | mpl-2.0 | 96bcd99ed50f043dc0d1b4ce21d7dee4c9652bbe | 0 | CUModSquad/Camelot-Unchained,Ajackster/Camelot-Unchained,saddieeiddas/Camelot-Unchained,csegames/Camelot-Unchained,Mehuge/Camelot-Unchained,Mehuge/Camelot-Unchained,Mehuge/Camelot-Unchained,CUModSquad/Camelot-Unchained,Ajackster/Camelot-Unchained,Ajackster/Camelot-Unchained,csegames/Camelot-Unchained,csegames/Camelot-U... | const webpack = require('webpack');
const path = require('path');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
module.exports = function (e, rawArgv) {
const argv = rawArgv ? rawArgv : {};
cons... | game/hud/webpack.config.js | const webpack = require('webpack');
const path = require('path');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
module.exports = function (e, rawArgv) {
const argv = rawArgv ? rawArgv : {};
cons... | change webpack sourcemap type (#213)
| game/hud/webpack.config.js | change webpack sourcemap type (#213) | <ide><path>ame/hud/webpack.config.js
<ide>
<ide> const config = {
<ide> mode,
<del> devtool: mode === 'development' ? 'eval-source-map' : 'source-map',
<add> devtool: mode === 'development' ? 'source-map' : 'source-map',
<ide> entry: {
<ide> hud: ['./src/index.tsx'],
<ide> }, | |
Java | apache-2.0 | 4cccc599e6607b135a84d37c027b15371a284784 | 0 | adessaigne/camel,cunningt/camel,apache/camel,apache/camel,christophd/camel,cunningt/camel,apache/camel,tdiesler/camel,cunningt/camel,nikhilvibhav/camel,nikhilvibhav/camel,tdiesler/camel,pax95/camel,christophd/camel,tadayosi/camel,apache/camel,tadayosi/camel,nikhilvibhav/camel,adessaigne/camel,pax95/camel,cunningt/camel... | /*
* 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 ... | components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaEndpoint.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 ... | CAMEL-16138: Resolve class of AuthenticationCallBackHandler to avoid ClassNotFoundException in OSGI environment. (#5188)
| components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaEndpoint.java | CAMEL-16138: Resolve class of AuthenticationCallBackHandler to avoid ClassNotFoundException in OSGI environment. (#5188) | <ide><path>omponents/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaEndpoint.java
<ide> public class KafkaEndpoint extends DefaultEndpoint implements MultipleConsumersSupport {
<ide>
<ide> private static final Logger LOG = LoggerFactory.getLogger(KafkaEndpoint.class);
<add>
<add> private static... | |
JavaScript | mit | c8867bce7cfa490c5e155e919f59a3b41813ffae | 0 | bruecksen/isimip,bruecksen/isimip,bruecksen/isimip,bruecksen/isimip | $(function() {
// Die Tabllen im widget-table haben spezielle Funktionen wie Paginierung,
function updateTable(table) {
var activepage = table.data('activepage');
var filter = table.data('filter');
var rowsperpage = table.data('rowsperpage');
var searchvalue = table.data('searchvalue');
// set all rows... | isi_mip/static/js/isi_mip.js | $(function() {
// Die Tabllen im widget-table haben spezielle Funktionen wie Paginierung,
function updateTable(table) {
var activepage = table.data('activepage');
var filter = table.data('filter');
var rowsperpage = table.data('rowsperpage');
var searchvalue = table.data('searchvalue');
// set all rows... | #4 fix dropdown click
| isi_mip/static/js/isi_mip.js | #4 fix dropdown click | <ide><path>si_mip/static/js/isi_mip.js
<ide>
<ide> $(function() {
<ide> $('.dropdown').hover(function() {
<del> $(this).addClass('open');
<del> },
<del> function() {
<del> $(this).removeClass('open');
<del> });
<del> $('li.dropdown').on('click', function() {
<add> $(this).addClass('open');
<... | |
Java | apache-2.0 | 4e5c4eb3f9c6ceca90500a1a4632d77769065a57 | 0 | cherryhill/collectionspace-services,cherryhill/collectionspace-services | /**
* This document is a part of the source code and related artifacts
* for CollectionSpace, an open source collections management system
* for museums and related institutions:
* http://www.collectionspace.org
* http://wiki.collectionspace.org
* Copyright 2009 University of California at Berkeley
* L... | services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java | /**
* This document is a part of the source code and related artifacts
* for CollectionSpace, an open source collections management system
* for museums and related institutions:
* http://www.collectionspace.org
* http://wiki.collectionspace.org
* Copyright 2009 University of California at Berkeley
* L... | CSPACE-705
| services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java | CSPACE-705 | <ide><path>ervices/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java
<ide> documentModel.setProperty(DocumentModelHandler.COLLECTIONSPACE_CORE_SCHEMA,
<ide> DocumentModelHandler.COLLECTIONSPACE_CORE_CREATED_AT,
<ide> ... | |
Java | apache-2.0 | error: pathspec 'jsprit-analysis/src/main/java/jsprit/analysis/toolbox/AlgorithmSearchProgressChartBuilder.java' did not match any file(s) known to git
| db4c6f0784a53942d0c99a0576dce32342ba6044 | 1 | sinhautkarsh2014/winter_jsprit,HeinrichFilter/jsprit,balage1551/jsprit,michalmac/jsprit,muzuro/jsprit,graphhopper/jsprit | package jsprit.analysis.toolbox;
import java.awt.Color;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.ConcurrentHashMap;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartUtilities;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.NumberAxis;
import org.jfre... | jsprit-analysis/src/main/java/jsprit/analysis/toolbox/AlgorithmSearchProgressChartBuilder.java | added analysis.toolbox.AlgorithmSearchProgressChartBuilder.java to
create xyLineCharts with an arbitrary number of xySeries | jsprit-analysis/src/main/java/jsprit/analysis/toolbox/AlgorithmSearchProgressChartBuilder.java | added analysis.toolbox.AlgorithmSearchProgressChartBuilder.java to create xyLineCharts with an arbitrary number of xySeries | <ide><path>sprit-analysis/src/main/java/jsprit/analysis/toolbox/AlgorithmSearchProgressChartBuilder.java
<add>package jsprit.analysis.toolbox;
<add>
<add>import java.awt.Color;
<add>import java.io.File;
<add>import java.io.IOException;
<add>import java.util.concurrent.ConcurrentHashMap;
<add>
<add>import org.jfree.char... | |
Java | apache-2.0 | 64389585d819e1d9d33565e5ca90f2c0e36ead37 | 0 | apixandru/intellij-community,allotria/intellij-community,ThiagoGarciaAlves/intellij-community,ibinti/intellij-community,da1z/intellij-community,vvv1559/intellij-community,ThiagoGarciaAlves/intellij-community,allotria/intellij-community,suncycheng/intellij-community,suncycheng/intellij-community,xfournet/intellij-commun... | package com.jetbrains.jsonSchema.impl;
import com.intellij.json.psi.JsonObject;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.util.containers.Contai... | json/src/com/jetbrains/jsonSchema/impl/JsonSchemaObject.java | package com.jetbrains.jsonSchema.impl;
import com.intellij.json.psi.JsonObject;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.util.containers.Contai... | json schema, parsing reference: skip incorrect variants
| json/src/com/jetbrains/jsonSchema/impl/JsonSchemaObject.java | json schema, parsing reference: skip incorrect variants | <ide><path>son/src/com/jetbrains/jsonSchema/impl/JsonSchemaObject.java
<ide> return this;
<ide> }
<ide> if (!ref.startsWith("#/")) {
<del> throw new RuntimeException("Non-relative or erroneous reference: " + ref);
<add> return null;
<ide> }
<ide> ref = ref.substring(2);
<ide> final L... | |
JavaScript | bsd-2-clause | e48fc099334c1f885e95136798eac831a3a849f3 | 0 | smerdis/pycortex,smerdis/pycortex,CVML/pycortex,gallantlab/pycortex,CVML/pycortex,smerdis/pycortex,CVML/pycortex,smerdis/pycortex,CVML/pycortex,CVML/pycortex,gallantlab/pycortex,smerdis/pycortex,gallantlab/pycortex,gallantlab/pycortex,gallantlab/pycortex | // make sure canvas size is set properly for high DPI displays
// From: http://www.khronos.org/webgl/wiki/HandlingHighDPI
var dpi_ratio = window.devicePixelRatio || 1;
var mriview = (function(module) {
module.flatscale = .25;
module.Viewer = function(figure) {
//Allow objects to listen for mix update... | cortex/webgl/resources/js/mriview.js | // make sure canvas size is set properly for high DPI displays
// From: http://www.khronos.org/webgl/wiki/HandlingHighDPI
var dpi_ratio = window.devicePixelRatio || 1;
var mriview = (function(module) {
module.flatscale = .25;
module.Viewer = function(figure) {
//Allow objects to listen for mix update... | Fix issues #69 and #70
| cortex/webgl/resources/js/mriview.js | Fix issues #69 and #70 | <ide><path>ortex/webgl/resources/js/mriview.js
<ide> } else if (e.keyCode == 109 || e.keyCode == 189) { //-
<ide> this.nextData(-1);
<ide> } else if (e.keyCode == 76) { //l
<add> var box = $(this.object).find("#labelshow");
<add> box.attr("checked", ... | |
Java | apache-2.0 | 7e4d6228902abec1575c4bda43de1c75f184f16e | 0 | matthewtckr/pentaho-kettle,graimundo/pentaho-kettle,pedrofvteixeira/pentaho-kettle,aminmkhan/pentaho-kettle,ddiroma/pentaho-kettle,Advent51/pentaho-kettle,dkincade/pentaho-kettle,cjsonger/pentaho-kettle,pedrofvteixeira/pentaho-kettle,matrix-stone/pentaho-kettle,wseyler/pentaho-kettle,jbrant/pentaho-kettle,matthewtckr/p... | /***************************************************************************************
* Copyright (C) 2007 Samatar All rights reserved.
* This software was developed by Samatar and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in ... | src/org/pentaho/di/job/entries/mssqlbulkload/JobEntryMssqlBulkLoad.java | /***************************************************************************************
* Copyright (C) 2007 Samatar All rights reserved.
* This software was developed by Samatar and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in ... | Fixed command for table truncation
git-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@11538 5fb7f6ec-07c1-534a-b4ca-9155e429e800
| src/org/pentaho/di/job/entries/mssqlbulkload/JobEntryMssqlBulkLoad.java | Fixed command for table truncation | <ide><path>rc/org/pentaho/di/job/entries/mssqlbulkload/JobEntryMssqlBulkLoad.java
<ide>
<ide> // Truncate table?
<ide> String SQLBULKLOAD="";
<del> if(truncate) SQLBULKLOAD="TRUNCATE " + realTablename + ";";
<add> if(truncate) SQLBULKLOAD="TRUNCATE TABLE " + realTablename + ";";
<ide> ... | |
JavaScript | mit | cb587f3c22d0394ae81eccff1e9d15eae406f390 | 0 | ethereumjs/testrpc | #!/usr/bin/env node
// `yargs/yargs` required to work with webpack, see here.
// https://github.com/yargs/yargs/issues/781
var yargs = require('yargs/yargs');
var Ganache = require("ganache-core");
var pkg = require("./package.json");
var corepkg = require("./node_modules/ganache-core/package.json");
var URL = require(... | cli.js | #!/usr/bin/env node
// `yargs/yargs` required to work with webpack, see here.
// https://github.com/yargs/yargs/issues/781
var yargs = require('yargs/yargs');
var Ganache = require("ganache-core");
var pkg = require("./package.json");
var corepkg = require("./node_modules/ganache-core/package.json");
var URL = require(... | Add output for --help and -?
| cli.js | Add output for --help and -? | <ide><path>li.js
<ide> });
<ide>
<ide> var argv = parser.parse(process.argv);
<add>
<add>if (argv.help || argv['?']) {
<add> console.log("");
<add> console.log("testrpc: Fast Ethereum RPC client for testing and development");
<add> console.log(" Full docs: https://github.com/ethereumjs/testrpc");
<add> console.lo... | |
Java | apache-2.0 | e0a345b3f3a2ffbe5258e5f878594e8a76d4c51f | 0 | infraling/atomic,infraling/atomic | /**
*
*/
package org.corpus_tools.atomic.tagset.impl;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import java.util.TreeSet;
import java.util.stream.Collecto... | plugins/org.corpus-tools.atomic/src/main/java/org/corpus_tools/atomic/tagset/impl/JavaTagsetImpl.java | /**
*
*/
package org.corpus_tools.atomic.tagset.impl;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import java.util.TreeSet;
import java.util.stream.Collecto... | Implement overrides for valid values getter depending on null values
| plugins/org.corpus-tools.atomic/src/main/java/org/corpus_tools/atomic/tagset/impl/JavaTagsetImpl.java | Implement overrides for valid values getter depending on null values | <ide><path>lugins/org.corpus-tools.atomic/src/main/java/org/corpus_tools/atomic/tagset/impl/JavaTagsetImpl.java
<ide> return values;
<ide> }
<ide>
<del> /* (non-Javadoc)
<add>
<add> /**
<add> * Implementation determining which parameters should be
<add> * taken into account when querying the valid values.
<add> ... | |
Java | mit | 292952b44f1f9417318922d05926ec6a39c336f7 | 0 | mindwind/craft-atom,mindwind/craft-atom | package org.craft.atom.protocol.rpc;
import org.craft.atom.protocol.rpc.model.RpcBody;
import org.craft.atom.protocol.rpc.spi.Serialization;
import org.craft.atom.protocol.rpc.spi.SerializationFactory;
/**
* @author mindwind
* @version 1.0, Jul 23, 2014
*/
public class KryoSerializationFactory implements Serializa... | craft-atom-protocol-rpc/src/main/java/org/craft/atom/protocol/rpc/KryoSerializationFactory.java | package org.craft.atom.protocol.rpc;
import org.craft.atom.protocol.rpc.model.RpcBody;
import org.craft.atom.protocol.rpc.spi.Serialization;
import org.craft.atom.protocol.rpc.spi.SerializationFactory;
/**
* @author mindwind
* @version 1.0, Jul 23, 2014
*/
public class KryoSerializationFactory implements Serializa... | improve - performance
use thread local pool cache avoid construct a new serialization each
invocation.
| craft-atom-protocol-rpc/src/main/java/org/craft/atom/protocol/rpc/KryoSerializationFactory.java | improve - performance | <ide><path>raft-atom-protocol-rpc/src/main/java/org/craft/atom/protocol/rpc/KryoSerializationFactory.java
<ide> public class KryoSerializationFactory implements SerializationFactory<RpcBody> {
<ide>
<ide>
<add> // singleton
<ide> private static final KryoSerializationFactory INSTNACE = new KryoSerializationFactory... | |
Java | apache-2.0 | 1e2b082704b1fa1ff3ae4fbdf5afa69902f4aa26 | 0 | mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid | /*
*
* * 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
... | stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/ShardGroupCompactionImpl.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
... | Fix info log statement to be trace.
| stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/ShardGroupCompactionImpl.java | Fix info log statement to be trace. | <ide><path>tack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/ShardGroupCompactionImpl.java
<ide> * It's already compacting, don't do anything
<ide> */
<ide> if ( !shardCompactionTaskTracker.canStartTask( scope, ... | |
Java | mit | dc48576dae1834b86a7a3e06ebeb1e4ac6a663cf | 0 | Thatsmusic99/HeadsPlus | package io.github.thatsmusic99.headsplus.commands;
import io.github.thatsmusic99.headsplus.HeadsPlus;
import io.github.thatsmusic99.headsplus.api.HPPlayer;
import io.github.thatsmusic99.headsplus.api.events.SellHeadEvent;
import io.github.thatsmusic99.headsplus.commands.maincommand.DebugPrint;
import io.github.thatsmu... | src/main/java/io/github/thatsmusic99/headsplus/commands/SellHead.java | package io.github.thatsmusic99.headsplus.commands;
import io.github.thatsmusic99.headsplus.HeadsPlus;
import io.github.thatsmusic99.headsplus.api.HPPlayer;
import io.github.thatsmusic99.headsplus.api.events.SellHeadEvent;
import io.github.thatsmusic99.headsplus.commands.maincommand.DebugPrint;
import io.github.thatsmu... | Fixed /sellhead all not working
| src/main/java/io/github/thatsmusic99/headsplus/commands/SellHead.java | Fixed /sellhead all not working | <ide><path>rc/main/java/io/github/thatsmusic99/headsplus/commands/SellHead.java
<ide> }
<ide> }
<ide> } else {
<del> if (args.length > 1 && CachedValues.MATCH_PAGE.matcher(args[1]).matches()) {
<del> ... | |
Java | epl-1.0 | d5364efea9eaeb989c4b3616b07d709c0c7a488e | 0 | peterkir/org.eclipse.oomph,peterkir/org.eclipse.oomph,peterkir/org.eclipse.oomph,peterkir/org.eclipse.oomph,peterkir/org.eclipse.oomph | /*
* Copyright (c) 2014, 2015 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
... | plugins/org.eclipse.oomph.setup.core/src/org/eclipse/oomph/setup/internal/core/SetupContext.java | /*
* Copyright (c) 2014, 2015 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
... | [471731] Unskippable pop-up when starting IDE
https://bugs.eclipse.org/bugs/show_bug.cgi?id=471731 | plugins/org.eclipse.oomph.setup.core/src/org/eclipse/oomph/setup/internal/core/SetupContext.java | [471731] Unskippable pop-up when starting IDE | <ide><path>lugins/org.eclipse.oomph.setup.core/src/org/eclipse/oomph/setup/internal/core/SetupContext.java
<ide> if (uri.segmentCount() > 3)
<ide> {
<ide> String eclipseLauncher = PropertiesUtil.getProperty("eclipse.launcher");
<del> if (eclipseLauncher == null)
<del> {
<del> throw new Il... | |
Java | apache-2.0 | 3287d4ca3c3b2715872c18e730529ea1299d47a8 | 0 | alexismp/egress,alexismp/egress,alexismp/egress,alexismp/egress | /*
* Copyright 2015 alexismp.
*
* 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/org/alexismp/egress/addStationServlet.java | /*
* Copyright 2015 alexismp.
*
* 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... | modularization before removing servlet altogether | src/main/java/org/alexismp/egress/addStationServlet.java | modularization before removing servlet altogether | <ide><path>rc/main/java/org/alexismp/egress/addStationServlet.java
<ide> */
<ide> package org.alexismp.egress;
<ide>
<add>import com.firebase.client.AuthData;
<ide> import com.firebase.client.DataSnapshot;
<ide> import com.firebase.client.Firebase;
<ide> import com.firebase.client.FirebaseError;
<ide> super.i... | |
Java | apache-2.0 | cd1e923c905a3530d71ff4f85259649fbf560c6d | 0 | foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2 | /**
* @license
* Copyright 2018 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
package foam.dao;
import foam.core.X;
import foam.nanos.auth.*;
import foam.test.TestObj;
import foam.test.TestUtils;
import foam.util.Auth;
import java.util.List;
public class AuthenticatedDAO... | src/foam/dao/AuthenticatedDAOTest.java | /**
* @license
* Copyright 2018 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
package foam.dao;
import foam.core.X;
import foam.nanos.auth.*;
import foam.test.TestObj;
import foam.test.TestUtils;
import foam.util.Auth;
import java.util.List;
public class AuthenticatedDAO... | Fixing mocking test
| src/foam/dao/AuthenticatedDAOTest.java | Fixing mocking test | <ide><path>rc/foam/dao/AuthenticatedDAOTest.java
<ide> userDAO_.put(testUser_);
<ide>
<ide> // Mock the groupDAO.
<del> x = TestUtils.mockDAO(x, "groupDAO");
<del> DAO groupDAO = (DAO) x.get("groupDAO");
<add> x = TestUtils.mockDAO(x, "localGroupDAO");
<add> DAO groupDAO = (DAO) x.get("localGroupDA... | |
JavaScript | mit | 777d50d313ae55587cf0c51d8a06bd45b480b71c | 0 | viatsyshyn/grunt-jsbuild3 | /*
* emp.ria-grunt-jsbuild3
* https://code.google.com/p/emp-ria/
*
* Copyright (c) 2013 Volodymyt Iatsyshyn
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
var build_number = grunt.option("build") || '0';
var build_tag = grunt.option("tag") || '0.0';
var pkg = grunt... | Gruntfile.js | /*
* emp.ria-grunt-jsbuild3
* https://code.google.com/p/emp-ria/
*
* Copyright (c) 2013 Volodymyt Iatsyshyn
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
var build_number = grunt.option("build") || '0';
var build_tag = grunt.option("tag") || '0.0';
var pkg = grunt... | fixed tests
| Gruntfile.js | fixed tests | <ide><path>runtfile.js
<ide>
<ide> // Whenever the "test" task is run, first clean the "tmp" dir, then run this
<ide> // plugin's task(s), then test the result.
<del> grunt.registerTask('test', ['clean', 'jsbuild3', 'nodeunit']);
<add> grunt.registerTask('test', ['clean', 'nodeunit']);
<ide>
<ide> // By defau... | |
Java | mit | 4245655a8d9e4c6f946c11f95c58c9c113cb0291 | 0 | ybrs/Rhombus,ybrs/Rhombus,Pardot/Rhombus,Pardot/Rhombus | package com.pardot.analyticsservice;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.pardot.analyticsservice.cassandra.cobject.*;
import com.pardot.analyticsservice.helpers.TestHelpers;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSu... | src/test/java/com/pardot/analyticsservice/CObjectCQLGeneratorTest.java | package com.pardot.analyticsservice;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.pardot.analyticsservice.cassandra.cobject.*;
import com.pardot.analyticsservice.helpers.TestHelpers;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSu... | Fix unit tests to reflect additional AND on delte that was missing
| src/test/java/com/pardot/analyticsservice/CObjectCQLGeneratorTest.java | Fix unit tests to reflect additional AND on delte that was missing | <ide><path>rc/test/java/com/pardot/analyticsservice/CObjectCQLGeneratorTest.java
<ide>
<ide> expected = "DELETE FROM testtype USING TIMESTAMP 111 WHERE id = ada375b0-a2d9-11e2-99a3-3f36d3955e43;";
<ide> assertEquals(expected,result.next());
<del> expected = "DELETE FROM testtype__instance_type USING TIMESTAMP ... | |
Java | apache-2.0 | f923a8ee8f19e2c408f4ae4f0172c3f35844de0d | 0 | EmmyLua/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua | /*
* Copyright (c) 2017. tangzx(love.tangzx@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | src/main/java/com/tang/intellij/lua/codeInsight/LuaBackspaceHandlerDelegate.java | /*
* Copyright (c) 2017. tangzx(love.tangzx@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | LuaBackspaceHandlerDelegate
| src/main/java/com/tang/intellij/lua/codeInsight/LuaBackspaceHandlerDelegate.java | LuaBackspaceHandlerDelegate | <ide><path>rc/main/java/com/tang/intellij/lua/codeInsight/LuaBackspaceHandlerDelegate.java
<ide> LuaComment comment = PsiTreeUtil.getParentOfType(element, LuaComment.class);
<ide> assert comment != null;
<ide>
<del> if (comment.getNode().getStartOf... | |
Java | mit | 80046be30b5913949133cf0a6960ff506dc82067 | 0 | trujunzhang/IEATTA-ANDROID,trujunzhang/IEATTA-ANDROID | package org.wikipedia.analytics;
import android.net.Uri;
import android.util.Log;
//import com.github.kevinsawicki.http.HttpRequest;
import org.json.JSONException;
import org.json.JSONObject;
import org.ieatta.IEATTAApp;
import org.wikipedia.concurrency.SaneAsyncTask;
/**
* Base class for all various types of events... | app/src/main/java/org/wikipedia/analytics/EventLoggingEvent.java | package org.wikipedia.analytics;
import android.net.Uri;
import android.util.Log;
import com.github.kevinsawicki.http.HttpRequest;
import org.json.JSONException;
import org.json.JSONObject;
import org.ieatta.IEATTAApp;
import org.wikipedia.concurrency.SaneAsyncTask;
/**
* Base class for all various types of events t... | IEATTA for Android.
| app/src/main/java/org/wikipedia/analytics/EventLoggingEvent.java | IEATTA for Android. | <ide><path>pp/src/main/java/org/wikipedia/analytics/EventLoggingEvent.java
<ide>
<ide> import android.net.Uri;
<ide> import android.util.Log;
<del>import com.github.kevinsawicki.http.HttpRequest;
<add>//import com.github.kevinsawicki.http.HttpRequest;
<ide> import org.json.JSONException;
<ide> import org.json.JSONObje... | |
Java | apache-2.0 | 1c10b2d92869669298fbd335b73a8a8cae66e34d | 0 | racker/java-service-registry-client | package com.rackspacecloud.client.service_registry.curator;
import com.netflix.curator.utils.ThreadUtils;
import com.netflix.curator.x.discovery.ServiceCacheBuilder;
import com.netflix.curator.x.discovery.ServiceDiscovery;
import com.netflix.curator.x.discovery.ServiceInstance;
import com.netflix.curator.x.discovery.S... | src/main/java/com/rackspacecloud/client/service_registry/curator/RSRServiceDiscoveryImpl.java | package com.rackspacecloud.client.service_registry.curator;
import com.netflix.curator.utils.ThreadUtils;
import com.netflix.curator.x.discovery.ServiceCacheBuilder;
import com.netflix.curator.x.discovery.ServiceDiscovery;
import com.netflix.curator.x.discovery.ServiceInstance;
import com.netflix.curator.x.discovery.S... | don't worry about the session when closing.
| src/main/java/com/rackspacecloud/client/service_registry/curator/RSRServiceDiscoveryImpl.java | don't worry about the session when closing. | <ide><path>rc/main/java/com/rackspacecloud/client/service_registry/curator/RSRServiceDiscoveryImpl.java
<ide> }
<ide>
<ide> public void close() throws IOException {
<del> if (this.session != null && this.heartbeater != null) {
<add> if (this.heartbeater != null) {
<ide> this.heartbeat... | |
JavaScript | mit | 48353646de7ea5f56298c616fda77114e2250bbd | 0 | ligoj/plugin-prov,ligoj/plugin-prov,ligoj/plugin-prov,ligoj/plugin-prov | /*
* Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
*/
/*jshint esversion: 6*/
define(function () {
var current = {
/**
* Current quote.
*/
model: null,
/**
* Usage rate templates
*/
usageTemplates: {},
contextDonut: null,
/**
* Enable resource type.
*/
ty... | src/main/resources/META-INF/resources/webjars/service/prov/prov.js | /*
* Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
*/
/*jshint esversion: 6*/
define(function () {
var current = {
/**
* Current quote.
*/
model: null,
/**
* Usage rate templates
*/
usageTemplates: {},
contextDonut: null,
/**
* Enable resource type.
*/
ty... | Fix #41 Disallow NAT internet visibility for databases
| src/main/resources/META-INF/resources/webjars/service/prov/prov.js | Fix #41 Disallow NAT internet visibility for databases | <ide><path>rc/main/resources/META-INF/resources/webjars/service/prov/prov.js
<ide> _('instance-internet').select2({
<ide> formatSelection: current.formatInternet,
<ide> formatResult: current.formatInternet,
<add> formatResultCssClass: function (data) {
<add> if (data.id === 'PRIVATE_NAT' && _('instanc... | |
Java | apache-2.0 | d4117b12d1b270a11b7e41a91feb9147bb91b5d7 | 0 | linkedin/pinot,apucher/pinot,apucher/pinot,fx19880617/pinot-1,linkedin/pinot,fx19880617/pinot-1,apucher/pinot,fx19880617/pinot-1,fx19880617/pinot-1,linkedin/pinot,linkedin/pinot,fx19880617/pinot-1,linkedin/pinot,apucher/pinot,apucher/pinot | /**
* Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/auto/onboard/AutoOnboardService.java | /**
* Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | [TE] Cleanup and fix exception handler (#3239)
| thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/auto/onboard/AutoOnboardService.java | [TE] Cleanup and fix exception handler (#3239) | <ide><path>hirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/auto/onboard/AutoOnboardService.java
<ide>
<ide> import com.linkedin.thirdeye.anomaly.ThirdEyeAnomalyConfiguration;
<ide> import com.linkedin.thirdeye.api.TimeGranularity;
<del>import com.linkedin.thirdeye.datasource.DataSourceConfig;
<del>import co... | |
Java | apache-2.0 | 108ca26967a1f7dc0a6fb8c166ada144908697f2 | 0 | dbrant/apps-android-commons,whym/apps-android-commons,dbrant/apps-android-commons,maskaravivek/apps-android-commons,commons-app/apps-android-commons,domdomegg/apps-android-commons,misaochan/apps-android-commons,neslihanturan/apps-android-commons,misaochan/apps-android-commons,misaochan/apps-android-commons,commons-app/... | package fr.free.nrw.commons.nearby;
import android.animation.ObjectAnimator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.n... | app/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java | package fr.free.nrw.commons.nearby;
import android.animation.ObjectAnimator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.n... | Fix for #1437 :Button that opens Google Maps shows always only the coordinates of the first chosen mark (#1446)
| app/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java | Fix for #1437 :Button that opens Google Maps shows always only the coordinates of the first chosen mark (#1446) | <ide><path>pp/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java
<ide>
<ide> directionsButton.setOnClickListener(view -> {
<ide> //Open map app at given position
<del> Intent mapIntent = new Intent(Intent.ACTION_VIEW, place.location.getGmmIntentUri());
<add> Inten... | |
Java | mit | 6852c49eca907326b013b1d95d8420726a338c58 | 0 | kevinsprong23/gamesolver | package com.kevinsprong.gamesolver;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.Set;
/**
* Extension of TwoPlayerGame to play the game Threes!
*/
public class Threes extends TwoPlayerGame {
// expose weights for tun... | Threes/src/main/java/com/kevinsprong/gamesolver/Threes.java | package com.kevinsprong.gamesolver;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.Set;
/**
* Extension of TwoPlayerGame to play the game Threes!
*/
public class Threes extends TwoPlayerGame {
// expose weights for tun... | Threes ready for tests
| Threes/src/main/java/com/kevinsprong/gamesolver/Threes.java | Threes ready for tests | <ide><path>hrees/src/main/java/com/kevinsprong/gamesolver/Threes.java
<ide> GameState currentState = this.getGameState();
<ide>
<ide> // three ones, three twos, three threes in random locs
<del> // set move stack to one of each
<del>
<del> // assign
<del>
<del>
<del> // choose... | |
Java | mit | fa6f20747ba4d19a624658fca475903388bdcfe1 | 0 | gsdlab/chocosolver,gsdlab/chocosolver | package org.clafer.choco.constraint.propagator;
import java.util.Arrays;
import org.chocosolver.solver.constraints.Propagator;
import org.chocosolver.solver.constraints.PropagatorPriority;
import org.chocosolver.solver.exception.ContradictionException;
import org.chocosolver.solver.variables.IntVar;
import org.chocoso... | src/main/java/org/clafer/choco/constraint/propagator/PropContinuousUnion.java | package org.clafer.choco.constraint.propagator;
import java.util.Arrays;
import org.chocosolver.solver.constraints.Propagator;
import org.chocosolver.solver.constraints.PropagatorPriority;
import org.chocosolver.solver.exception.ContradictionException;
import org.chocosolver.solver.variables.IntVar;
import org.chocoso... | Fixed PropContinuousUnion to work when values are larger than expetced.
| src/main/java/org/clafer/choco/constraint/propagator/PropContinuousUnion.java | Fixed PropContinuousUnion to work when values are larger than expetced. | <ide><path>rc/main/java/org/clafer/choco/constraint/propagator/PropContinuousUnion.java
<ide> boolean isTotalCardVar(int idx) {
<ide> return idx == sets.length;
<ide> }
<del>
<add>
<ide> //TODO: Sept16
<ide> // @Override
<ide> // public int getPropagationConditions(int vIdx) {
<ide> // ... | |
Java | lgpl-2.1 | 3525d843c12d93258514f69663dc5f7ad05155b6 | 0 | SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.sf.jaer.hardwareinterface.serial.eDVS128;
import java.io.*;
import java.beans.*;
import java.util.Observable;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.prefs.*;
impor... | src/net/sf/jaer/hardwareinterface/serial/eDVS128/eDVS128_HardwareInterface.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.sf.jaer.hardwareinterface.serial.eDVS128;
import java.io.*;
import java.beans.*;
import java.util.Observable;
import java.util.logging.Logger;
import java.util.prefs.*;
import net.sf.jaer.aemonitor.*;
impor... | added fix from jorg for timestamp and added check for packet overrun in reader thread. now working!
git-svn-id: e3d3b427d532171a6bd7557d8a4952a393b554a2@2857 b7f4320f-462c-0410-a916-d9f35bb82d52
| src/net/sf/jaer/hardwareinterface/serial/eDVS128/eDVS128_HardwareInterface.java | added fix from jorg for timestamp and added check for packet overrun in reader thread. now working! | <ide><path>rc/net/sf/jaer/hardwareinterface/serial/eDVS128/eDVS128_HardwareInterface.java
<ide> import java.io.*;
<ide> import java.beans.*;
<ide> import java.util.Observable;
<add>import java.util.logging.Level;
<ide> import java.util.logging.Logger;
<ide> import java.util.prefs.*;
<ide>
<ide> public PropertyChan... | |
Java | bsd-2-clause | e9c112b4c8a82a36004d3c8f5b321d830efe1f7a | 0 | FXMisc/RichTextFX,afester/RichTextFX,afester/RichTextFX,FXMisc/RichTextFX | package org.fxmisc.richtext;
import static org.reactfx.EventStreams.*;
import static org.reactfx.util.Tuples.*;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Optional;
import java.util.function.BiConsumer;
import j... | richtextfx/src/main/java/org/fxmisc/richtext/GenericStyledArea.java | package org.fxmisc.richtext;
import static org.reactfx.EventStreams.*;
import static org.reactfx.util.Tuples.*;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Optional;
import java.util.function.BiConsumer;
import j... | Updated visibleParToAllParIndex (#1002)
| richtextfx/src/main/java/org/fxmisc/richtext/GenericStyledArea.java | Updated visibleParToAllParIndex (#1002) | <ide><path>ichtextfx/src/main/java/org/fxmisc/richtext/GenericStyledArea.java
<ide> getVisibleParagraphs().size() - 1, visibleParIndex)
<ide> );
<ide> }
<del> return virtualFlow.visibleCells().get( visibleParIndex ).getNode().getIndex();
<add>
<add> Cell<Paragraph<P... | |
Java | apache-2.0 | 5b863882f2efe2658d8486ca901c895afaa760ed | 0 | bertilmuth/requirementsascode | package org.requirementsascode;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import java.util.function.Consumer;
import java.uti... | requirementsascodecore/src/main/java/org/requirementsascode/UseCaseModelRunner.java | package org.requirementsascode;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import java.util.function.Consumer;
import java.uti... | make includedUseCase in UseCaseModelRunner non-optional
| requirementsascodecore/src/main/java/org/requirementsascode/UseCaseModelRunner.java | make includedUseCase in UseCaseModelRunner non-optional | <ide><path>equirementsascodecore/src/main/java/org/requirementsascode/UseCaseModelRunner.java
<ide> * a runner, as the runner determines the journey of the user through the use cases.
<ide> */
<ide> public class UseCaseModelRunner implements Serializable{
<add> private static final long serialVersionUID = 1787451244... | |
Java | bsd-3-clause | 562d56c3a196cad6004fc0dae53aa302e48edc6f | 0 | tomfisher/tripleplay,tomfisher/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,joansmith/tripleplay,joansmith/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,joansmith/tripleplay,tomfisher/tripleplay | //
// Triple Play - utilities for use in PlayN-based games
// Copyright (c) 2011-2013, Three Rings Design, Inc. - All rights reserved.
// http://github.com/threerings/tripleplay/blob/master/LICENSE
package tripleplay.syncdb;
/**
* Provides a mechanism for resolving conflict between two conflicting values in a sync d... | core/src/main/java/tripleplay/syncdb/Resolver.java | //
// Triple Play - utilities for use in PlayN-based games
// Copyright (c) 2011-2013, Three Rings Design, Inc. - All rights reserved.
// http://github.com/threerings/tripleplay/blob/master/LICENSE
package tripleplay.syncdb;
/**
* Provides a mechanism for resolving conflict between two conflicting values in a sync d... | Compiler-appeasing shenanigans.
Boolean is final, so it carps that V can't extend it, but resolve's
signature wants that format.
This way, however, supports suppression of the warning.
| core/src/main/java/tripleplay/syncdb/Resolver.java | Compiler-appeasing shenanigans. | <ide><path>ore/src/main/java/tripleplay/syncdb/Resolver.java
<ide>
<ide> /** Uses whichever of the client or server is true. */
<ide> Resolver<Boolean> TRUE = new Resolver<Boolean>() {
<del> public <V extends Boolean> V resolve (V client, V server) {
<add> @SuppressWarnings("unchecked")
<add> ... | |
JavaScript | mit | 7d0edcafe418622d026c80078c7dfa0f9e316fcb | 0 | RalphSleigh/bookings,RalphSleigh/bookings,RalphSleigh/bookings | import React from 'react'
import csv from 'csv-file-creator'
import ReactTable from 'react-table'
import Moment from 'moment'
import update from 'immutability-helper';
import eol from 'eol'
import map from 'lodash/map'
//import bookings from '../bookings'
//import { manageEventCheck } from '../permission.js'
import {... | front/manage/components/participants.js | import React from 'react'
import csv from 'csv-file-creator'
import ReactTable from 'react-table'
import Moment from 'moment'
import update from 'immutability-helper';
import eol from 'eol'
import map from 'lodash/map'
//import bookings from '../bookings'
//import { manageEventCheck } from '../permission.js'
import {... | Add days to participants
| front/manage/components/participants.js | Add days to participants | <ide><path>ront/manage/components/participants.js
<ide> p.diet,
<ide> p.dietExtra,
<ide> p.medical,
<add> p.days,
<ide> b.userName,
<ide> b.userEmail,
<ide> b.userContact,
<ide>
<ide> });
<ide> ... | |
Java | mit | 5735fa6ec36fb0e68a0bd41c47b0d940d28b9e5a | 0 | project-recoin/crisis.net | package crisis.net;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import javax.naming.StringRefAddr;
import org.apache.commons.lang.StringEscapeUtils;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
im... | src/main/java/crisis/net/ToCsv.java | package crisis.net;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import javax.naming.StringRefAddr;
import org.apache.commons.lang.StringEscapeUtils;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
im... | csv has args
| src/main/java/crisis/net/ToCsv.java | csv has args | <ide><path>rc/main/java/crisis/net/ToCsv.java
<ide> public class ToCsv {
<ide>
<ide> static final String delimate = ",";
<del> static final String disFile = "crisis.csv";
<del> static final String jsonDir = "/Users/user/crisisNet";
<add> static String disFile;
<add> static String jsonDir;
<ide>
<ide> public static ... | |
Java | apache-2.0 | 1d135b7ab84ab2e03481b47b7d09f40e35810170 | 0 | NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra | /* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatable/ProjectDataActionContext.java | /* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | GT-3302 - Front-end UI freeze - review fixes | Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatable/ProjectDataActionContext.java | GT-3302 - Front-end UI freeze - review fixes | <ide><path>hidra/Framework/Project/src/main/java/ghidra/framework/main/datatable/ProjectDataActionContext.java
<ide> import docking.ComponentProvider;
<ide> import ghidra.framework.model.*;
<ide>
<add>/**
<add> * A context that understands files that live in a {@link Project}. Most of the clients of
<add> * this cont... | |
JavaScript | mit | 355ac6c2525635931385ab5f88b3fb69a01b0f4d | 0 | danheadforcode/fg-gatsby | import React from 'react'
import { Link } from 'react-router'
import { prefixLink } from 'gatsby-helpers'
import Helmet from 'react-helmet'
import { config } from 'config'
export default class Index extends React.Component {
render() {
return (
<div>
<h1>
Hi Daniel
</h1>
<... | pages/index.js | import React from 'react'
import { Link } from 'react-router'
import { prefixLink } from 'gatsby-helpers'
import Helmet from 'react-helmet'
import { config } from 'config'
export default class Index extends React.Component {
render() {
return (
<div>
<h1>
Hi Dan
</h1>
<p>W... | changed greeting
| pages/index.js | changed greeting | <ide><path>ages/index.js
<ide> return (
<ide> <div>
<ide> <h1>
<del> Hi Dan
<add> Hi Daniel
<ide> </h1>
<ide> <p>Welcome to your new Gatsby site.</p>
<ide> <p>Now go build something great.</p> | |
Java | lgpl-2.1 | f6a9c1a469208e8aad7c8a9793c93f0c06f469cd | 0 | xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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
* th... | xwiki-core/src/main/java/com/xpn/xwiki/plugin/PatternPlugin.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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
* th... | [cleanup] Applied codestyle
git-svn-id: d23d7a6431d93e1bdd218a46658458610974b053@34417 f329d543-caf0-0310-9063-dda96c69346f
| xwiki-core/src/main/java/com/xpn/xwiki/plugin/PatternPlugin.java | [cleanup] Applied codestyle | <ide><path>wiki-core/src/main/java/com/xpn/xwiki/plugin/PatternPlugin.java
<ide> * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
<ide> *
<ide> */
<del>
<ide> package com.xpn.xwiki.plugin;
<ide>
<ide> import java.util.ArrayList;
<ide> return EVENTS;
<ide> }
<ide>
<add> @Override
<ide> ... | |
Java | apache-2.0 | df9eef889376ab4b67ac7917fef4e6d420f16531 | 0 | ftomassetti/intellij-community,ibinti/intellij-community,jagguli/intellij-community,mglukhikh/intellij-community,xfournet/intellij-community,retomerz/intellij-community,MichaelNedzelsky/intellij-community,muntasirsyed/intellij-community,ivan-fedorov/intellij-community,joewalnes/idea-community,Lekanich/intellij-communit... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/openapi/wm/impl/status/MemoryUsagePanel.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | memory usage panel antialiasing fix
| platform/platform-impl/src/com/intellij/openapi/wm/impl/status/MemoryUsagePanel.java | memory usage panel antialiasing fix | <ide><path>latform/platform-impl/src/com/intellij/openapi/wm/impl/status/MemoryUsagePanel.java
<ide> final FontMetrics fontMetrics = g.getFontMetrics();
<ide> final int infoWidth = fontMetrics.charsWidth(info.toCharArray(), 0, info.length());
<ide> final int infoHeight = fontMetrics.getHeight() - font... | |
Java | apache-2.0 | 960066cd9023da6f781027f275d97975cbdf5873 | 0 | signed/intellij-community,muntasirsyed/intellij-community,lucafavatella/intellij-community,salguarnieri/intellij-community,akosyakov/intellij-community,TangHao1987/intellij-community,SerCeMan/intellij-community,vladmm/intellij-community,diorcety/intellij-community,caot/intellij-community,ryano144/intellij-community,clu... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/openapi/vfs/impl/VirtualFilePointerImpl.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | race condition fix
| platform/platform-impl/src/com/intellij/openapi/vfs/impl/VirtualFilePointerImpl.java | race condition fix | <ide><path>latform/platform-impl/src/com/intellij/openapi/vfs/impl/VirtualFilePointerImpl.java
<ide>
<ide> public class VirtualFilePointerImpl extends UserDataHolderBase implements VirtualFilePointer, Disposable {
<ide> private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.vfs.impl.VirtualFileP... | |
Java | apache-2.0 | 7f1cce685ac00999946f85867b2705aad847e16d | 0 | apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc | /*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | sharding-jdbc/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/adapter/AbstractDataSourceAdapter.java | /*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | #1363 Remove @Getter modifier on the datasourceMap.
| sharding-jdbc/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/adapter/AbstractDataSourceAdapter.java | #1363 Remove @Getter modifier on the datasourceMap. | <ide><path>harding-jdbc/sharding-jdbc-core/src/main/java/io/shardingsphere/shardingjdbc/jdbc/adapter/AbstractDataSourceAdapter.java
<ide> *
<ide> * @author zhangliang
<ide> * @author panjuan
<add> * @author zhaojun
<ide> */
<ide> @Getter
<ide> @Setter
<ide> ShardingBootstrap.init();
<ide> }
<ide>
... | |
Java | lgpl-2.1 | c1df35b2604fe69857baa987c0cc79f585eb9eed | 0 | celements/celements-core,celements/celements-core | package com.celements.mailsender;
import java.util.List;
import java.util.Map;
import org.xwiki.component.annotation.Component;
import com.celements.web.plugin.cmd.IMailObjectRole;
import com.xpn.xwiki.api.Attachment;
import com.xpn.xwiki.web.Utils;
@Component
public class CelMailSenderService implements IMailSende... | src/main/java/com/celements/mailsender/CelMailSenderService.java | package com.celements.mailsender;
import java.util.List;
import java.util.Map;
import org.xwiki.component.annotation.Component;
import com.celements.web.plugin.cmd.IMailObjectRole;
import com.xpn.xwiki.api.Attachment;
import com.xpn.xwiki.web.Utils;
@Component
public class CelMailSenderService implements IMailSende... | Email Validation not available in Class Definitions (#108)
* The Regexp moved to a constant (on the component)
The methods getEmailValidationRegexForClassDefinitions and
getEmailValidationRegex return the appropriate constants.
* EMAIL_VALIDATION_REGEX used
to build EMAIL_VALIDATION_REGEX_CLASS_DEFINITIONS... | src/main/java/com/celements/mailsender/CelMailSenderService.java | Email Validation not available in Class Definitions (#108) | <ide><path>rc/main/java/com/celements/mailsender/CelMailSenderService.java
<ide> public class CelMailSenderService implements IMailSenderRole {
<ide>
<ide> private IMailObjectRole injectedMailObject;
<add>
<add> // chars - a-z A-Z 0-9 œ à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
<add> public sta... | |
Java | bsd-2-clause | bc2ed2dc244fd31a53bda8e9e73d64b75f27b730 | 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.transformation.claw;
import cx2x.translator.common.NestedDoStatement;
import cx2x.translator.language.ClawDimension;
import cx2x.translator.language.ClawLanguage;
import cx2x.translator.language... | omni-cx2x/src/cx2x/translator/transformation/claw/Parallelize.java | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.translator.transformation.claw;
import cx2x.translator.common.NestedDoStatement;
import cx2x.translator.language.ClawDimension;
import cx2x.translator.language.ClawLanguage;
import cx2x.translator.language... | Remove useless comment
| omni-cx2x/src/cx2x/translator/transformation/claw/Parallelize.java | Remove useless comment | <ide><path>mni-cx2x/src/cx2x/translator/transformation/claw/Parallelize.java
<ide> Transformation other)
<ide> throws Exception
<ide> {
<del>
<del> // Apply first all common declaration
<del>
<ide> // Insert the declarations of variables to iterate over the new dimensions
<ide> ... | |
Java | mit | fdc2efafc3a5fea08b49d3db2ae88cf985f27b7a | 0 | Qoracoin/Qora,Bitcoinsulting/Qora,Bitcoinsulting/Qora,Bitcoinsulting/Qora,Qoracoin/Qora,Bitcoinsulting/Qora,Bitcoinsulting/Qora,Qoracoin/Qora | package at;
import java.math.BigDecimal;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.charset.Charset;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.ConcurrentSkipListMap;
import org.json.simple.JSONObject;
import org.mapdb.Fun.Tuple4;
import qora.account.Acc... | Qora/src/at/AT.java | package at;
import java.math.BigDecimal;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.charset.Charset;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.ConcurrentSkipListMap;
import org.json.simple.JSONObject;
import org.mapdb.Fun.Tuple4;
import qora.account.Acc... | change "account" to "accountBalance" in GET at/id/
Agreed with vbcs
| Qora/src/at/AT.java | change "account" to "accountBalance" in GET at/id/ | <ide><path>ora/src/at/AT.java
<ide> public JSONObject toJSON()
<ide> {
<ide> JSONObject atJSON = new JSONObject();
<del> atJSON.put("account", new Account(Base58.encode(getId())).getConfirmedBalance().toPlainString() );
<add> atJSON.put("accountBalance", new Account(Base58.encode(getId())).getConfirmedBalance().t... | |
Java | mit | 19c043d92c6c913f28f8524b14afad1318efd8ee | 0 | CreaturePhil/Algorithms |
public class BubbleSort {
/**
* Bubble Sort repeatedly steps through the list to be sorted, compares each
* pair of adjacent items and swaps them if they are in the wrong order.
* The pass through the list is repeated until no swaps are needed, which
* indicates that the list is sorted. Bubble Sort is a c... | sorting/BubbleSort.java |
public class BubbleSort {
/**
* Bubble Sort repeatedly steps through the list to be sorted, compares each
* pair of adjacent items and swaps them if they are in the wrong order.
* The pass through the list is repeated until no swaps are needed, which
* indicates that the list is sorted. Bubble Sort is a c... | Update BubbleSort.java | sorting/BubbleSort.java | Update BubbleSort.java | <ide><path>orting/BubbleSort.java
<ide> * Bubble Sort repeatedly steps through the list to be sorted, compares each
<ide> * pair of adjacent items and swaps them if they are in the wrong order.
<ide> * The pass through the list is repeated until no swaps are needed, which
<del> * indicates that the list is sor... | |
Java | apache-2.0 | ddda3b4bc05c800ef3e1001ff56c03562becb376 | 0 | idekerlab/KEGGscape,parvathisudha/KEGGscape,idekerlab/KEGGscape,parvathisudha/KEGGscape | package org.cytoscape.data.reader.kgml;
import giny.view.NodeView;
import java.awt.Color;
import java.awt.Font;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.cytoscape.data.reader.kgml.gene... | src/org/cytoscape/data/reader/kgml/PathwayMapper.java | package org.cytoscape.data.reader.kgml;
import giny.view.NodeView;
import java.awt.Color;
import java.awt.Font;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.cytoscape.data.reader.kgml.gene... | modified edge attribute
git-svn-id: 7b9ef9234d626f3af90deabf5e615f70ebb4b6a1@7 bac3df7d-1e23-83cd-b5da-1fcb26fd12d5
| src/org/cytoscape/data/reader/kgml/PathwayMapper.java | modified edge attribute | <ide><path>rc/org/cytoscape/data/reader/kgml/PathwayMapper.java
<ide> cpdNode, Semantics.INTERACTION, type, true,
<ide> true);
<ide> edges.add(edge2);
<del> edgeAttr.setAttribute(edge2.getIdentifier(),
<del> KEGG_RELATION_TYPE, type);
<add>// edgeAttr.setAttribute(edge2.getIdentif... | |
JavaScript | mit | 58838037aba926a7f34e495de3616ad03a2f266e | 0 | saydulk/stalker_portal,saydulk/stalker_portal,saydulk/stalker_portal,saydulk/stalker_portal,saydulk/stalker_portal | /**
* Player constructor
* @constructor
*/
function player(){
var self = this;
this.on = false;
this.f_ch_idx = 0;
this.ch_idx = 0;
this.channels;
this.fav_channels;
this.fav_channels_ids;
this.start_time;
this.cur_media_item;
this.need_show_info = 0;
... | c/player.js | /**
* Player constructor
* @constructor
*/
function player(){
var self = this;
this.on = false;
this.f_ch_idx = 0;
this.ch_idx = 0;
this.channels;
this.fav_channels;
this.fav_channels_ids;
this.start_time;
this.cur_media_item;
this.paused = false;
thi... | "Add pause, osd"
| c/player.js | "Add pause, osd" | <ide><path>/player.js
<ide>
<ide> this.start_time;
<ide> this.cur_media_item;
<del> this.paused = false;
<ide> this.need_show_info = 0;
<ide>
<del> this.pause_dom_obj = $('pause');
<add> this.pause = {"on" : false};
<ide>
<ide> this.is_tv = false;
<ide>
<ide> this.prev_l... | |
Java | bsd-3-clause | 11d0d7b12641d1b28d368536b882c6b0adb73564 | 0 | johanneskoester/libmodallogic | /* Copyright (c) 2010, Johannes Köster <johannes.koester@tu-dortmund.de>
* All rights reserved.
*
* This software is open-source under the BSD license; see "license.txt"
* for a description.
*/
package modalLogic.tableau;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import... | LibModalLogic/src/modalLogic/tableau/Branch.java | /* Copyright (c) 2010, Johannes Köster <johannes.koester@tu-dortmund.de>
* All rights reserved.
*
* This software is open-source under the BSD license; see "license.txt"
* for a description.
*/
package modalLogic.tableau;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import... | Minor fix for backtracking non-literal disjuncts | LibModalLogic/src/modalLogic/tableau/Branch.java | Minor fix for backtracking non-literal disjuncts | <ide><path>ibModalLogic/src/modalLogic/tableau/Branch.java
<ide> import java.util.Iterator;
<ide> import java.util.List;
<ide> import modalLogic.formula.Formula;
<add>import modalLogic.formula.Literal;
<ide> import org.apache.commons.collections15.iterators.IteratorChain;
<ide> import util.Pair;
<ide>
<ide> */
<ide... | |
Java | apache-2.0 | b2f7e7e39b7b98d60afbbfb5707f68c6249b8521 | 0 | apache/jackrabbit,apache/jackrabbit,apache/jackrabbit | /*
* 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 ... | contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.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 ... | - Only register event listener if observation is needed.
git-svn-id: 02b679d096242155780e1604e997947d154ee04a@512978 13f79535-47bb-0310-9956-ffa450edef68
| contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.java | - Only register event listener if observation is needed. | <ide><path>ontrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/hierarchy/HierarchyEventListener.java
<ide> // spi does not support observation, or another error occurred.
<ide> }
<ide> this.eventFilter = (filter == null) ? Collections.EMPTY_LIST : Collections.singleton... | |
Java | apache-2.0 | fb0f50de6bdc0541a429ee5604a5f3a347a71fc1 | 0 | yanchenko/droidparts,droidparts/droidparts | /**
* Copyright 2015 Alex Yanchenko
*
* 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 ag... | droidparts/src/org/droidparts/net/http/CookieJar.java | /**
* Copyright 2015 Alex Yanchenko
*
* 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 ag... | CookieJar: fixed UnsupportedOperationException. | droidparts/src/org/droidparts/net/http/CookieJar.java | CookieJar: fixed UnsupportedOperationException. | <ide><path>roidparts/src/org/droidparts/net/http/CookieJar.java
<ide> import java.net.URI;
<ide> import java.util.ArrayList;
<ide> import java.util.Collection;
<add>import java.util.Collections;
<ide> import java.util.Date;
<ide> import java.util.HashMap;
<ide> import java.util.Iterator;
<ide> import java.util.List;
<i... | |
Java | mit | 487ac38262afc137ba6c395a86766f41c2b55e69 | 0 | selig/qea | package monitoring.impl;
import java.util.IdentityHashMap;
import structure.impl.SimplestQEA;
import structure.impl.Verdict;
import structure.intf.QEA;
/**
* A small-step monitor for the Simplest QEA
*
* @author Giles Reger
* @author Helena Cuenca
*/
public class SimplestSmallStepQEAMonitor exten... | code/qea/src/monitoring/impl/SimplestSmallStepQEAMonitor.java | package monitoring.impl;
import java.util.IdentityHashMap;
import structure.impl.SimplestQEA;
import structure.impl.Verdict;
import structure.intf.QEA;
/**
* A small-step monitor for the Simplest QEA
*
* @author Giles Reger
* @author Helena Cuenca
*/
public class SimplestSmallStepQEAMonitor ext... | Functionality for one variable with existential quantification added
| code/qea/src/monitoring/impl/SimplestSmallStepQEAMonitor.java | Functionality for one variable with existential quantification added | <ide><path>ode/qea/src/monitoring/impl/SimplestSmallStepQEAMonitor.java
<ide> * @author Giles Reger
<ide> * @author Helena Cuenca
<ide> */
<del>
<ide> public class SimplestSmallStepQEAMonitor extends SmallStepMonitor {
<ide>
<ide> private IdentityHashMap<Object, Integer> bindings;
<ide>
<ide> private int binding... | |
Java | apache-2.0 | 3b4156f1666cff9e2b0b980647221ed13a65f15d | 0 | JNOSQL/artemis | /*
* Copyright (c) 2017 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http://ww... | artemis-column/src/main/java/org/jnosql/artemis/column/AbstractColumnTemplateAsync.java | /*
* Copyright (c) 2017 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http://ww... | fixes variable name
| artemis-column/src/main/java/org/jnosql/artemis/column/AbstractColumnTemplateAsync.java | fixes variable name | <ide><path>rtemis-column/src/main/java/org/jnosql/artemis/column/AbstractColumnTemplateAsync.java
<ide>
<ide> protected abstract Converters getConverters();
<ide>
<del> private ColumnObserverParser columnQueryParser;
<add> private ColumnObserverParser observer;
<ide>
<ide>
<ide> private ColumnObserver... | |
Java | bsd-2-clause | e297f2799fb7535fe013ce9084aff49aa3c7a49c | 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.transformation.claw.parallelize;
import cx2x.translator.language.ClawLanguage;
import cx2x.translator.language.helper.TransformationHelper;
import cx2x.xcodeml.exception.IllegalTransformationExce... | omni-cx2x/src/cx2x/translator/transformation/claw/parallelize/ParallelizeForward.java | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.translator.transformation.claw.parallelize;
import cx2x.translator.language.ClawLanguage;
import cx2x.translator.language.helper.TransformationHelper;
import cx2x.xcodeml.exception.IllegalTransformationExce... | Avoid problem with optional parameter
#35
| omni-cx2x/src/cx2x/translator/transformation/claw/parallelize/ParallelizeForward.java | Avoid problem with optional parameter | <ide><path>mni-cx2x/src/cx2x/translator/transformation/claw/parallelize/ParallelizeForward.java
<ide> String var = p.getValue();
<ide> String type;
<ide>
<add> XbasicType paramType =
<add> (XbasicType) xcodeml.getTypeTable().get(p.getAttribute(Xattr.TYPE));
<add>
<ide> if(!fDef.getSymbo... | |
Java | mit | 9a654b883e4b5def507ea8e0379c3f4b19140106 | 0 | Ordinastie/MalisisCore | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Ordinastie
*
* 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, c... | src/main/java/net/malisis/core/util/multiblock/MultiBlock.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Ordinastie
*
* 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, c... | Added setOriginData() | src/main/java/net/malisis/core/util/multiblock/MultiBlock.java | Added setOriginData() | <ide><path>rc/main/java/net/malisis/core/util/multiblock/MultiBlock.java
<ide> }
<ide> }
<ide>
<add> public void setOriginData(World world, BlockPos pos, IBlockState state)
<add> {
<add> setRotation(state);
<add> for (MBlockState mstate : this)
<add> {
<add> mstate = mstate.rotate(rotation).offset(pos);
<add> ... | |
Java | apache-2.0 | 23b46b85197ab22b8f4eb9688143ed7b052b353e | 0 | manifold-systems/manifold,manifold-systems/manifold,manifold-systems/manifold | /*
* Copyright (c) 2020 - Manifold Systems LLC
*
* 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 ... | manifold-deps-parent/manifold-json-test/src/test/java/manifold/api/json/RequesterTest.java | /*
* Copyright (c) 2020 - Manifold Systems LLC
*
* 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 ... | fix test breaks on CircleCI, wait for Spark server to initialize before tests run
| manifold-deps-parent/manifold-json-test/src/test/java/manifold/api/json/RequesterTest.java | fix test breaks on CircleCI, wait for Spark server to initialize before tests run | <ide><path>anifold-deps-parent/manifold-json-test/src/test/java/manifold/api/json/RequesterTest.java
<ide> import org.junit.Test;
<ide>
<ide> import abc.Dummy;
<add>import spark.Spark;
<ide>
<ide> import static org.junit.Assert.assertEquals;
<ide>
<ide> public class RequesterTest
<ide> {
<ide> @BeforeClass
<del> ... | |
Java | apache-2.0 | 2713af81680afccc44e8221ee2013bec4a576f2c | 0 | tingletech/jena-joseki,tingletech/jena-joseki,tingletech/jena-joseki | /*
* (c) Copyright 2005, 2006 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.joseki.processors;
import java.util.Iterator;
import java.util.List;
import com.hp.hpl.jena.query.*;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.shared.JenaException;
imp... | src/org/joseki/processors/SPARQL.java | /*
* (c) Copyright 2005, 2006 Hewlett-Packard Development Company, LP
* All rights reserved.
* [See end of file]
*/
package org.joseki.processors;
import java.util.Iterator;
import java.util.List;
import com.hp.hpl.jena.query.*;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.shared.JenaException;
imp... | *** empty log message ***
git-svn-id: 1a37ca0372d1852423f8ef75091f1e501b9acb0e@1114926 13f79535-47bb-0310-9956-ffa450edef68
| src/org/joseki/processors/SPARQL.java | *** empty log message *** | <ide><path>rc/org/joseki/processors/SPARQL.java
<ide> try {
<ide> execQueryWorker(request, response, datasetDesc) ;
<ide> }
<add> catch (QueryExecutionException qEx) { throw qEx; }
<ide> catch (QueryException qEx)
<ide> {
<ide> log.info("Query execution err... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.