lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | 1907ba24e99be42b6c9fc2dbfe93727fdff229f4 | 0 | gbif/checklistbank,gbif/checklistbank | package org.gbif.checklistbank.service.mybatis;
import org.gbif.api.model.checklistbank.NameUsage;
import org.gbif.api.model.checklistbank.NameUsageMetrics;
import org.gbif.api.model.checklistbank.ParsedName;
import org.gbif.api.model.common.paging.Pageable;
import org.gbif.api.model.common.paging.PagingConstants;
imp... | checklistbank-mybatis-service/src/test/java/org/gbif/checklistbank/service/mybatis/NameUsageServiceMyBatisIT.java | package org.gbif.checklistbank.service.mybatis;
import org.gbif.api.model.checklistbank.NameUsage;
import org.gbif.api.model.checklistbank.NameUsageMetrics;
import org.gbif.api.model.checklistbank.ParsedName;
import org.gbif.api.model.common.paging.Pageable;
import org.gbif.api.model.common.paging.PagingConstants;
imp... | test fix
| checklistbank-mybatis-service/src/test/java/org/gbif/checklistbank/service/mybatis/NameUsageServiceMyBatisIT.java | test fix | <ide><path>hecklistbank-mybatis-service/src/test/java/org/gbif/checklistbank/service/mybatis/NameUsageServiceMyBatisIT.java
<ide> assertEquals(2, m.getNumSubgenus());
<ide> assertEquals(2, m.getNumSpecies());
<ide> // not set in dbunit file
<del> assertEquals(0, m.getNumDescendants());
<add> assertEqu... | |
Java | bsd-3-clause | 928ec54fdd31e67027c5a3fd6a7f46dcf8a03be1 | 0 | team-worthwhile/worthwhile,team-worthwhile/worthwhile | package edu.kit.iti.formal.pse.worthwhile.prover;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
imp... | implementierung/src/worthwhile.prover/src/edu/kit/iti/formal/pse/worthwhile/prover/SpecificationChecker.java | package edu.kit.iti.formal.pse.worthwhile.prover;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
imp... | [prover] Wrap to be checked formula in a Program and checkProgram it
- when checking formulae we also want to apply the Worthwhile specific
modifications (like resolving function calls) so wrap the passed
formula in a single Assertion Statement and call checkProgram with it
| implementierung/src/worthwhile.prover/src/edu/kit/iti/formal/pse/worthwhile/prover/SpecificationChecker.java | [prover] Wrap to be checked formula in a Program and checkProgram it | <ide><path>mplementierung/src/worthwhile.prover/src/edu/kit/iti/formal/pse/worthwhile/prover/SpecificationChecker.java
<ide> // create the environment => expression implication
<ide> Implication environmentImpliesFormula = AstNodeCreatorHelper.createImplication(environmentExpression,
<ide> AstNode... | |
Java | apache-2.0 | b4172eb34f4aa109974f5255cef26064d84c4db9 | 0 | RoaringBitmap/RoaringBitmap,RoaringBitmap/RoaringBitmap,RoaringBitmap/RoaringBitmap,RoaringBitmap/RoaringBitmap | /*
* (c) the authors Licensed under the Apache License, Version 2.0.
*/
package org.roaringbitmap.longlong;
import org.roaringbitmap.*;
import org.roaringbitmap.buffer.MutableRoaringBitmap;
import java.io.*;
import java.util.*;
import java.util.Map.Entry;
/**
* Roaring64NavigableMap extends RoaringBitmap to the w... | RoaringBitmap/src/main/java/org/roaringbitmap/longlong/Roaring64NavigableMap.java | /*
* (c) the authors Licensed under the Apache License, Version 2.0.
*/
package org.roaringbitmap.longlong;
import org.roaringbitmap.*;
import org.roaringbitmap.buffer.MutableRoaringBitmap;
import java.io.*;
import java.util.*;
import java.util.Map.Entry;
/**
* Roaring64NavigableMap extends RoaringBitmap to the w... | Use BitmapDataProvider.add in Roaring64NavigableMap.add (#457)
| RoaringBitmap/src/main/java/org/roaringbitmap/longlong/Roaring64NavigableMap.java | Use BitmapDataProvider.add in Roaring64NavigableMap.add (#457) | <ide><path>oaringBitmap/src/main/java/org/roaringbitmap/longlong/Roaring64NavigableMap.java
<ide> pushBitmapForHigh(high, bitmap);
<ide> }
<ide>
<del> if (bitmap instanceof RoaringBitmap) {
<del> ((RoaringBitmap) bitmap).add(startLowAsLong, endLowAsLong);
<del> } else if (bitma... | |
JavaScript | mit | c3b335499a973d5bad29219da44cea87bc9752ca | 0 | medley-inc/simple-calendar,medley-inc/simple-calendar | /*global require, module, window*/
var Calendar = function (properties) {
'use strict';
properties = properties || {};
var calendar = {},
m = window.m || require("mithril"),
actual = new Date(),
functionType = Object.prototype.toString.call(function () {});
properties.time = pro... | Calendar.js | /*global require, module, window*/
var Calendar = function (properties) {
'use strict';
properties = properties || {};
var calendar = {},
m = window.m || require("mithril"),
actual = new Date(),
functionType = Object.prototype.toString.call(function () {});
properties.time = pro... | add control wrapper
| Calendar.js | add control wrapper | <ide><path>alendar.js
<ide>
<ide> calendar.className = {
<ide> wrapperClass: '.ui.row.four.column',
<add> controlWrapperClass: '',
<ide> prevBtnClass: '',
<ide> prevBtnITagClass: '.angle.double.left.icon',
<ide> dateClass: '.center.aligned.eight.wide',
<ide> }... | |
Java | mit | 978d374ceb38e6fa1ea677db27b4ac0e976463ce | 0 | testcontainers/testcontainers-java,rnorth/test-containers,rnorth/test-containers,testcontainers/testcontainers-java,outofcoffee/testcontainers-java,testcontainers/testcontainers-java,rnorth/test-containers,outofcoffee/testcontainers-java,outofcoffee/testcontainers-java | package org.testcontainers.containers;
import com.github.dockerjava.api.command.CreateNetworkCmd;
import lombok.Builder;
import lombok.Getter;
import lombok.Singular;
import org.junit.rules.ExternalResource;
import org.junit.rules.TestRule;
import org.testcontainers.DockerClientFactory;
import org.testcontainers.utili... | core/src/main/java/org/testcontainers/containers/Network.java | package org.testcontainers.containers;
import com.github.dockerjava.api.command.CreateNetworkCmd;
import lombok.Builder;
import lombok.Getter;
import lombok.Singular;
import org.junit.rules.ExternalResource;
import org.junit.rules.TestRule;
import org.testcontainers.DockerClientFactory;
import org.testcontainers.utili... | #1389 Override close method without throws statement (#1392)
| core/src/main/java/org/testcontainers/containers/Network.java | #1389 Override close method without throws statement (#1392) | <ide><path>ore/src/main/java/org/testcontainers/containers/Network.java
<ide> };
<ide>
<ide> String getId();
<add>
<add> @Override
<add> void close();
<ide>
<ide> static Network newNetwork() {
<ide> return builder().build(); | |
Java | mit | 168a65bf3635f8a047f271aec062acc1cbe9206c | 0 | yusufshakeel/Java-Image-Processing-Project | /**
* File: Negative.java
*
* Description:
* Convert color image to negative.
*
* @author Yusuf Shakeel
* Date: 27-01-2014 mon
*
* www.github.com/yusufshakeel/Java-Image-Processing-Project
*/
import java.io.File;
import java.io.IOException;
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;... | example/Negative.java | /**
* File: Negative.java
*
* Description:
* Convert color image to negative.
*
* @author Yusuf Shakeel
* Date: 27-01-2014 mon
*
* www.github.com/yusufshakeel/Java-Image-Processing-Project
*
*/
import java.io.File;
import java.io.IOException;
import java.awt.image.BufferedImage;
import javax.imageio.Image... | update
| example/Negative.java | update | <ide><path>xample/Negative.java
<ide> * Date: 27-01-2014 mon
<ide> *
<ide> * www.github.com/yusufshakeel/Java-Image-Processing-Project
<del> *
<ide> */
<ide>
<ide> import java.io.File; | |
Java | apache-2.0 | 8ccc365bcf12283c639f99781453992b03326c1d | 0 | squarY/voldemort,jalkjaer/voldemort,null-exception/voldemort,bitti/voldemort,jalkjaer/voldemort,dallasmarlow/voldemort,rickbw/voldemort,squarY/voldemort,voldemort/voldemort,arunthirupathi/voldemort,arunthirupathi/voldemort,HB-SI/voldemort,HB-SI/voldemort,null-exception/voldemort,jwlent55/voldemort,jwlent55/voldemort,me... | /*
* Copyright 2010 LinkedIn, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | src/java/voldemort/store/routed/Pipeline.java | /*
* Copyright 2010 LinkedIn, 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... | Comments.
| src/java/voldemort/store/routed/Pipeline.java | Comments. | <ide><path>rc/java/voldemort/store/routed/Pipeline.java
<ide> * asynchronous request and is fed back into the Pipeline where an appropriate
<ide> * 'response handler' action is executed.
<ide> *
<add> * <p/>
<add> *
<ide> * A Pipeline instance is created per-request inside {@link RoutedStore}. This
<ide> * is du... | |
Java | mit | 54051da5f7a29c91bf9b59fe89cc3a70a3379460 | 0 | facebookarchive/AntennaPod,jimulabs/AntennaPod-mirror,gaohongyuan/AntennaPod,udif/AntennaPod,gaohongyuan/AntennaPod,wooi/AntennaPod,wangjun/AntennaPod,drabux/AntennaPod,orelogo/AntennaPod,TomHennen/AntennaPod,gk23/AntennaPod,wskplho/AntennaPod,mxttie/AntennaPod,SpicyCurry/AntennaPod,waylife/AntennaPod,volhol/AntennaPod... | package de.danoeh.antennapod.service.playback;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.*;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.AudioManager;
impor... | src/de/danoeh/antennapod/service/playback/PlaybackService.java | package de.danoeh.antennapod.service.playback;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.*;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.AudioManager;
impor... | PlaybackPreferences were not written correctly when a playback error occurred (issue #374)
| src/de/danoeh/antennapod/service/playback/PlaybackService.java | PlaybackPreferences were not written correctly when a playback error occurred (issue #374) | <ide><path>rc/de/danoeh/antennapod/service/playback/PlaybackService.java
<ide> taskManager.startWidgetUpdater();
<ide> setupNotification(newInfo);
<ide> break;
<add> case ERROR:
<add> writePlaybackPreferencesNoMediaPlaying();
... | |
Java | lgpl-2.1 | da04f72e5092799918ca5224551d12fb303df27c | 0 | modius/railo,getrailo/railo,modius/railo,getrailo/railo,getrailo/railo,JordanReiter/railo,JordanReiter/railo | package railo.runtime.tag;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Enumeration;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.Htt... | railo-java/railo-core/src/railo/runtime/tag/Content.java | package railo.runtime.tag;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Enumeration;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.Htt... | removed unnecessary cast
| railo-java/railo-core/src/railo/runtime/tag/Content.java | removed unnecessary cast | <ide><path>ailo-java/railo-core/src/railo/runtime/tag/Content.java
<ide>
<ide> private OutputStream getOutputStream() throws PageException, IOException {
<ide> try {
<del> return ((PageContextImpl)pageContext).getResponseStream();
<add> return pageContext.getResponseStream();
<ide> }
... | |
Java | mpl-2.0 | a9a8cf05cbf4854ca10a7ff93412690a4bb1f070 | 0 | milankarunarathne/openmrs-core,jcantu1988/openmrs-core,prisamuel/openmrs-core,iLoop2/openmrs-core,prisamuel/openmrs-core,lilo2k/openmrs-core,spereverziev/openmrs-core,foolchan2556/openmrs-core,ssmusoke/openmrs-core,donaldgavis/openmrs-core,rbtracker/openmrs-core,joansmith/openmrs-core,andyvand/OpenMRS,hoquangtruong/Tes... | /**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS... | src/api/org/openmrs/module/ModuleFileParser.java | /**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS... | Added versions 1.1 and 1.2 to the valid config file versions -#1193
git-svn-id: ce3478dfdc990238714fcdf4fc6855b7489218cf@7272 5bac5841-c719-aa4e-b3fe-cce5062f897a
| src/api/org/openmrs/module/ModuleFileParser.java | Added versions 1.1 and 1.2 to the valid config file versions -#1193 | <ide><path>rc/api/org/openmrs/module/ModuleFileParser.java
<ide> import java.io.InputStream;
<ide> import java.io.OutputStream;
<ide> import java.io.StringReader;
<add>import java.util.ArrayList;
<ide> import java.util.HashMap;
<ide> import java.util.IdentityHashMap;
<ide> import java.util.List;
<ide> private File mod... | |
Java | mit | 60f0885958c0600ee7eff0eaa0045694d2e89501 | 0 | AfricasTalkingLtd/africastalking-java,AfricasTalkingLtd/africastalking-java,AfricasTalkingLtd/africastalking-java | package com.africastalking.example;
import com.africastalking.*;
import com.africastalking.payment.recipient.Consumer;
import com.africastalking.voice.action.*;
import com.google.gson.Gson;
import java.io.IOException;
import java.net.*;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import ... | example/src/main/java/com/africastalking/example/App.java | package com.africastalking.example;
import com.africastalking.*;
import com.africastalking.payment.recipient.Consumer;
import com.africastalking.voice.action.*;
import com.google.gson.Gson;
import java.io.IOException;
import java.net.*;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import ... | Update example App
| example/src/main/java/com/africastalking/example/App.java | Update example App | <ide><path>xample/src/main/java/com/africastalking/example/App.java
<ide> post("/airtime/:phone", (req, res) -> airtime.send(req.params("phone"), req.queryParams("currencyCode"), Float.parseFloat(req.queryParams("amount"))), gson::toJson);
<ide>
<ide> // Mobile Checkout
<del> post("/mobile/check... | |
Java | apache-2.0 | 09f656809fed47d4d8d5b263c194bb2ea0867bee | 0 | ol-loginov/intellij-community,michaelgallacher/intellij-community,Lekanich/intellij-community,blademainer/intellij-community,fengbaicanhe/intellij-community,ivan-fedorov/intellij-community,idea4bsd/idea4bsd,blademainer/intellij-community,mglukhikh/intellij-community,nicolargo/intellij-community,signed/intellij-communit... | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | java/java-analysis-impl/src/com/intellij/codeInspection/bytecodeAnalysis/ClassDataIndexer.java | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | optimization: no need to infer null->... if param is @NotNull
| java/java-analysis-impl/src/com/intellij/codeInspection/bytecodeAnalysis/ClassDataIndexer.java | optimization: no need to infer null->... if param is @NotNull | <ide><path>ava/java-analysis-impl/src/com/intellij/codeInspection/bytecodeAnalysis/ClassDataIndexer.java
<ide> int argSort = argType.getSort();
<ide> boolean isReferenceArg = argSort == Type.OBJECT || argSort == Type.ARRAY;
<ide> boolean isBooleanArg = Type.BOOLEAN_TYPE.e... | |
Java | mit | 173018a7cefff72bf352ff7bff9cc4b470696ba0 | 0 | ev3dev-lang-java/ev3dev-lang-java,jabrena/ev3dev-lang-java | package ev3dev.utils;
import org.slf4j.Logger;
import java.io.*;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* The class re... | src/main/java/ev3dev/utils/Sysfs.java | package ev3dev.utils;
import org.slf4j.Logger;
import java.io.*;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* The class responsible to interact with Sysfs on EV3De... | Use Files.write() for LCD write
| src/main/java/ev3dev/utils/Sysfs.java | Use Files.write() for LCD write | <ide><path>rc/main/java/ev3dev/utils/Sysfs.java
<ide> import java.nio.file.Files;
<ide> import java.nio.file.Path;
<ide> import java.nio.file.Paths;
<add>import java.nio.file.StandardOpenOption;
<ide> import java.util.ArrayList;
<ide> import java.util.Arrays;
<ide> import java.util.List;
<ide>
<ide> /**
<ide> * The c... | |
JavaScript | agpl-3.0 | bef32cc48a6dec8d5fca37380c04d6d48dfd8d0d | 0 | fzadow/CATMAID,fzadow/CATMAID,fzadow/CATMAID,fzadow/CATMAID | /* -*- mode: espresso; espresso-indent-level: 2; indent-tabs-mode: nil -*- */
/* vim: set softtabstop=2 shiftwidth=2 tabstop=2 expandtab: */
"use strict";
/* Only methods of the WebGLApplication object elicit a render. All other methods
* do not, except for those that use continuations to load data (meshes) or to
*... | django/applications/catmaid/static/js/webglapp.js | /* -*- mode: espresso; espresso-indent-level: 2; indent-tabs-mode: nil -*- */
/* vim: set softtabstop=2 shiftwidth=2 tabstop=2 expandtab: */
"use strict";
/* Only methods of the WebGLApplication object elicit a render. All other methods
* do not, except for those that use continuations to load data (meshes) or to
*... | 3D viewer: explicitely define floor edges
This makes the Three.js update easier, because Face4 was removed.
| django/applications/catmaid/static/js/webglapp.js | 3D viewer: explicitely define floor edges | <ide><path>jango/applications/catmaid/static/js/webglapp.js
<ide> var zLines = nBaseLines + 2 * zExtent;
<ide> var width = max_x - min_x;
<ide> var height = max_z - min_z;
<del> var plane = new THREE.PlaneGeometry(width, height, xLines, zLines);
<del> var material = new THREE.MeshBasicMaterial({
<del>... | |
Java | bsd-2-clause | f4dd4159d444313c1293036ce363fd33aa4e1bee | 0 | scifio/scifio | //
// TiffParser.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 Fre... | components/bio-formats/src/loci/formats/tiff/TiffParser.java | //
// TiffParser.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 Fre... | Don't attempt to read IFDs with offsets beyond the end of the file.
| components/bio-formats/src/loci/formats/tiff/TiffParser.java | Don't attempt to read IFDs with offsets beyond the end of the file. | <ide><path>omponents/bio-formats/src/loci/formats/tiff/TiffParser.java
<ide>
<ide> /** Gets the IFD stored at the given offset. */
<ide> public IFD getIFD(long offset) throws IOException {
<del> if (offset < 0) return null;
<add> if (offset < 0 || offset >= in.length()) return null;
<ide> IFD ifd = new ... | |
Java | mit | error: pathspec 'src/main/java/com/carpoolbuddy/data/dao/DaoResult.java' did not match any file(s) known to git
| 7ae3030396ae009d20afed9129ce8d7c54c73093 | 1 | ceilfors/experian-hackathon-0,ceilfors/experian-hackathon-0 | package com.carpoolbuddy.data.dao;
/**
* Created with IntelliJ IDEA.
* User: alexus
* Date: 11/4/13
* Time: 3:14 PM
* To change this template use File | Settings | File Templates.
*/
public enum DaoResult {
RECORD_ALREADY_EXIST,
RECORD_CREATED_SUCCESSFULLY,
RECORD_CREATION_FAILED
}
| src/main/java/com/carpoolbuddy/data/dao/DaoResult.java | Add DaoResult back in
| src/main/java/com/carpoolbuddy/data/dao/DaoResult.java | Add DaoResult back in | <ide><path>rc/main/java/com/carpoolbuddy/data/dao/DaoResult.java
<add>package com.carpoolbuddy.data.dao;
<add>
<add>/**
<add> * Created with IntelliJ IDEA.
<add> * User: alexus
<add> * Date: 11/4/13
<add> * Time: 3:14 PM
<add> * To change this template use File | Settings | File Templates.
<add> */
<add>public enum Dao... | |
Java | bsd-3-clause | ea4434c9d32a6e16e741fe94c291c0a8f980ed33 | 0 | e-mission/e-mission-data-collection,e-mission/e-mission-data-collection,e-mission/e-mission-data-collection | package edu.berkeley.eecs.emission.cordova.tracker;
import edu.berkeley.eecs.emission.R;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CallbackContext;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import androi... | src/android/DataCollectionPlugin.java | package edu.berkeley.eecs.emission.cordova.tracker;
import edu.berkeley.eecs.emission.R;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CallbackContext;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import androi... | Fix incorrect initialization during onboarding when `markConsented` is called
This fixes
https://github.com/e-mission/e-mission-docs/issues/680#issuecomment-971953421
**Behavior before the change:**
Receive initialize as part of plugin creation
```
public void pluginInitialize() {
...
TripDiaryS... | src/android/DataCollectionPlugin.java | Fix incorrect initialization during onboarding when `markConsented` is called | <ide><path>rc/android/DataCollectionPlugin.java
<ide> JSONObject newConsent = data.getJSONObject(0);
<ide> ConsentConfig cfg = new Gson().fromJson(newConsent.toString(), ConsentConfig.class);
<ide> ConfigManager.setConsented(ctxt, cfg);
<del> TripDiaryStateMachineForegroun... | |
Java | apache-2.0 | 549bbc33a21a056ea877df36c72dfa8f9f40d72a | 0 | laverca/laverca | package fi.laverca.samples;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
impo... | samples-src/fi/laverca/samples/SignData.java | package fi.laverca.samples;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
impo... | Replaced browse button with cancel in SignData sample | samples-src/fi/laverca/samples/SignData.java | Replaced browse button with cancel in SignData sample | <ide><path>amples-src/fi/laverca/samples/SignData.java
<ide> public class SignData {
<ide>
<ide> private static final Log log = LogFactory.getLog(SignData.class);
<del>
<add> private static FiComRequest req;
<ide> private static JTextArea responseBox = new JTextArea();
<ide>
<ide> /**
<ide>
<ide> ... | |
Java | apache-2.0 | 06c269da8e6df801cce1d7194e7327d3ae8a8bbd | 0 | OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine | package org.ovirt.engine.core.bll;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyInt;
import static org.mockito.Matchers.anyList;
import static org.mockito.Matchers.anyListOf;
import static org.mockit... | backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddVmCommandTest.java | package org.ovirt.engine.core.bll;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyInt;
import static org.mockito.Matchers.anyList;
import static org.mockito.Matchers.anyListOf;
import static org.mockit... | core: AddVmCommandTest asserts
Use the pre-existing CanDoActionTestUtils wherever possible instead of
re-implementing its functionality in different places.
Change-Id: I4906008f67576bd3b52c16e347f2d6b6b7189281
Signed-off-by: Allon Mureinik <abc9ddaceaf0c059a5d9bc2aed71f25cb5370dba@redhat.com>
| backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddVmCommandTest.java | core: AddVmCommandTest asserts | <ide><path>ackend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddVmCommandTest.java
<ide> mockUninterestingMethods(cmd);
<ide> mockGetAllSnapshots(cmd);
<ide> doReturn(createStoragePool()).when(cmd).getStoragePool();
<del> assertFalse("If the disk is too big, canDoAction s... | |
JavaScript | mit | b3e3b61211909cacffb8bd37e467e7c4b5c2b093 | 0 | TWExchangeSolutions/es-components,TWExchangeSolutions/es-components | import React, { useState, useEffect, useRef, Children } from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import Button from './Button';
import LinkButton from './LinkButton';
import useUniqueId from '../../util/useUniqueId';
import RootCloseWrapper from '../../util/RootCloseWra... | packages/es-components/src/components/controls/buttons/DropdownButton.js | import React, { useState, useEffect, useRef, Children } from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import Button from './Button';
import LinkButton from './LinkButton';
import useUniqueId from '../../util/useUniqueId';
import RootCloseWrapper from '../../util/RootCloseWra... | Update: using getRootNode in DropdownButton
| packages/es-components/src/components/controls/buttons/DropdownButton.js | Update: using getRootNode in DropdownButton | <ide><path>ackages/es-components/src/components/controls/buttons/DropdownButton.js
<ide> }
<ide>
<ide> function isCurrentlyActive(node) {
<del> return document.activeElement === node;
<add> const rootNode = node.getRootNode();
<add> return rootNode.activeElement === node;
<ide> }
<ide>
<ide> function focusTrap(nod... | |
Java | apache-2.0 | 52962baf39ab1cab8a0122113c9d380d85d6fdd1 | 0 | ptkool/presto,prestodb/presto,twitter-forks/presto,ptkool/presto,zzhao0/presto,stewartpark/presto,stewartpark/presto,prestodb/presto,arhimondr/presto,zzhao0/presto,facebook/presto,twitter-forks/presto,zzhao0/presto,facebook/presto,shixuan-fan/presto,EvilMcJerkface/presto,EvilMcJerkface/presto,ptkool/presto,shixuan-fan/... | /*
* 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
* distribut... | presto-hive/src/main/java/com/facebook/presto/hive/security/SqlStandardAccessControl.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
* distribut... | Introduce isTableOwner method for readability
| presto-hive/src/main/java/com/facebook/presto/hive/security/SqlStandardAccessControl.java | Introduce isTableOwner method for readability | <ide><path>resto-hive/src/main/java/com/facebook/presto/hive/security/SqlStandardAccessControl.java
<ide> @Override
<ide> public void checkCanDropTable(ConnectorTransactionHandle transaction, ConnectorIdentity identity, SchemaTableName tableName)
<ide> {
<del> if (!checkTablePermission(transaction, i... | |
JavaScript | mit | d27d39555aedc16fc55e4ce4c2e8be21fd183de8 | 0 | ghaiklor/generator-sails-rest-api,konstantinzolotarev/generator-trails,italoag/generator-sails-rest-api,tnunes/generator-trails,eithewliter5518/generator-sails-rest-api,mhipo1364/generator-sails-rest-api,italoag/generator-sails-rest-api,jaumard/generator-trails,IncoCode/generator-sails-rest-api,synergycns/generator-sai... | /**
* Passport configuration file where you should configure all your strategies
* @description :: Configuration file where you configure your passport authentication
*/
var passport = require('passport'),
LocalStrategy = require('passport-local').Strategy,
JwtStrategy = require('passport-jwt').Strategy,
... | generators/app/templates/config/passport.js | /**
* Passport configuration file where you should configure all your strategies
* @description :: Configuration file where you configure your passport authentication
*/
var passport = require('passport'),
LocalStrategy = require('passport-local').Strategy,
JwtStrategy = require('passport-jwt').Strategy,
... | Remove sign in via username
| generators/app/templates/config/passport.js | Remove sign in via username | <ide><path>enerators/app/templates/config/passport.js
<ide>
<ide> /**
<ide> * Triggers when user authenticates via local strategy
<del> * @param {String} username Username from body field in request
<add> * @param {String} email Email from body field in request
<ide> * @param {String} password Password from body fie... | |
JavaScript | mit | 62f9143bc5fa49f3441a462014c9bde976d3691c | 0 | TylerOBrien/LudusJS | /*
* LudusJS
* https://github.com/TylerOBrien/LudusJS
*
* Copyright (c) 2012 Tyler O'Brien
*
* 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 ... | src/ludus.js | /*
* LudusJS
* https://github.com/TylerOBrien/LudusJS
*
* Copyright (c) 2012 Tyler O'Brien
*
* 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 ... | Added new function "Ludus.all()"
Was originally named "compare".
Changes:
- Now if no predicate is given the data in each
element themselves will be used for the true/false
check
| src/ludus.js | Added new function "Ludus.all()" | <ide><path>rc/ludus.js
<ide> */
<ide> SendAJAXRequest(request, request);
<ide> };
<add>
<add> /*
<add> * all() returns Boolean
<add> * Input: Array|Object, Function
<add> * Returns true if every call to the predicate also returns true.
<add> * Returns false otherwise, or if... | |
JavaScript | mit | 919074aae49459af5042ba4ba3a3833a2d600139 | 0 | ansal/jaagademovote | // Routes for JaagaDemoVote app
// global backbone app
var JaagaDemoVote = JaagaDemoVote || {};
(function(){
'use strict';
// shortcut
var J = JaagaDemoVote;
// app containersb
// html rendered by backbone views are put into this container
var $container = $('#appContainer');
// spinner template
va... | public/js/routes.js | // Routes for JaagaDemoVote app
// global backbone app
var JaagaDemoVote = JaagaDemoVote || {};
(function(){
'use strict';
// shortcut
var J = JaagaDemoVote;
// app containersb
// html rendered by backbone views are put into this container
var $container = $('#appContainer');
// spinner template
va... | dashboard and user management now only fetches collection if not already loaded
| public/js/routes.js | dashboard and user management now only fetches collection if not already loaded | <ide><path>ublic/js/routes.js
<ide>
<ide> adminUsers: function() {
<ide> $container.html(spinnerHTML);
<del> J.Collections.AllowedUsers.fetch({
<add> if(J.Collections.AllowedUsers.length !== 0) {
<add> J.AppState.currentView = new J.Views.AdminUsersView;
<add> $container.html( J.AppSt... | |
Java | apache-2.0 | 347f6dcafad795da44c49f193aa9b0850d3037c4 | 0 | roele/sling,ieb/sling,Nimco/sling,anchela/sling,dulvac/sling,tteofili/sling,headwirecom/sling,mcdan/sling,cleliameneghin/sling,JEBailey/sling,JEBailey/sling,awadheshv/sling,gutsy/sling,awadheshv/sling,cleliameneghin/sling,tteofili/sling,headwirecom/sling,Sivaramvt/sling,plutext/sling,JEBailey/sling,mikibrv/sling,tmaret... | /*
* 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 ... | microsling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.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 ... | SLING-88 Add global variable "resource" for the scripts
git-svn-id: c3eb811ccca381e673aa62a65336ec26649ed58c@591049 13f79535-47bb-0310-9956-ffa450edef68
| microsling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.java | SLING-88 Add global variable "resource" for the scripts | <ide><path>icrosling/microsling-core/src/main/java/org/apache/sling/microsling/scripting/MicroslingScriptResolver.java
<ide> // prepare the properties for the script
<ide> Map<String, Object> props = new HashMap<String, Object>();
<ide> props.put(SlingScriptEngine.SLING, helper);
<ad... | |
Java | apache-2.0 | 18dda98b1e3162ba2ea54ee476258bd0741d50a3 | 0 | soluvas/karaf,soluvas/karaf,soluvas/karaf | /*
* 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... | diagnostic/common/src/main/java/org/apache/karaf/diagnostic/common/LogDumpProvider.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... | [KARAF-951] LogDumpProvider ungets the ConfigAdmin service ref
git-svn-id: 71d8a689455c5fbb0f077bc40adcfc391e14cb9d@1188594 13f79535-47bb-0310-9956-ffa450edef68
| diagnostic/common/src/main/java/org/apache/karaf/diagnostic/common/LogDumpProvider.java | [KARAF-951] LogDumpProvider ungets the ConfigAdmin service ref | <ide><path>iagnostic/common/src/main/java/org/apache/karaf/diagnostic/common/LogDumpProvider.java
<ide>
<ide> // get the PAX Logging configuration
<ide> ConfigurationAdmin configurationAdmin = (ConfigurationAdmin) bundleContext.getService(ref);
<del> Configuration configuration = configurationAd... | |
JavaScript | mit | bc7e2cf5324cf22c69b5864b37b23cdfe96e54d0 | 0 | alairjt/modular-pkg-1,alairjt/modular-pkg-1,alairjt/modular-home,charlie77/angularAMD,charlie77/angularAMD,aSimpleMan/angularAMD,the-unsoul/AngularAMD_TEST,the-unsoul/AngularAMD_TEST,marcoslin/angularAMD,paulodrade/angularAMD,marcoslin/angularAMD,alairjt/modular-home,freedomdebug/angularAMD,kannaiahchinni/angularAMD,pa... | /*jslint node: true, vars: true, nomen: true */
/*globals define, angular */
define(['angular'], function () {
var ngAMD = {},
orig_angular,
alternate_queue = [],
app_injector,
app_cached_providers = {};
/**
* Return route for given controller and set the resolver to i... | src/angularAMD.js | /*jslint node: true, vars: true, nomen: true */
/*globals define, angular */
define(['angular'], function () {
var ngAMD = {},
orig_angular,
alternate_queue = [],
app_injector,
app_cached_providers = {};
/**
* Return route for given controller and set the resolver to i... | Fixed the missing array syntax for dependency injection on app.config.
| src/angularAMD.js | Fixed the missing array syntax for dependency injection on app.config. | <ide><path>rc/angularAMD.js
<ide> );
<ide>
<ide> // Get the injector for the app
<del> app.run(function ($injector) {
<add> app.run(['$injector', function ($injector) {
<ide> // $injector must be obtained in .run instead of .config
<ide> app_injector = $inj... | |
Java | apache-2.0 | d321c00712d6f8e60f80256964a4c28b0f12f93f | 0 | naver/android-pull-to-refresh,Ranjan101/android-pull-to-refresh,handstudio/android-pull-to-refresh,LinKingR/android-pull-to-refresh,wskplho/android-pull-to-refresh,androidjhent/naver.v2,Ranjan101/android-pull-to-refresh,wskplho/android-pull-to-refresh,androidjhent/naver,toker/android-pull-to-refresh | /*******************************************************************************
* Copyright 2011, 2012 Chris Banes.
* Copyright 2013 Naver Business Platform Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... | library/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java | /*******************************************************************************
* Copyright 2011, 2012 Chris Banes.
* Copyright 2013 Naver Business Platform Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... | [issue-139] Apply animation options
| library/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java | [issue-139] Apply animation options | <ide><path>ibrary/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java
<ide> }
<ide> if (mMode.showGoogleStyle()) {
<ide> // Fade-out mRefreshableView
<del> AlphaAnimator.fadeout(mRefreshableView, 500);
<add> if ( mRefeshableViewHideWhileRefreshingEnabled == true ) {
<add> AlphaAnimator... | |
Java | epl-1.0 | 567f90f38f86180955e62572424c0b0a9a03b086 | 0 | ControlSystemStudio/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs... | package org.csstudio.opibuilder.editparts;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.logging.Level;
import org.csstu... | applications/plugins/org.csstudio.opibuilder/src/org/csstudio/opibuilder/editparts/PVWidgetEditpartDelegate.java | package org.csstudio.opibuilder.editparts;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.logging.Level;
import org.csstu... | Fix alarm colours so that background and foreground colours are saved when
they are changed, and that the figureOKStatus is saved in edit mode as well
as run mode so that checking alarm state doesn't lose your saved colours
| applications/plugins/org.csstudio.opibuilder/src/org/csstudio/opibuilder/editparts/PVWidgetEditpartDelegate.java | Fix alarm colours so that background and foreground colours are saved when they are changed, and that the figureOKStatus is saved in edit mode as well as run mode so that checking alarm state doesn't lose your saved colours | <ide><path>pplications/plugins/org.csstudio.opibuilder/src/org/csstudio/opibuilder/editparts/PVWidgetEditpartDelegate.java
<ide> import org.csstudio.opibuilder.util.AlarmRepresentationScheme;
<ide> import org.csstudio.opibuilder.util.BOYPVFactory;
<ide> import org.csstudio.opibuilder.util.ErrorHandlerUtil;
<add>import ... | |
Java | bsd-3-clause | error: pathspec 'plugins/src/org/lockss/plugin/highwire/TriggeredHighWirePermissionCheckerFactory.java' did not match any file(s) known to git
| 736ab3af9fbd9bc7c998ef56ddbc2e7da9a8a262 | 1 | edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon | /*
* $Id: TriggeredHighWirePermissionCheckerFactory.java,v 1.1 2012-05-14 20:58:36 akanshab01 Exp $
*/
/*
Copyright (c) 2000-2006 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated do... | plugins/src/org/lockss/plugin/highwire/TriggeredHighWirePermissionCheckerFactory.java | HighwirePermissionFactory for Triggered content.
git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@17245 4f837ed2-42f5-46e7-a7a5-fa17313484d4
| plugins/src/org/lockss/plugin/highwire/TriggeredHighWirePermissionCheckerFactory.java | HighwirePermissionFactory for Triggered content. | <ide><path>lugins/src/org/lockss/plugin/highwire/TriggeredHighWirePermissionCheckerFactory.java
<add>/*
<add> * $Id: TriggeredHighWirePermissionCheckerFactory.java,v 1.1 2012-05-14 20:58:36 akanshab01 Exp $
<add> */
<add>
<add>/*
<add>
<add>Copyright (c) 2000-2006 Board of Trustees of Leland Stanford Jr. University,
<a... | |
Java | apache-2.0 | 3f335207a03c6ad280b2a027d6c1ba1608650e38 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij;
import com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory;
import com.intellij.idea.Bombed;
import com.intellij.idea.RecordExecution;
import com.intel... | platform/testFramework/src/com/intellij/TestAll.java | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij;
import com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory;
import com.intellij.idea.Bombed;
import com.intellij.idea.RecordExecution;
import com.intel... | IDEA-CR-62086 0 is valid value for MAX_FAILURE_TEST_COUNT
GitOrigin-RevId: 148d05528b18aeae8ef3e69edbe7519c7d6add6b | platform/testFramework/src/com/intellij/TestAll.java | IDEA-CR-62086 0 is valid value for MAX_FAILURE_TEST_COUNT | <ide><path>latform/testFramework/src/com/intellij/TestAll.java
<ide> private void runNextTest(final TestResult testResult, int totalTests, Class<?> testCaseClass) {
<ide> myRunTests++;
<ide>
<del> if (testResult.errorCount() + testResult.failureCount() > MAX_FAILURE_TEST_COUNT && MAX_FAILURE_TEST_COUNT > 0) {... | |
Java | apache-2.0 | 765e903e184bc53706a1f3fed425c250ab2a11a0 | 0 | mariosotil/couchbase-lite-java-core,mariosotil/couchbase-lite-java-core,gotmyjobs/couchbase-lite-java-core,Spotme/couchbase-lite-java-core,deleet/couchbase-lite-java-core,mariosotil/couchbase-lite-java-core,netsense-sas/couchbase-lite-java-core,couchbase/couchbase-lite-java-core,4u7/couchbase-lite-java-core | package com.couchbase.cblite.support;
import android.util.Log;
import com.couchbase.cblite.CBLDatabase;
import org.apache.http.util.ByteArrayBuffer;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.StringTokenizer;
public class CBLMultipartR... | src/main/java/com/couchbase/cblite/support/CBLMultipartReader.java | package com.couchbase.cblite.support;
import android.util.Log;
import com.couchbase.cblite.CBLDatabase;
import org.apache.http.util.ByteArrayBuffer;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.StringTokenizer;
public class CBLMultipartR... | Add call to trimbuffer for issue #123
https://github.com/couchbase/couchbase-lite-android/issues/123
| src/main/java/com/couchbase/cblite/support/CBLMultipartReader.java | Add call to trimbuffer for issue #123 | <ide><path>rc/main/java/com/couchbase/cblite/support/CBLMultipartReader.java
<ide> byte[] newBuffer = Arrays.copyOfRange(buffer.toByteArray(), location, buffer.length());
<ide> buffer.clear();
<ide> buffer.append(newBuffer, 0, newBuffer.length);
<add>
<add> }
<add>
<add> private void trimB... | |
Java | apache-2.0 | 14b1b47b162009854eb6566eb233c1a783ff643b | 0 | bryantrobbins/baseball,bryantrobbins/baseball,bryantrobbins/baseball,bryantrobbins/baseball,bryantrobbins/baseball | package com.btr3.service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Base64;
import java.io.UnsupportedEncodingException;
import com.amazonaws.services.cloudformation.AmazonCloudFormationClient;
import com.amazonaws.services.cloudformation.model.DescribeStackResourceReques... | api/src/main/java/com/btr3/service/ExportService.java | package com.btr3.service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Base64;
import java.io.UnsupportedEncodingException;
import com.amazonaws.services.cloudformation.AmazonCloudFormationClient;
import com.amazonaws.services.cloudformation.model.DescribeStackResourceReques... | More checked exception bs
| api/src/main/java/com/btr3/service/ExportService.java | More checked exception bs | <ide><path>pi/src/main/java/com/btr3/service/ExportService.java
<ide> String jobId = "stupid.csv";
<ide>
<ide> // Base64 encode the job details
<add> String encoded = "";
<ide> try {
<del> String encoded = Base64.getEncoder().encodeToString(jobDetails.getBytes("utf-8"));
<add> encoded = Base64.g... | |
Java | agpl-3.0 | 121bca49ca8da4278aa02fd32dc63a310dfe5184 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | 3ddce3dc-2e60-11e5-9284-b827eb9e62be | hello.java | 3dd77e42-2e60-11e5-9284-b827eb9e62be | 3ddce3dc-2e60-11e5-9284-b827eb9e62be | hello.java | 3ddce3dc-2e60-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>3dd77e42-2e60-11e5-9284-b827eb9e62be
<add>3ddce3dc-2e60-11e5-9284-b827eb9e62be | |
Java | agpl-3.0 | 6a36a15e1b6dcb6db2d1e191563ffdba531e8036 | 0 | geomajas/geomajas-project-client-gwt,geomajas/geomajas-project-server,geomajas/geomajas-project-client-gwt2,geomajas/geomajas-project-client-gwt,geomajas/geomajas-project-client-gwt,geomajas/geomajas-project-server,geomajas/geomajas-project-server,geomajas/geomajas-project-client-gwt2 | /*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the Apache
* License, Version 2.0. All contributions in this program are covered
* by the Geomajas Contributor... | project/geomajas-project-sld-editor/expert-gwt/src/main/java/org/geomajas/sld/editor/expert/server/service/InMemorySldServiceImpl.java | /*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the Apache
* License, Version 2.0. All contributions in this program are covered
* by the Geomajas Contributor... | SLDE-14: pretty print XML, be more lenient on SLD-version property.
| project/geomajas-project-sld-editor/expert-gwt/src/main/java/org/geomajas/sld/editor/expert/server/service/InMemorySldServiceImpl.java | SLDE-14: pretty print XML, be more lenient on SLD-version property. | <ide><path>roject/geomajas-project-sld-editor/expert-gwt/src/main/java/org/geomajas/sld/editor/expert/server/service/InMemorySldServiceImpl.java
<ide> */
<ide> public RawSld toXml(StyledLayerDescriptorInfo sldi) throws SldException {
<ide> try {
<add> if (sldi.getVersion() == null) {
<add> sldi.setVersion("1.... | |
Java | agpl-3.0 | error: pathspec 'algos/addition.java' did not match any file(s) known to git
| 87c52d380d4ccb801dfd2dd0c64e1291f2b44f93 | 1 | oliverwreath/Algorithms,oliverwreath/Algorithms,oliverwreath/Algorithms | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package algos;
import java.io.*;
/**
*
* @author HunterX
*/
public class Basic {
/**
* @param args the command line arguments
*/
public static int[] swap(int a, int b){
a = a^b;
... | algos/addition.java | Create addition.java | algos/addition.java | Create addition.java | <ide><path>lgos/addition.java
<add>/*
<add> * To change this template, choose Tools | Templates
<add> * and open the template in the editor.
<add> */
<add>package algos;
<add>import java.io.*;
<add>
<add>/**
<add> *
<add> * @author HunterX
<add> */
<add>public class Basic {
<add>
<add> /**
<add> * @param args th... | |
Java | apache-2.0 | 7b31effcb460a0a88cbe8c89a277e999fb54d38e | 0 | AlienQueen/wicket,selckin/wicket,topicusonderwijs/wicket,aldaris/wicket,freiheit-com/wicket,astrapi69/wicket,dashorst/wicket,topicusonderwijs/wicket,AlienQueen/wicket,freiheit-com/wicket,klopfdreh/wicket,astrapi69/wicket,aldaris/wicket,topicusonderwijs/wicket,apache/wicket,AlienQueen/wicket,dashorst/wicket,aldaris/wick... | /*
* 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... | wicket-core/src/main/java/org/apache/wicket/core/util/lang/WicketObjects.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... | WICKET-4867 Detach the object before calculating its size
| wicket-core/src/main/java/org/apache/wicket/core/util/lang/WicketObjects.java | WICKET-4867 Detach the object before calculating its size | <ide><path>icket-core/src/main/java/org/apache/wicket/core/util/lang/WicketObjects.java
<ide> import org.apache.wicket.Component;
<ide> import org.apache.wicket.WicketRuntimeException;
<ide> import org.apache.wicket.application.IClassResolver;
<add>import org.apache.wicket.model.IDetachable;
<ide> import org.apache.wic... | |
Java | apache-2.0 | e8c71967bff92ad64e55aacd69ab7cc249dfc678 | 0 | JasonHZXie/Mycat-Server,RiverWeng/Mycat-Server,qwer233968/Mycat-Server,shang1991/Mycat-Server,kelvin-ma/Mycat-Server,aimer1027/Mycat-Server,enjoy0924/Mycat-Server,cshsh/Mycat-Server,yonglehou/Mycat-Server,ccvcd/Mycat-Server,aimer1027/Mycat-Server,vniu/Mycat-Server,yonglehou/Mycat-Server,belloner/Mycat-Server,qwer233968... | /*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms ... | src/main/java/org/opencloudb/mpp/RowDataPacketGrouper.java | /*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms ... | 添加having 支持。目前只支持 =,>,<,!=,>=,<=,空判断。
| src/main/java/org/opencloudb/mpp/RowDataPacketGrouper.java | 添加having 支持。目前只支持 =,>,<,!=,>=,<=,空判断。 | <ide><path>rc/main/java/org/opencloudb/mpp/RowDataPacketGrouper.java
<ide> }
<ide>
<ide> private void filterHaving(){
<del> if (havingCols.getColMeta() == null) {
<add> if (havingCols.getColMeta() == null || result == null) {
<ide> return;
<ide> }
<ide> Iterator<RowDataPacket> it = result.iterator(); | |
Java | apache-2.0 | 748022eefc88dccac2b78fca6559886dfbbb4eee | 0 | OpenHFT/Chronicle-Map | /*
* Copyright 2014 Higher Frequency Trading
*
* http://www.higherfrequencytrading.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
... | src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java | /*
* Copyright 2014 Higher Frequency Trading
*
* http://www.higherfrequencytrading.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
... | Fixed bug in ReplicatedChronicleMap
| src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java | Fixed bug in ReplicatedChronicleMap | <ide><path>rc/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
<ide> }
<ide>
<ide> @Override
<add> long sizeOfEverythingBeforeValue(long keySize, long valueSize) {
<add> return super.sizeOfEverythingBeforeValue(keySize, valueSize) + ADDITIONAL_ENTRY_BYTES;
<add> ... | |
Java | apache-2.0 | f912e0694a30f1955bff971f7fe3415e6a72de9d | 0 | webfirmframework/wff,webfirmframework/wff | /*
* Copyright 2014-2019 Web Firm Framework
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | wffweb/src/main/java/com/webfirmframework/wffweb/js/JsUtil.java | /*
* Copyright 2014-2019 Web Firm Framework
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | Minor code optimization | wffweb/src/main/java/com/webfirmframework/wffweb/js/JsUtil.java | Minor code optimization | <ide><path>ffweb/src/main/java/com/webfirmframework/wffweb/js/JsUtil.java
<ide>
<ide> for (final Object id : ids) {
<ide>
<del> builder.append(id.toString()).append(":")
<add> builder.append(id.toString()).append(':')
<ide> .append(alternativeFunction).append("('")
<i... | |
Java | apache-2.0 | dba059350e165ccadcc562837f32deadb78ef6b9 | 0 | structurizr/java,klu2/structurizr-java | package com.structurizr.api;
import com.structurizr.Workspace;
import com.structurizr.io.json.JsonReader;
import com.structurizr.io.json.JsonWriter;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.http.Header;
import org.apache.http.HttpStatus;
import org.apache.h... | structurizr-client/src/com/structurizr/api/StructurizrClient.java | package com.structurizr.api;
import com.structurizr.Workspace;
import com.structurizr.io.json.JsonReader;
import com.structurizr.io.json.JsonWriter;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.http.Header;
import org.apache.http.HttpStatus;
import org.apache.h... | HttpClient now uses system properties for proxy servers. etc.
| structurizr-client/src/com/structurizr/api/StructurizrClient.java | HttpClient now uses system properties for proxy servers. etc. | <ide><path>tructurizr-client/src/com/structurizr/api/StructurizrClient.java
<ide> public Workspace getWorkspace(long workspaceId) throws Exception {
<ide> log.info("Getting workspace with ID " + workspaceId);
<ide>
<del> CloseableHttpClient httpClient = HttpClients.createDefault();
<add> Clos... | |
JavaScript | agpl-3.0 | 57b063db846d82f5eb30f0bb2b42920ad82d83eb | 0 | ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs | // При добавлении нового элемента ParagraphContent, добавить его обработку в
// следующие функции:
// Internal_Recalculate1, Internal_Recalculate2, Draw, Internal_RemoveBackward,
// Internal_RemoveForward, Add, Internal_GetStartPos, Internal_MoveCursorBackward,
// Internal_MoveCursorForward, Internal_AddTextPr, Int... | Word/Editor/Paragraph.js | // При добавлении нового элемента ParagraphContent, добавить его обработку в
// следующие функции:
// Internal_Recalculate1, Internal_Recalculate2, Draw, Internal_RemoveBackward,
// Internal_RemoveForward, Add, Internal_GetStartPos, Internal_MoveCursorBackward,
// Internal_MoveCursorForward, Internal_AddTextPr, Int... | Исправлен баг с копированием буквицы в автофигуру (баг 21400).
git-svn-id: 9db5f3bf534fda1ae49cdb5ebc7e13fb9e7e48c1@50908 954022d7-b5bf-4e40-9824-e11837661b57
| Word/Editor/Paragraph.js | Исправлен баг с копированием буквицы в автофигуру (баг 21400). | <ide><path>ord/Editor/Paragraph.js
<ide> this.Internal_Draw_6( CurPage, pGraphics, Pr );
<ide>
<ide> // Убираем обрезку
<del> if ( undefined != FramePr )
<add> if ( undefined != FramePr && this.Parent instanceof CDocument )
<ide> {
<ide> pGraphics.RestoreGrState();
<i... | |
JavaScript | mit | 78ba11cdb6fbc0fd549c60e3f28c9e6846e28232 | 0 | riyazshaikh/template-kitchen | var PRESETS = {};
PRESETS.default = {
tweakJson: {},
webfontsJson: []
};
PRESETS.katana = {
tweakJson: {
"mainContentWidth": "1200px",
"mainSpacingSide": "5%",
"mainSpacingTop": "2.5%",
"mainMetaWidth": "500px",
"body-font": "{font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size... | scripts/presets.js | var PRESETS = {};
PRESETS.default = {
tweakJson: {},
webfontsJson: []
};
PRESETS.katana = {
tweakJson: {
"mainContentWidth": "1200px",
"mainSpacingSide": "5%",
"mainSpacingTop": "2.5%",
"mainMetaWidth": "500px",
"body-font": "{font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size... | debug
| scripts/presets.js | debug | <ide><path>cripts/presets.js
<ide> "Header - Palette": "Main",
<ide> "Header - Background": "Transparent",
<ide> "Header - Display": "Overlaid",
<del> "Header - Sticky": "Within Site",
<add> // "Header - Sticky": "Within Site",
<ide> "Header Content - Layout": "Alternate",
<ide> "Header Block - Display": ... | |
JavaScript | apache-2.0 | 2cee3ef76db8322ebeb138cd5028d9247c117437 | 0 | SAP/openui5,SAP/openui5,SAP/openui5,SAP/openui5 | /*
* ! ${copyright}
*/
// Provides control sap.m.P13nConditionPanel
sap.ui.define([
'./library',
'sap/ui/core/library',
'sap/ui/core/Control',
'sap/ui/core/IconPool',
'sap/ui/Device',
'sap/ui/core/InvisibleText',
'sap/ui/core/ResizeHandler',
'sap/ui/core/Item',
'sap/ui/core/ListItem',
'sap/ui/model/odata/... | src/sap.m/src/sap/m/P13nConditionPanel.js | /*
* ! ${copyright}
*/
// Provides control sap.m.P13nConditionPanel
sap.ui.define([
'./library',
'sap/ui/core/library',
'sap/ui/core/Control',
'sap/ui/core/IconPool',
'sap/ui/Device',
'sap/ui/core/InvisibleText',
'sap/ui/core/ResizeHandler',
'sap/ui/core/Item',
'sap/ui/core/ListItem',
'sap/ui/model/odata/... | [INTERNAL] P13nCondtionPanel.js : handling of pasted
Date or other types are parsed
Type validateValue will be used which e.g. check the maxLength
BCP: 1980160792
Change-Id: Ic28b1aafb2672b77880b169c5ab8d6911aa5c77b
| src/sap.m/src/sap/m/P13nConditionPanel.js | [INTERNAL] P13nCondtionPanel.js : handling of pasted | <ide><path>rc/sap.m/src/sap/m/P13nConditionPanel.js
<ide> var sPastedValue = aSeparatedText[i].trim();
<ide>
<ide> if (sPastedValue) {
<add> var oPastedValue;
<add>
<add> if (oKeyField.typeInstance) {
<add> // If a typeInstance exist, we have to parse and validate the pastedValue be... | |
Java | epl-1.0 | de4120515de550e2ba55bda0ac47abbfbde7ab77 | 0 | rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1 | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSResultSetRow.java | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | Treat index as column name, since index usage is not allowed.
| data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSResultSetRow.java | Treat index as column name, since index usage is not allowed. | <ide><path>ata/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSResultSetRow.java
<ide> */
<ide> public boolean has( int index, Scriptable start )
<ide> {
<del> throw new IllegalArgumentException( "Put value on result set row is not supported." );
<add> return this.has( String.valueOf( index ), sta... | |
JavaScript | mit | a3ab040ac0f591f4db9132b2a6617c248586f3d3 | 0 | bobbybouwmann/icapresents | // public/controllers/admin.js
/**
* Expose admin controllers and routes
*/
(function() {
angular.module('admin', [])
.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
$routeProvider
.when('/admin', {
templateUrl: '/views/adminp... | public/controllers/admin.js | // public/controllers/admin.js
/**
* Expose admin controllers and routes
*/
(function() {
angular.module('admin', [])
.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
$routeProvider
.when('/admin', {
templateUrl: '/views/adminp... | fixes
| public/controllers/admin.js | fixes | <ide><path>ublic/controllers/admin.js
<ide> $http.post('/api/profiles', $scope.formDataProfile)
<ide> .success (function (data) {
<ide> console.log(data);
<add> $scope.profiles = data;
<ide> })
<ide> .error (function (d... | |
Java | lgpl-2.1 | 1491e35f78ee70a57856cbbc3cd804b3fc5fd4f2 | 0 | viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.sf.jaer.util;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.util.ArrayList;
impor... | src/net/sf/jaer/util/FilterIndexPrinter.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.sf.jaer.util;
import java.awt.FileDialog;
import java.awt.Frame;
import java.io.*;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List... | Update FilterIndexPrinter to correctly output new SF Allura Markdown syntax.
git-svn-id: e3d3b427d532171a6bd7557d8a4952a393b554a2@3999 b7f4320f-462c-0410-a916-d9f35bb82d52
| src/net/sf/jaer/util/FilterIndexPrinter.java | Update FilterIndexPrinter to correctly output new SF Allura Markdown syntax. | <ide><path>rc/net/sf/jaer/util/FilterIndexPrinter.java
<ide> */
<ide> package net.sf.jaer.util;
<ide>
<del>import java.awt.FileDialog;
<del>import java.awt.Frame;
<del>import java.io.*;
<del>import java.lang.reflect.Method;
<add>import java.io.File;
<add>import java.io.FileNotFoundException;
<add>import java.io.FileO... | |
Java | apache-2.0 | 77c8654cc91997383fc5aa9b77f9a7604bcbaf2e | 0 | nroduit/XChart,timmolter/XChart | package org.knowm.xchart.internal.chartpart;
import java.awt.BasicStroke;
import java.awt.Graphics2D;
import java.awt.Stroke;
import java.awt.geom.Path2D;
import java.awt.geom.Rectangle2D;
import org.knowm.xchart.XYChart;
import org.knowm.xchart.internal.series.Series;
import org.knowm.xchart.style.Styler;
import org... | xchart/src/main/java/org/knowm/xchart/internal/chartpart/PlotContent_.java | package org.knowm.xchart.internal.chartpart;
import java.awt.BasicStroke;
import java.awt.Graphics2D;
import java.awt.Stroke;
import java.awt.geom.Path2D;
import java.awt.geom.Rectangle2D;
import org.knowm.xchart.internal.series.Series;
import org.knowm.xchart.style.Styler;
/** @author timmolter */
public abstract cl... | fix broken ChartZoom (2)
| xchart/src/main/java/org/knowm/xchart/internal/chartpart/PlotContent_.java | fix broken ChartZoom (2) | <ide><path>chart/src/main/java/org/knowm/xchart/internal/chartpart/PlotContent_.java
<ide> import java.awt.Stroke;
<ide> import java.awt.geom.Path2D;
<ide> import java.awt.geom.Rectangle2D;
<add>
<add>import org.knowm.xchart.XYChart;
<ide> import org.knowm.xchart.internal.series.Series;
<ide> import org.knowm.xchart.st... | |
Java | apache-2.0 | 0b29374c2626dc0dd64d0edb2a88834ca57dd8eb | 0 | kurtharriger/spring-osgi | /*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | core/src/main/java/org/springframework/osgi/service/collection/OsgiServiceCollection.java | /*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | forgot to commit missing class
| core/src/main/java/org/springframework/osgi/service/collection/OsgiServiceCollection.java | forgot to commit missing class | <ide><path>ore/src/main/java/org/springframework/osgi/service/collection/OsgiServiceCollection.java
<ide> * is being retrieved dynamically from the OSGi platform.
<ide> *
<ide> * <p/> This collection and its iterators are thread-safe. That is, multiple
<del> * threads can access the collection. However, since the c... | |
JavaScript | mit | 082828caa334ff4e996b262346edfa3f9cde1b85 | 0 | formio/formio.js,formio/formio.js,formio/formio.js | import Component from '../_classes/component/Component';
export default class HTMLComponent extends Component {
static schema(...extend) {
return Component.schema({
label: 'HTML',
type: 'htmlelement',
tag: 'p',
attrs: [],
content: '',
input: false,
persistent: false
... | src/components/html/HTML.js | import Component from '../_classes/component/Component';
export default class HTMLComponent extends Component {
static schema(...extend) {
return Component.schema({
label: 'HTML',
type: 'htmlelement',
tag: 'p',
attrs: [],
content: '',
input: false,
persistent: false
... | Check for element instead of html ref.
| src/components/html/HTML.js | Check for element instead of html ref. | <ide><path>rc/components/html/HTML.js
<ide>
<ide> checkRefreshOn(changed) {
<ide> super.checkRefreshOn(changed);
<del> if (!this.builderMode && this.component.refreshOnChange && this.refs.html) {
<add> if (!this.builderMode && this.component.refreshOnChange && this.element) {
<ide> this.setContent(th... | |
JavaScript | mit | fc8fe935049a134fded87bef90bd60bf41312227 | 0 | squatsandsciencelabs/OpenBarbellApp,squatsandsciencelabs/OpenBarbellApp,squatsandsciencelabs/OpenBarbellApp,squatsandsciencelabs/OpenBarbellApp,squatsandsciencelabs/OpenBarbellApp | import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import SetForm from 'app/shared_features/set_card/expanded/SetForm';
import * as Actions from './EditHistorySetFormActions';
import * as DateUtils from 'app/utility/transforms/DateUtils';
const mapStateToProps = (state, ownProps) => {
... | app/features/history/card/expanded/form/EditHistorySetFormScreen.js | import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import SetForm from 'app/shared_features/set_card/expanded/SetForm';
import * as Actions from './EditHistorySetFormActions';
import * as DateUtils from 'app/utility/transforms/DateUtils';
const mapStateToProps = (state, ownProps) => {
... | Semicolon
| app/features/history/card/expanded/form/EditHistorySetFormScreen.js | Semicolon | <ide><path>pp/features/history/card/expanded/form/EditHistorySetFormScreen.js
<ide>
<ide> return {
<ide> rpeDisabled: rpeDisabled,
<del> }
<add> };
<ide> }
<ide>
<ide> const mapDispatchToProps = (dispatch) => { | |
Java | apache-2.0 | a6e94eff463b6dea0d31ad933aaec42e2d095acb | 0 | datastax/java-driver,datastax/java-driver | /*
* Copyright DataStax, 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 wri... | query-builder/src/main/java/com/datastax/oss/driver/api/querybuilder/relation/Relation.java | /*
* Copyright DataStax, 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 wri... | Fix wrong example in Relation class javadocs
| query-builder/src/main/java/com/datastax/oss/driver/api/querybuilder/relation/Relation.java | Fix wrong example in Relation class javadocs | <ide><path>uery-builder/src/main/java/com/datastax/oss/driver/api/querybuilder/relation/Relation.java
<ide> * example:
<ide> *
<ide> * <pre>{@code
<del> * selectFrom("foo").all().whereColumn("k").isEqualTo(literal(1))
<add> * selectFrom("foo").all().where(Relation.column("k").isEqualTo(literal(1)))
<ide> * // SELEC... | |
Java | apache-2.0 | 31ca34b9547f83b236320f83599c5c2ed6bb5125 | 0 | i2p/i2p.itoopie,i2p/i2p.itoopie,i2p/i2p.itoopie,i2p/i2p.itoopie | package net.i2p.router.peermanager;
import net.i2p.data.DataHelper;
import net.i2p.router.RouterContext;
import net.i2p.stat.Rate;
import net.i2p.stat.RateStat;
import net.i2p.util.Log;
/**
* Quantify how fast the peer is - how fast they respond to our requests, how fast
* they pass messages on, etc. This should b... | router/java/src/net/i2p/router/peermanager/SpeedCalculator.java | package net.i2p.router.peermanager;
import net.i2p.router.RouterContext;
import net.i2p.stat.Rate;
import net.i2p.stat.RateStat;
import net.i2p.util.Log;
/**
* Quantify how fast the peer is - how fast they respond to our requests, how fast
* they pass messages on, etc. This should be affected both by their bandwid... | rate.getAverageValue returns the average of the last fully completed period, but we want to include the current partial period as well
| router/java/src/net/i2p/router/peermanager/SpeedCalculator.java | rate.getAverageValue returns the average of the last fully completed period, but we want to include the current partial period as well | <ide><path>outer/java/src/net/i2p/router/peermanager/SpeedCalculator.java
<ide> package net.i2p.router.peermanager;
<ide>
<add>import net.i2p.data.DataHelper;
<ide> import net.i2p.router.RouterContext;
<ide> import net.i2p.stat.Rate;
<ide> import net.i2p.stat.RateStat;
<ide> *
<ide> */
<ide> private doub... | |
Java | apache-2.0 | 6ce3a3a9d30af710d10964ab05932d94f501d6da | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.indexing;
import com.intellij.diagnostic.PerformanceWatcher;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.applicatio... | platform/lang-impl/src/com/intellij/util/indexing/UnindexedFilesUpdater.java | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.indexing;
import com.intellij.diagnostic.PerformanceWatcher;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.applicatio... | Indexing diagnostics: shorten log message.
GitOrigin-RevId: fc3da9efe9e8bcc1de7c780c37dec4424791b914 | platform/lang-impl/src/com/intellij/util/indexing/UnindexedFilesUpdater.java | Indexing diagnostics: shorten log message. | <ide><path>latform/lang-impl/src/com/intellij/util/indexing/UnindexedFilesUpdater.java
<ide> catch (Throwable e) {
<ide> projectIndexingHistory.getTimes().setWasInterrupted(true);
<ide> if (e instanceof ControlFlowException) {
<del> LOG.info("Unindexed files update canceled");
<add> LOG.in... | |
Java | bsd-2-clause | 2dc43df1177532a54eb5a76634945549808fc04d | 0 | Auxx/grilledui,Auxx/grilledui | package com.grilledmonkey.examples.tabactivityexample;
import android.app.ActionBar;
import android.app.ActionBar.TabListener;
import android.support.v4.app.FragmentManager;
import com.grilledmonkey.grilledui.TabActivity;
import com.grilledmonkey.grilledui.adapters.SectionAdapter;
/**
* This example shows... | examples/TabActivityExample/src/com/grilledmonkey/examples/tabactivityexample/MainActivity.java | package com.grilledmonkey.examples.tabactivityexample;
import android.app.ActionBar;
import android.app.ActionBar.TabListener;
import android.support.v4.app.FragmentManager;
import com.grilledmonkey.grilledui.TabActivity;
import com.grilledmonkey.grilledui.adapters.SectionAdapter;
/**
* This example shows... | Fixed JavaDoc
| examples/TabActivityExample/src/com/grilledmonkey/examples/tabactivityexample/MainActivity.java | Fixed JavaDoc | <ide><path>xamples/TabActivityExample/src/com/grilledmonkey/examples/tabactivityexample/MainActivity.java
<ide> import com.grilledmonkey.grilledui.adapters.SectionAdapter;
<ide>
<ide> /**
<del> * This example shows the basic usage of TabActivity with GrilledUI library
<add> * This example shows the basic usage of {@li... | |
JavaScript | mit | 308f9bc867b29a050a0a64b2f70ca1e54e72eafc | 0 | RJFreund/OpenDSA,RJFreund/OpenDSA,hosamshahin/OpenDSA,RJFreund/OpenDSA,RJFreund/OpenDSA,hosamshahin/OpenDSA,hosamshahin/OpenDSA,hosamshahin/OpenDSA,RJFreund/OpenDSA,hosamshahin/OpenDSA,RJFreund/OpenDSA,hosamshahin/OpenDSA,hosamshahin/OpenDSA,RJFreund/OpenDSA,hosamshahin/OpenDSA,hosamshahin/OpenDSA,RJFreund/OpenDSA | /* global graphUtils */
(function ($) {
"use strict";
var exercise,
graph,
settings = new JSAV.utils.Settings($(".jsavsettings")),
jsav = new JSAV($('.avcontainer'), {settings: settings});
jsav.recorded();
function init() {
// create the graph
if (graph) {
graph.clear();
}
... | AV/Development/DijkstraPE.js | /* global graphUtils */
(function ($) {
"use strict";
var exercise,
graph,
settings = new JSAV.utils.Settings($(".jsavsettings")),
jsav = new JSAV($('.avcontainer'), {settings: settings});
jsav.recorded();
function init() {
// create the graph
if (graph) {
graph.clear();
}
... | Minor refactoring for DijkstraPE
| AV/Development/DijkstraPE.js | Minor refactoring for DijkstraPE | <ide><path>V/Development/DijkstraPE.js
<ide> modeljsav.displayInit();
<ide>
<ide> // start the algorithm
<del> prim(modelNodes, distances, modeljsav);
<add> dijkstra(modelNodes, distances, modeljsav);
<ide>
<ide> modeljsav.umsg("Shortest paths from A.");
<ide> // hide all edges that are not part... | |
Java | apache-2.0 | 73043783c3ef8099785389ff1afedfadd51e64f6 | 0 | missioncommand/emp3-android,missioncommand/emp3-android | package mil.emp3.core.utils;
import android.util.Log;
import android.util.SparseArray;
import org.cmapi.primitives.GeoFillStyle;
import org.cmapi.primitives.GeoLabelStyle;
import org.cmapi.primitives.GeoPosition;
import org.cmapi.primitives.GeoStrokeStyle;
import org.cmapi.primitives.IGeoAltitudeMode;
import org.cmap... | sdk/sdk-core/aar/src/main/java/mil/emp3/core/utils/MilStdRenderer.java | package mil.emp3.core.utils;
import android.util.Log;
import android.util.SparseArray;
import org.cmapi.primitives.GeoFillStyle;
import org.cmapi.primitives.GeoLabelStyle;
import org.cmapi.primitives.GeoPosition;
import org.cmapi.primitives.GeoStrokeStyle;
import org.cmapi.primitives.IGeoAltitudeMode;
import org.cmap... | Issue-92 #comment trouble shooting.
| sdk/sdk-core/aar/src/main/java/mil/emp3/core/utils/MilStdRenderer.java | Issue-92 #comment trouble shooting. | <ide><path>dk/sdk-core/aar/src/main/java/mil/emp3/core/utils/MilStdRenderer.java
<ide> return oList;
<ide> }
<ide>
<add> Log.i(TAG, "Symbol Code " + symbolCode);
<add> for(int i = 0; i < attributes.size(); i++) {
<add> int key = attributes.keyAt(i);
<add> // get ... | |
Java | apache-2.0 | dd3a07be17e71e3bde0db57efaf180db888e7366 | 0 | codelibs/elasticsearch-analysis-ja,codelibs/elasticsearch-analysis-ja | package org.codelibs.elasticsearch.ja;
import org.codelibs.elasticsearch.ja.analysis.IterationMarkCharFilterFactory;
import org.codelibs.elasticsearch.ja.analysis.KanjiNumberFilterFactory;
import org.codelibs.elasticsearch.ja.analysis.ProlongedSoundMarkCharFilterFactory;
import org.codelibs.elasticsearch.ja.analysis.R... | src/main/java/org/codelibs/elasticsearch/ja/JaPlugin.java | package org.codelibs.elasticsearch.ja;
import org.codelibs.elasticsearch.ja.analysis.IterationMarkCharFilterFactory;
import org.codelibs.elasticsearch.ja.analysis.KanjiNumberFilterFactory;
import org.codelibs.elasticsearch.ja.analysis.ProlongedSoundMarkCharFilterFactory;
import org.codelibs.elasticsearch.ja.analysis.R... | change plugin name
| src/main/java/org/codelibs/elasticsearch/ja/JaPlugin.java | change plugin name | <ide><path>rc/main/java/org/codelibs/elasticsearch/ja/JaPlugin.java
<ide> public class JaPlugin extends AbstractPlugin {
<ide> @Override
<ide> public String name() {
<del> return "Analysis Ja Plugin";
<add> return "AnalysisJaPlugin";
<ide> }
<ide>
<ide> @Override | |
Java | apache-2.0 | 88d1940df608e6d9a1d99b20050f3371c051be81 | 0 | jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics | /*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... | org.jenetics/src/main/java/org/jenetics/util/Concurrent.java | /*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... | Improve javadoc.
| org.jenetics/src/main/java/org/jenetics/util/Concurrent.java | Improve javadoc. | <ide><path>rg.jenetics/src/main/java/org/jenetics/util/Concurrent.java
<ide> *
<ide> * @author <a href="mailto:franz.wilhelmstoetter@gmx.at">Franz Wilhelmstötter</a>
<ide> * @since @__version__@
<del> * @version @__version__@ — <em>$Date: 2013-10-08 $</em>
<add> * @version @__version__@ — <em>$Date: 2013... | |
Java | mit | 6bca6c62b09678c76395a1f9fa2aec323ee27483 | 0 | SpongePowered/SpongeCommon,SpongePowered/SpongeCommon,SpongePowered/Sponge,SpongePowered/Sponge,SpongePowered/Sponge | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | src/main/java/org/spongepowered/common/mixin/core/entity/player/MixinEntityPlayer.java | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | fire Inventory Close on death (and quit) #1813
| src/main/java/org/spongepowered/common/mixin/core/entity/player/MixinEntityPlayer.java | fire Inventory Close on death (and quit) #1813 | <ide><path>rc/main/java/org/spongepowered/common/mixin/core/entity/player/MixinEntityPlayer.java
<ide> import org.spongepowered.common.data.manipulator.mutable.entity.SpongeHealthData;
<ide> import org.spongepowered.common.data.processor.common.ExperienceHolderUtils;
<ide> import org.spongepowered.common.entity.EntityU... | |
Java | apache-2.0 | 1d6fd2b6a6748d8442c544286c3ac56d5e2d2bf4 | 0 | Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces | /*******************************************************************************
*
* Copyright (c) 2012 GigaSpaces Technologies Ltd. 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 ... | src/main/src/org/openspaces/admin/internal/space/DefaultSpace.java | /*******************************************************************************
*
* Copyright (c) 2012 GigaSpaces Technologies Ltd. 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 ... | GS-10441: Admin that recovers from network disconnection fails to fetch processing unit Space instance details.
DefaultSpace.addInstance schedules a ScheduledRuntimeFetcher to fetch SpaceInstance details (SpaceMode, etc.)
DefaultSpace.removeInstance cancels the future ScheduledRuntimeFetcher. But, it does not remove ... | src/main/src/org/openspaces/admin/internal/space/DefaultSpace.java | GS-10441: Admin that recovers from network disconnection fails to fetch processing unit Space instance details. | <ide><path>rc/main/src/org/openspaces/admin/internal/space/DefaultSpace.java
<ide> spaceInstancesByMemberName.remove(fullSpaceName);
<ide> spaceInstanceRemovedEventManager.spaceInstanceRemoved(spaceInstance);
<ide> ((InternalSpaceInstanceRemovedEventManager) spaces.getSpaceInstanceRe... | |
Java | mit | 6423dc3639ee9826865027dc1235f6d849172c8a | 0 | sormuras/bach,sormuras/bach | /*
* Bach - Java Shell Builder
* Copyright (C) 2019 Christian Stein
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | src/de.sormuras.bach/main/java/de/sormuras/bach/task/Tester.java | /*
* Bach - Java Shell Builder
* Copyright (C) 2019 Christian Stein
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | Let system modules be located before custom modules
| src/de.sormuras.bach/main/java/de/sormuras/bach/task/Tester.java | Let system modules be located before custom modules | <ide><path>rc/de.sormuras.bach/main/java/de/sormuras/bach/task/Tester.java
<ide> }
<ide> }
<ide> var boot = ModuleLayer.boot();
<del> var configuration = boot.configuration().resolveAndBind(finder, ModuleFinder.ofSystem(), roots);
<add> var configuration = boot.configuration().resolveAndBind(ModuleF... | |
Java | apache-2.0 | ca7e3d54eb9563da76b018184bfb9e1009dbd9e9 | 0 | apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata | /*
*
* 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"); y... | modules/airavata-helix/workflow-impl/src/main/java/org/apache/airavata/helix/workflow/WorkflowOperator.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"); y... | Setting the task expiry to 24 hours
| modules/airavata-helix/workflow-impl/src/main/java/org/apache/airavata/helix/workflow/WorkflowOperator.java | Setting the task expiry to 24 hours | <ide><path>odules/airavata-helix/workflow-impl/src/main/java/org/apache/airavata/helix/workflow/WorkflowOperator.java
<ide>
<ide> private static final String WORKFLOW_PREFIX = "Workflow_of_process_";
<ide> private static final long WORKFLOW_EXPIRY_TIME = 1 * 1000;
<add> private static final long TASK_EXPIRY... | |
Java | apache-2.0 | 60337599198722629caa3e193c19dc2f201747af | 0 | fivesmallq/web-data-extractor,fivesmallq/web-data-extractor | package im.nll.data.extractor.impl;
import com.google.common.base.Charsets;
import com.google.common.io.Resources;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.util.List;
/**
* @author <a href="mailto:fivesmallq@gmail.com">fivesmallq</a>
* @versio... | src/test/java/im/nll/data/extractor/impl/StringRangeExtractorTest.java | package im.nll.data.extractor.impl;
import com.google.common.base.Charsets;
import com.google.common.io.Resources;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.util.List;
/**
* @author <a href="mailto:fivesmallq@gmail.com">fivesmallq</a>
* @versio... | fix String Range test
| src/test/java/im/nll/data/extractor/impl/StringRangeExtractorTest.java | fix String Range test | <ide><path>rc/test/java/im/nll/data/extractor/impl/StringRangeExtractorTest.java
<ide> @Before
<ide> public void setUp() throws Exception {
<ide> try {
<del> html = Resources.toString(Resources.getResource("list2.html"), Charsets.UTF_8);
<add> html = Resources.toString(Resources.ge... | |
Java | apache-2.0 | e3ccfffd3e43504bff5044918d6abc0d4e37d5c6 | 0 | jjj117/airavata,dogless/airavata,anujbhan/airavata,machristie/airavata,jjj117/airavata,machristie/airavata,jjj117/airavata,glahiru/airavata,anujbhan/airavata,gouravshenoy/airavata,jjj117/airavata,jjj117/airavata,anujbhan/airavata,gouravshenoy/airavata,glahiru/airavata,apache/airavata,anujbhan/airavata,machristie/airava... | /*
*
* 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"); y... | modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.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"); y... | we remove the undefined AppDescriptors.
git-svn-id: 64c7115bac0e45f25b6ef7317621bf38f6d5f89e@1327272 13f79535-47bb-0310-9956-ffa450edef68
| modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java | we remove the undefined AppDescriptors. | <ide><path>odules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
<ide> List<Node> childNodes = getChildNodes(serviceNode);
<ide> for (Node hostNode:childNodes) {
<ide> HostDescription hostDescriptor = getHostDescription(hostNode.getName());
... | |
Java | apache-2.0 | 9857b351f781b78742f65bbf7c679ce63317c477 | 0 | ingenieux/beanstalker,ingenieux/beanstalker | package br.com.ingenieux.mojo.beanstalk.version;
/*
* 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 a... | beanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/version/CleanPreviousVersionsMojo.java | package br.com.ingenieux.mojo.beanstalk.version;
/*
* 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 a... | clean-previous-versions : add filtering of app versions to delete with versionLabel pattern
| beanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/version/CleanPreviousVersionsMojo.java | clean-previous-versions : add filtering of app versions to delete with versionLabel pattern | <ide><path>eanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/version/CleanPreviousVersionsMojo.java
<ide> import java.util.Date;
<ide> import java.util.List;
<ide> import java.util.ListIterator;
<add>import java.util.regex.Pattern;
<ide>
<ide> import org.apache.commons.lang.builder.CompareToBuilder;
... | |
Java | apache-2.0 | a89692f4f09cf432c0b6414acb091580cc7bef60 | 0 | daradurvs/ignite,ilantukh/ignite,NSAmelchev/ignite,ascherbakoff/ignite,ascherbakoff/ignite,apache/ignite,nizhikov/ignite,daradurvs/ignite,chandresh-pancholi/ignite,shroman/ignite,samaitra/ignite,ptupitsyn/ignite,apache/ignite,chandresh-pancholi/ignite,apache/ignite,ptupitsyn/ignite,nizhikov/ignite,andrey-kuznetsov/igni... | /*
* 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 ... | modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.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 ... | IGNITE-10770: Enabled JdbcThinTransactionsAbstractComplexSelfTest.testInsertAndQueryMultipleCaches. Works fine with prior PME await.
| modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java | IGNITE-10770: Enabled JdbcThinTransactionsAbstractComplexSelfTest.testInsertAndQueryMultipleCaches. Works fine with prior PME await. | <ide><path>odules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java
<ide> execute("CREATE INDEX IF NOT EXISTS persidx ON \"Person\".person(cityid)");
<ide>
<ide> insertPerson(1, "John", "Smith", 1, 1);
<del>
<ide> insertPerson(2, "Mike", "Johns",... | |
Java | bsd-3-clause | 61ea45b7d8decfcd7f6823fb8e41d19f34a3960c | 0 | lutece-platform/lutece-core,lutece-platform/lutece-core,rzara/lutece-core,lutece-platform/lutece-core,rzara/lutece-core,rzara/lutece-core | /*
* Copyright (c) 2002-2013, Mairie de Paris
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice
* ... | src/java/fr/paris/lutece/portal/service/content/XPageAppService.java | /*
* Copyright (c) 2002-2013, Mairie de Paris
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice
* ... | LUTECE-1627 : XPage objects are now instanciated for each HttpSession
git-svn-id: 890dd67775b5971c21efd90062c158582082fe1b@50775 bab10101-e421-0410-a517-8ce0973de3ef
| src/java/fr/paris/lutece/portal/service/content/XPageAppService.java | LUTECE-1627 : XPage objects are now instanciated for each HttpSession | <ide><path>rc/java/fr/paris/lutece/portal/service/content/XPageAppService.java
<ide> import fr.paris.lutece.portal.service.security.SecurityService;
<ide> import fr.paris.lutece.portal.service.security.UserNotSignedException;
<ide> import fr.paris.lutece.portal.service.template.AppTemplateService;
<add>import fr.paris.... | |
Java | apache-2.0 | 9bdae5379ad37ea10dbbb649612d771ce0f45198 | 0 | chunlinyao/fop,apache/fop,apache/fop,chunlinyao/fop,chunlinyao/fop,apache/fop,apache/fop,apache/fop,chunlinyao/fop,chunlinyao/fop | /*
* $Id$
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
*/
package org.apache.fop.image;
// Java
import java.io.IOException;
import java.io.InputStream;
import java.io.File;
import ... | src/org/apache/fop/image/FopImageFactory.java | /*
* $Id$
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
*/
package org.apache.fop.image;
// Java
import java.io.IOException;
import java.io.InputStream;
import java.io.File;
import ... | throws a different error if base dir not specified
git-svn-id: 102839466c3b40dd9c7e25c0a1a6d26afc40150a@194497 13f79535-47bb-0310-9956-ffa450edef68
| src/org/apache/fop/image/FopImageFactory.java | throws a different error if base dir not specified | <ide><path>rc/org/apache/fop/image/FopImageFactory.java
<ide> } catch (Exception e) {
<ide> // maybe relative
<ide> URL context_url = null;
<add> String base = Configuration.getStringValue("baseDir");
<add> if(base == null) {
<add> throw new FopImageE... | |
JavaScript | mit | cd422c93393e7ea96457fbfe8d3d18129f65969f | 0 | watzak/gulp-babel-react-starter-kit,watzak/gulp-babel-react-starter-kit | var gulp = require('gulp');
var browserify = require('browserify');
var babelify = require('babelify');
var source = require('vinyl-source-stream');
var browserSync = require('browser-sync');
var concatCss = require('gulp-concat-css');
gulp.task('build', function () {
browserify({
entries: './src/js/index.... | Gulpfile.js | var gulp = require('gulp');
var browserify = require('browserify');
var babelify = require('babelify');
var source = require('vinyl-source-stream');
var browserSync = require('browser-sync');
var concatCss = require('gulp-concat-css');
gulp.task('build', function () {
browserify({
entries: './src/js/index.... | bug fixed with watching files
| Gulpfile.js | bug fixed with watching files | <ide><path>ulpfile.js
<ide> gulp.task('watchFiles', function () {
<ide> gulp.watch('./src/js/**/*.jsx', []);
<ide> gulp.watch('./src/styles/*.css', []);
<del> gulp.watch('./src/js/index.jsx', []);
<add> gulp.watch('./src/index.html', []);
<ide> });
<ide>
<ide> gulp.task('default', ['build','copyIndex','c... | |
JavaScript | apache-2.0 | b4b6dd02235e95ea9716d4406c57316eae3950e8 | 0 | naturalatlas/node-gdal,sbmelvin/node-gdal,infitude/node-gdal,Uli1/node-gdal,nbuchanan/node-gdal,infitude/node-gdal,not001praween001/node-gdal,not001praween001/node-gdal,jdesboeufs/node-gdal,nbuchanan/node-gdal,Uli1/node-gdal,Uli1/node-gdal,nbuchanan/node-gdal,sbmelvin/node-gdal,nbuchanan/node-gdal,Uli1/node-gdal,jwoyam... | 'use strict'
var gdal = require('../lib/gdal.js');
var path = require('path');
var assert = require('chai').assert;
if (process.env.TARGET !== 'SHARED') {
describe('Open', function() {
describe('BIGTIFF', function() {
var filename, ds;
it('should not throw', function() {
filename = path.join(__dirname,... | test/open_bigtiff.test.js | 'use strict'
var gdal = require('../lib/gdal.js');
var path = require('path');
var assert = require('chai').assert;
describe('Open', function() {
describe('BIGTIFF', function() {
var filename, ds;
it('should not throw', function() {
filename = path.join(__dirname,"data/sample_bigtiff.tif");
ds = gdal.op... | add SHARED tag
| test/open_bigtiff.test.js | add SHARED tag | <ide><path>est/open_bigtiff.test.js
<ide> var path = require('path');
<ide> var assert = require('chai').assert;
<ide>
<del>describe('Open', function() {
<del>
<del> describe('BIGTIFF', function() {
<del> var filename, ds;
<add>if (process.env.TARGET !== 'SHARED') {
<add> describe('Open', function() {
<ide>
<del> ... | |
Java | bsd-3-clause | 005810a2db7afa51c21167501611edec81235fd2 | 0 | goreycn/FileTemplatesVariable,vkravets/FileTemplatesVariable | package org.jetbrains.idea.project.filetemplate;
import com.intellij.openapi.components.*;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.project.impl.DefaultProject;
import com.intellij.openapi.util.JDOMUtil;
import com.intellij.openapi.util.Pair;
import com.intellij.util.text.UniqueNameGene... | src/org/jetbrains/idea/project/filetemplate/PerProjectTemplateManager.java | package org.jetbrains.idea.project.filetemplate;
import com.intellij.openapi.components.*;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.JDOMUtil;
import com.intellij.openapi.util.Pair;
import com.intellij.util.text.UniqueNameGenerator;
import org.jdom.Attribute;
import org.jdom.Element... | Fix issue #1 with loading Default Project settings again
| src/org/jetbrains/idea/project/filetemplate/PerProjectTemplateManager.java | Fix issue #1 with loading Default Project settings again | <ide><path>rc/org/jetbrains/idea/project/filetemplate/PerProjectTemplateManager.java
<ide>
<ide> import com.intellij.openapi.components.*;
<ide> import com.intellij.openapi.project.Project;
<add>import com.intellij.openapi.project.impl.DefaultProject;
<ide> import com.intellij.openapi.util.JDOMUtil;
<ide> import com.i... | |
Java | apache-2.0 | 891d0af4c8de9ae3640c9d4f873fd14597e52f94 | 0 | daradurvs/ignite,chandresh-pancholi/ignite,apache/ignite,samaitra/ignite,nizhikov/ignite,ascherbakoff/ignite,daradurvs/ignite,daradurvs/ignite,ascherbakoff/ignite,apache/ignite,NSAmelchev/ignite,samaitra/ignite,ascherbakoff/ignite,nizhikov/ignite,chandresh-pancholi/ignite,daradurvs/ignite,SomeFire/ignite,samaitra/ignit... | /*
* 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 ... | modules/compatibility/src/test/java/org/apache/ignite/compatibility/persistence/MetaStorageCompatibilityTest.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 ... | IGNITE-12560 Fix incompatible API usage.
| modules/compatibility/src/test/java/org/apache/ignite/compatibility/persistence/MetaStorageCompatibilityTest.java | IGNITE-12560 Fix incompatible API usage. | <ide><path>odules/compatibility/src/test/java/org/apache/ignite/compatibility/persistence/MetaStorageCompatibilityTest.java
<ide> ignite.active(true);
<ide>
<ide> ((IgniteEx)ignite).context().cache().context().database()
<del> .forceCheckpoint("force test checkpoint")... | |
Java | apache-2.0 | 9f7dce3eca0fb5c55814ddc1ae3fd61b04c9062d | 0 | mini2Dx/mini2Dx,mini2Dx/mini2Dx | /**
* Copyright (c) 2017 See AUTHORS file
* 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, this list of conditions and... | artemis-odb/src/main/java/com/artemis/system/DispersedIntervalEntitySystem.java | /**
* Copyright (c) 2017 See AUTHORS file
* 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, this list of conditions and... | Added get/setInterval to DispersedIntervalEntitySystem
| artemis-odb/src/main/java/com/artemis/system/DispersedIntervalEntitySystem.java | Added get/setInterval to DispersedIntervalEntitySystem | <ide><path>rtemis-odb/src/main/java/com/artemis/system/DispersedIntervalEntitySystem.java
<ide> * entities to be updated over the duration of the next interval.
<ide> */
<ide> public abstract class DispersedIntervalEntitySystem extends EntitySystem {
<del> private final float interval;
<ide> protected final Queue<In... | |
Java | apache-2.0 | 3473b3ebbb3d2fca6135ae442fd1ff1a71c8428a | 0 | atomix/atomix,atomix/atomix,kuujo/copycat,kuujo/copycat | /*
* Copyright 2014-present Open Networking Foundation
*
* 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 applicabl... | serializer/kryo/src/main/java/io/atomix/serializer/kryo/KryoNamespace.java | /*
* Copyright 2014-present Open Networking Foundation
*
* 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 applicabl... | Clean up KryoNamespace.
| serializer/kryo/src/main/java/io/atomix/serializer/kryo/KryoNamespace.java | Clean up KryoNamespace. | <ide><path>erializer/kryo/src/main/java/io/atomix/serializer/kryo/KryoNamespace.java
<ide>
<ide> import com.esotericsoftware.kryo.Kryo;
<ide> import com.esotericsoftware.kryo.Registration;
<add>import com.esotericsoftware.kryo.Serializer;
<ide> import com.esotericsoftware.kryo.io.ByteBufferInput;
<ide> import com.esot... | |
Java | mit | 6b6f6d6e0d8baf73d4c65abb19f3bc8dd6899f6f | 0 | Sylvain-Bugat/standalone-jetty-war-skeleton,Sylvain-Bugat/standalone-jetty-war-skeleton,Sylvain-Bugat/standalone-jetty-war-skeleton | package com.github.sbugat.samplewebapp;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Sample class of a web-app s... | src/main/java/com/github/sbugat/samplewebapp/SampleWebapp.java | package com.github.sbugat.samplewebapp;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Sample class of a web-app s... | Change sample webapp
| src/main/java/com/github/sbugat/samplewebapp/SampleWebapp.java | Change sample webapp | <ide><path>rc/main/java/com/github/sbugat/samplewebapp/SampleWebapp.java
<ide> protected void doGet(final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse) throws ServletException, IOException {
<ide>
<ide> System.out.println("SampleWebapp class: doGet method called on:" + httpSe... | |
Java | mit | 888c50b7194972b489b57fb2e368d216be529ffb | 0 | romelo333/notenoughwands1.8.8 | package romelo333.notenoughwands.blocks;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.min... | src/main/java/romelo333/notenoughwands/blocks/LightRenderer.java | package romelo333.notenoughwands.blocks;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.min... | Fixed potential GL state bleeding with the illumination orb
| src/main/java/romelo333/notenoughwands/blocks/LightRenderer.java | Fixed potential GL state bleeding with the illumination orb | <ide><path>rc/main/java/romelo333/notenoughwands/blocks/LightRenderer.java
<ide> long t = System.currentTimeMillis() % 6;
<ide> ModRenderers.renderBillboardQuad(0.6f, t * (1.0f / 6.0f), (1.0f / 6.0f));
<ide>
<add> GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
<ide> ... | |
Java | apache-2.0 | 663ae343869df8fb116f891818552419e12d6e32 | 0 | suninformation/ymate-platform-v2,suninformation/ymate-platform-v2 | /*
* Copyright 2007-2107 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | ymate-platform-core/src/main/java/net/ymate/platform/core/util/ClassUtils.java | /*
* Copyright 2007-2107 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 将getFieldAnnotations方法拆分并增加getFieldAnnotationFirst方法
| ymate-platform-core/src/main/java/net/ymate/platform/core/util/ClassUtils.java | 将getFieldAnnotations方法拆分并增加getFieldAnnotationFirst方法 | <ide><path>mate-platform-core/src/main/java/net/ymate/platform/core/util/ClassUtils.java
<ide> * @param <A>
<ide> * @param clazz
<ide> * @param annotationClazz
<del> * @param onlyFirst
<del> * @return 获取clazz类中成员声明的annotationClazz注解
<del> */
<del> public static <A extends Annotation> List<... | |
JavaScript | mit | fa74171fca7bd727a2089a9a018933b3a805926f | 0 | WebJamApps/combined-front,WebJamApps/combined-front | import React from 'react';
import ReactDOM from 'react-dom';
import TimeInput from 'material-ui-time-picker';
import { noView, customElement, bindable, inject } from 'aurelia-framework';
@noView()
@inject(Element)
@bindable('data')
@bindable('type')
@customElement('time-picker')
export class TimePicker {
constructor... | src/components/time-picker.js | import React from 'react';
import ReactDOM from 'react-dom';
import TimeInput from 'material-ui-time-picker';
import { noView, customElement, bindable, inject } from 'aurelia-framework';
@noView()
@inject(Element)
@bindable('data')
@bindable('type')
@customElement('time-picker')
export class TimePicker {
constructor... | added key event for element with click event handler and static html element has a role of presentation.
| src/components/time-picker.js | added key event for element with click event handler and static html element has a role of presentation. | <ide><path>rc/components/time-picker.js
<ide> border: '1px solid #ccc', color: '#fff', padding: '1px 5px', width: '83%', margin: 0, outline: 0, textAlign: 'left', cursor: 'text'
<ide> }}
<ide> onClick={this.showTimer}
<add> onKeyDown={() => {}}
<add> role="presentation"
<ide> >{this... | |
Java | apache-2.0 | c2e51e8c08548d6548a101cd7ccedb14e086e88f | 0 | tectronics/scalaris,tectronics/scalaris,digshock/scalaris,seyyed/scalaris,tectronics/scalaris,tectronics/scalaris,tectronics/scalaris,digshock/scalaris,digshock/scalaris,tectronics/scalaris,digshock/scalaris,seyyed/scalaris,seyyed/scalaris,seyyed/scalaris,digshock/scalaris,digshock/scalaris,tectronics/scalaris,seyyed/s... | /**
* Copyright 2011 Zuse Institute 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
*
* Unless required by applic... | contrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/data/xml/WikiDumpXml2SQLite.java | /**
* Copyright 2011 Zuse Institute 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
*
* Unless required by applic... | - Wiki on Scalaris, xml2db:
* warn if a duplicate was found in the XML dump
* properly increase the page count | contrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/data/xml/WikiDumpXml2SQLite.java | - Wiki on Scalaris, xml2db: * warn if a duplicate was found in the XML dump * properly increase the page count | <ide><path>ontrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/data/xml/WikiDumpXml2SQLite.java
<ide>
<ide> @Override
<ide> protected void export(XmlPage page_xml) {
<add> ++pageCount;
<ide> addSQLiteJob(new SQLiteWritePageJob(page_xml.getPage(), page_xml.getRevisions()));
<ide> }
<ide> ... | |
JavaScript | mit | 98c9569d4907933d96306668534c926fc499d580 | 0 | johhat/boids,johhat/boids | 'use strict';
/* global $: true */
/* global animation: true */
/* global boidWeights: true */
//Slider for selecting initial number of boids
//---------------------------------------------
$('#numBoidsSlider').slider({
min: 0,
max: 400,
step: 10,
value: animation.numBoids
});
$('#numBoidsVal').text(... | ui-components/ui.js | 'use strict';
/* global $: true */
/* global animation: true */
/* global boidWeights: true */
//Slider for selecting initial number of boids
//---------------------------------------------
$('#numBoidsSlider').slider({
min: 0,
max: 400,
step: 10,
value: animation.numBoids
});
$('#numBoidsVal').text(... | Fixed typo
| ui-components/ui.js | Fixed typo | <ide><path>i-components/ui.js
<ide> });
<ide> $('#slider2').on('slide', function (slideEvt) {
<ide>
<del>$('#slider2val').text(boidWheights.alginment);
<add>$('#slider2val').text(boidWeights.alginment);
<ide> $('#slider2val').text(slideEvt.value);
<ide> boidWeights.alginment = slideEvt.value;
<ide> });
<ide> ... | |
Java | unlicense | 912cf32d81c311b992206b119a9270bfb985ab9f | 0 | pagarme/pagarme-java,pagarme/pagarme-java | package me.pagar.model;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import javax.ws.rs.HttpMethod;
import org.joda.time.DateTime;
import org.joda.time.LocalDate;
import com.google.common.base.CaseFormat;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com... | src/main/java/me/pagar/model/Transaction.java | package me.pagar.model;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import javax.ws.rs.HttpMethod;
import org.joda.time.DateTime;
import org.joda.time.LocalDate;
import com.google.common.base.CaseFormat;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com... | remove extra tab
| src/main/java/me/pagar/model/Transaction.java | remove extra tab | <ide><path>rc/main/java/me/pagar/model/Transaction.java
<ide>
<ide> final PagarMeRequest request = new PagarMeRequest(HttpMethod.POST,
<ide> String.format("/%s/%s/capture", getClassName(), getId()));
<del>
<add>
<ide> request.getParameters().put("amount", amount);
<del>
... | |
JavaScript | mit | ae8184e20cec426f4b50a51102e011fc8c9cc917 | 0 | melvincarvalho/inartes.com,melvincarvalho/inartes.com,melvincarvalho/inartes.com,melvincarvalho/inartes.com | /*
* Set up globals
*/
var f,g;
var template;
var BIBO = $rdf.Namespace("http://purl.org/ontology/bibo/");
var CHAT = $rdf.Namespace("https://ns.rww.io/chat#");
var COMM = $rdf.Namespace("https://w3id.org/commerce/");
var CURR = $rdf.Namespace("https://w3id.org/cc#");
var DCT = $rdf.Namespace("http://purl.org/dc... | app/app.js | /*
* Set up globals
*/
var f,g;
var template;
var BIBO = $rdf.Namespace("http://purl.org/ontology/bibo/");
var CHAT = $rdf.Namespace("https://ns.rww.io/chat#");
var COMM = $rdf.Namespace("https://w3id.org/commerce/");
var CURR = $rdf.Namespace("https://w3id.org/cc#");
var DCT = $rdf.Namespace("http://purl.org/dc... | maker
| app/app.js | maker | <ide><path>pp/app.js
<ide> // TODO this should come from header
<ide> var paymentDomain = window.location.toString().split('?')[0];
<ide> $scope.paymentURI = paymentDomain + '.well-known/payment?uri=' + encodeURIComponent($scope.nextURI);
<add> var m = g.any( $rdf.sym($scope.conte... | |
Java | apache-2.0 | c7eebddb17820398ac5e8ee740c6944d893ec95a | 0 | niketanpansare/incubator-systemml,gweidner/incubator-systemml,gweidner/systemml,iyounus/incubator-systemml,akchinSTC/systemml,dusenberrymw/systemml,deroneriksson/systemml,deroneriksson/systemml,niketanpansare/incubator-systemml,asurve/systemml,gweidner/incubator-systemml,asurve/systemml,deroneriksson/systemml,niketanpa... | /*
* 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 ... | src/main/java/org/apache/sysml/runtime/util/DataConverter.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 ... | toString now prints NaN & Infinity like how as.scalar prints them
Closes #415
| src/main/java/org/apache/sysml/runtime/util/DataConverter.java | toString now prints NaN & Infinity like how as.scalar prints them | <ide><path>rc/main/java/org/apache/sysml/runtime/util/DataConverter.java
<ide> System.arraycopy(mb.getDenseBlock(), 0, dest, destPos, rows*cols);
<ide> }
<ide> }
<add>
<add> /**
<add> * Convenience method to print NaN & Infinity compliant with how as.scalar prints them.
<add> * {@link DecimalFormat} prints NaN... | |
Java | apache-2.0 | 160c209fb72e7b347e81cd081930999f3c520f5f | 0 | tsygipova/java_first | package ru.stqa.pft.addressbook.tests;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.ContactsData;
/**
* Created by Дарья on 03-Sep-16.
*/
public class ContactsDeletionTests extends TestBase {
@Test
public void testContactsDeletion() {
if (! app.getContactsHelper().isThereAContac... | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/ContactsDeletionTests.java | package ru.stqa.pft.addressbook.tests;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.ContactsData;
/**
* Created by Дарья on 03-Sep-16.
*/
public class ContactsDeletionTests extends TestBase {
@Test
public void testContactsDeletion() {
if (! app.getContactsHelper().isThereAContac... | Добавлен недостающий метод
| addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/ContactsDeletionTests.java | Добавлен недостающий метод | <ide><path>ddressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/ContactsDeletionTests.java
<ide> app.getContactsHelper().selectContact();
<ide> app.getContactsHelper().initContactDeletion();
<ide> app.getContactsHelper().submitContactDeletion();
<add> app.getContactsHelper().returnToContactsP... | |
JavaScript | mit | 5461d73cbd6b86a44ce0a3f9ee09735ddbbd2392 | 0 | Vitre/grunt-symfony | /**
* grunt-symfony
* @author vitre
* @licence MIT
* @version 1.1.21
* @url https://www.npmjs.org/package/grunt-symfony
*/
"use strict"
var fs = require('fs'),
path = require('path'),
extend = require('node.extend');
//---
var defaults = {
web: 'web',
src: 'src',
gruntFile: 'Gruntfile.js',... | grunt-symfony.js | "use strict"
var fs = require('fs'),
path = require('path'),
extend = require('node.extend');
//---
var defaults = {
web: 'web',
src: 'src',
gruntFile: 'Gruntfile.js',
resources: 'Resources'
};
var options;
var bundles;
var grunt;
/**
* getBundles
* @param root
* @param r
* @returns {... | 1.1.21
| grunt-symfony.js | 1.1.21 | <ide><path>runt-symfony.js
<add>/**
<add> * grunt-symfony
<add> * @author vitre
<add> * @licence MIT
<add> * @version 1.1.21
<add> * @url https://www.npmjs.org/package/grunt-symfony
<add> */
<add>
<ide> "use strict"
<ide>
<ide> var fs = require('fs'),
<ide> * getBundles
<ide> * @param root
<ide> * @param r
<del> * ... | |
Java | agpl-3.0 | d5fc590b8c4753b360b2c9259d966b200a1ef052 | 0 | wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,ngaut/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,shunwang/sql-layer-1,shunwang/sql-layer-1,relateiq/sql-layer,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,relateiq/sql-layer,relateiq/sql-layer,ngaut/sql-layer,wfxiang08/sql-layer-1,jaytaylor/sql-layer,relateiq/sql-layer,j... | /**
* Copyright (C) 2011 Akiban Technologies Inc.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | src/test/java/com/akiban/server/test/it/bugs/bug696156/MultipleNullUniqueIndexIT.java | /**
* Copyright (C) 2011 Akiban Technologies Inc.
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | Fix MultipleNullUniqueIndexIT schemas | src/test/java/com/akiban/server/test/it/bugs/bug696156/MultipleNullUniqueIndexIT.java | Fix MultipleNullUniqueIndexIT schemas | <ide><path>rc/test/java/com/akiban/server/test/it/bugs/bug696156/MultipleNullUniqueIndexIT.java
<ide>
<ide> package com.akiban.server.test.it.bugs.bug696156;
<ide>
<add>import com.akiban.ais.model.AISBuilder;
<ide> import com.akiban.server.api.dml.scan.ScanAllRequest;
<ide> import com.akiban.server.error.DuplicateKey... | |
Java | mit | 359d3748c6d52d5f16a679c98aaca011430a2f9e | 0 | lukehutch/fast-classpath-scanner,lukehutch/fast-classpath-scanner,classgraph/classgraph,RaimondKempees/fast-classpath-scanner | package io.github.lukehutch.fastclasspathscanner.utils;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Queue;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.atomi... | src/main/java/io/github/lukehutch/fastclasspathscanner/utils/LoggedThread.java | package io.github.lukehutch.fastclasspathscanner.utils;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Queue;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.atomi... | Remove unnecessary Queue#clear() | src/main/java/io/github/lukehutch/fastclasspathscanner/utils/LoggedThread.java | Remove unnecessary Queue#clear() | <ide><path>rc/main/java/io/github/lukehutch/fastclasspathscanner/utils/LoggedThread.java
<ide> }
<ide> System.err.print(buf.toString());
<ide> System.err.flush();
<del> logEntries.clear();
<ide> }
<ide> }
<ide> } | |
Java | mit | error: pathspec 'src/main/euler/solved/Task_122_2.java' did not match any file(s) known to git
| 630d20cc3360de33901e7afacbea30a82ebd7aeb | 1 | Fantast/project-euler,Fantast/project-euler,Fantast/project-euler,Fantast/project-euler,Fantast/project-euler,Fantast/project-euler | package solved;
import tasks.AbstractTask;
import tasks.Tester;
import utils.MyMath;
import utils.log.Logger;
import java.util.HashSet;
import java.util.Set;
//Answer : 1582
public class Task_122_2 extends AbstractTask {
public static void main(String[] args) {
Logger.init("default.log");
Tester.... | src/main/euler/solved/Task_122_2.java | 122.new
| src/main/euler/solved/Task_122_2.java | 122.new | <ide><path>rc/main/euler/solved/Task_122_2.java
<add>package solved;
<add>
<add>import tasks.AbstractTask;
<add>import tasks.Tester;
<add>import utils.MyMath;
<add>import utils.log.Logger;
<add>
<add>import java.util.HashSet;
<add>import java.util.Set;
<add>
<add>//Answer : 1582
<add>public class Task_122_2 extends Abs... | |
Java | mit | 368550a4a6ada3c4d41a933edbe15928bead697e | 0 | frchiron/GildedRose-Refactoring-Kata | package com.gildedrose;
import java.util.Arrays;
class GildedRose {
private static final int QUALITY_MIN = 0;
private static final int QUALITY_MAX = 50;
private static final String SULFURAS = "Sulfuras, Hand of Ragnaros";
private static final String BACKSTAGE_PASSES = "Backstage passes to a TAFKAL80ETC concert";
... | Java/src/main/java/com/gildedrose/GildedRose.java | package com.gildedrose;
class GildedRose {
private static final int QUALITY_MIN = 0;
private static final int QUALITY_MAX = 50;
private static final String SULFURAS = "Sulfuras, Hand of Ragnaros";
private static final String BACKSTAGE_PASSES = "Backstage passes to a TAFKAL80ETC concert";
private static final Stri... | additional refactor part 2
| Java/src/main/java/com/gildedrose/GildedRose.java | additional refactor part 2 | <ide><path>ava/src/main/java/com/gildedrose/GildedRose.java
<ide> package com.gildedrose;
<add>
<add>import java.util.Arrays;
<ide>
<ide> class GildedRose {
<ide> private static final int QUALITY_MIN = 0;
<ide> }
<ide>
<ide> public void updateQuality(Item item) {
<del> if (!item.name.equals(AGED_BRIE) && !item.na... | |
Java | apache-2.0 | bfdfce18fa5d75fc75d3e1263c5a3912717bddaf | 0 | bonigarcia/webdrivermanager,bonigarcia/webdrivermanager,bonigarcia/webdrivermanager | package io.github.bonigarcia.wdm.test.other;
import io.github.bonigarcia.wdm.WebDriverManager;
import io.github.bonigarcia.wdm.config.DriverManagerType;
import io.github.bonigarcia.wdm.online.HttpClient;
import io.github.bonigarcia.wdm.online.S3BucketListNamespaceContext;
import org.junit.Test;
import javax.xml.names... | src/test/java/io/github/bonigarcia/wdm/test/other/NamespaceContextTest.java | package io.github.bonigarcia.wdm.test.other;
import io.github.bonigarcia.wdm.WebDriverManager;
import io.github.bonigarcia.wdm.config.DriverManagerType;
import io.github.bonigarcia.wdm.online.HttpClient;
import io.github.bonigarcia.wdm.online.S3BucketListNamespaceContext;
import org.junit.Test;
import javax.xml.names... | Another attempt to increase coverage
| src/test/java/io/github/bonigarcia/wdm/test/other/NamespaceContextTest.java | Another attempt to increase coverage | <ide><path>rc/test/java/io/github/bonigarcia/wdm/test/other/NamespaceContextTest.java
<ide> import static org.hamcrest.Matchers.equalTo;
<ide> import static org.hamcrest.core.Is.is;
<ide> import static org.hamcrest.core.IsNot.not;
<add>import static org.junit.Assert.fail;
<ide>
<ide> public class NamespaceContextTest ... | |
JavaScript | mit | 1c289790ccb9bdabf19acc8d53209bfcbed3572f | 0 | CanalTP/navitia-playground,CanalTP/navitia-playground | // Copyright (c) 2016 CanalTP
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distr... | js/map.js | // Copyright (c) 2016 CanalTP
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distr... | add string between pt and via
| js/map.js | add string between pt and via | <ide><path>s/map.js
<ide> if (draw_section_option === undefined) {
<ide> draw_section_option = map.DrawSectionOption.DRAWBOTH;
<ide> }
<del> return map._makeString(context, 'section', json, style).concat(map.makeFeatures.vias(context, json.vias || []))
<add> return map._makeStr... | |
Java | apache-2.0 | e69ed95a0371c9be991bddada4b066e8b3bf4d8e | 0 | liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,liuyuanyuan/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/SQLUtils.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | #4284 Results ordering fix: do not use numeric column identifiers is table alias is used
| plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/SQLUtils.java | #4284 Results ordering fix: do not use numeric column identifiers is table alias is used | <ide><path>lugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/SQLUtils.java
<ide> private static final Log log = Log.getLog(SQLUtils.class);
<ide>
<ide> public static final Pattern PATTERN_OUT_PARAM = Pattern.compile("((\\?)|(:[a-z0-9]+))\\s*:=");
<del> public static final Pattern PATTERN_SIMPLE... | |
Java | mit | bd39306664cf66416360033ec3a950bfe8c1a6da | 0 | Sylvain-Bugat/java-classic-algorithms | package com.github.sbugat.problems.sudoku;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.Arrays;
public class SudokuRecursiveSolver {
private final int[][] grid;
private final boolean[][] lines;
private final boolean[][] columns;
private final boolean[][] ... | src/main/java/com/github/sbugat/problems/sudoku/SudokuRecursiveSolver.java | package com.github.sbugat.problems.sudoku;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.Arrays;
public class SudokuRecursiveSolver {
private final int[][] grid;
private final boolean[][] lines;
private final boolean[][] columns;
private final boolean[][] ... | Display false soduku grid
| src/main/java/com/github/sbugat/problems/sudoku/SudokuRecursiveSolver.java | Display false soduku grid | <ide><path>rc/main/java/com/github/sbugat/problems/sudoku/SudokuRecursiveSolver.java
<ide> System.out.println("No solution found");
<ide> System.exit(1);
<ide> }
<add> else if ( solver.solutionCount > 1 ) {
<add>
<add> System.out.println("Multiple solutions found, this is not a true Soduku grid!");
<add> S... | |
Java | bsd-3-clause | 84f4e0fa18e24fbc0ce4eef46835e9bae5236fda | 0 | NCIP/cadsr-cdecurate,NCIP/cadsr-cdecurate,NCIP/cadsr-cdecurate,NCIP/cadsr-cdecurate,NCIP/cadsr-cdecurate,NCIP/cadsr-cdecurate | /**
*
*/
package gov.nih.nci.cadsr.persist.evs;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Vector;
import org.apache.log4j.Logger;
import ... | src/gov/nih/nci/cadsr/persist/evs/Evs_Mgr.java | /**
*
*/
package gov.nih.nci.cadsr.persist.evs;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Vector;
import org.apache.log4j.Logger;
import ... | set Begin date
SVN-Revision: 1263
| src/gov/nih/nci/cadsr/persist/evs/Evs_Mgr.java | set Begin date | <ide><path>rc/gov/nih/nci/cadsr/persist/evs/Evs_Mgr.java
<ide> // generate IDSEQ(primary key)
<ide> evsVO.setIDSEQ(this.generatePrimaryKey(conn));
<ide> evsVO.setDeleted_ind(DBConstants.RECORD_DELETED_NO);
<del> evsVO.setDate_created(new java.sql.Timestamp(new java.util.Date().getTime()));
<add> evsVO.setBegi... | |
Java | apache-2.0 | 4b56770118091efa3f0d328f4ff8399d6ccc4026 | 0 | lizhanhui/Alibaba_RocketMQ,lizhanhui/Alibaba_RocketMQ,lizhanhui/Alibaba_RocketMQ | /**
* Copyright (C) 2010-2013 Alibaba Group Holding Limited
*
* 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 ... | rocketmq-store/src/main/java/com/alibaba/rocketmq/store/MappedFileQueue.java | /**
* Copyright (C) 2010-2013 Alibaba Group Holding Limited
*
* 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 ... | BugFix: fix file comparing by commit log offset.
| rocketmq-store/src/main/java/com/alibaba/rocketmq/store/MappedFileQueue.java | BugFix: fix file comparing by commit log offset. | <ide><path>ocketmq-store/src/main/java/com/alibaba/rocketmq/store/MappedFileQueue.java
<ide> import java.io.File;
<ide> import java.io.FilenameFilter;
<ide> import java.io.IOException;
<del>import java.util.ArrayList;
<del>import java.util.Arrays;
<del>import java.util.Collections;
<del>import java.util.List;
<add>impo... | |
Java | mit | f771b3352f3e370cc6f724fa2df59bac16bdd99a | 0 | joansmith/cucumber-jvm,joansmith/cucumber-jvm,sventorben/cucumber-jvm,Draeval/cucumber-jvm,rlagunov-anaplan/cucumber-jvm,sghill/cucumber-jvm,cucumber/cucumber-jvm,danielwegener/cucumber-jvm,sventorben/cucumber-jvm,NickCharsley/cucumber-jvm,joansmith/cucumber-jvm,NickCharsley/cucumber-jvm,hcawebdevelopment/cucumber-jvm,... | package cucumber.examples.java.helloworld;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@Cucumber.Options(format = {"html:target/cucumber-html-report", "json-pretty:target/cucumber-json-report.json"})
public class RunCukesTest {
}
| examples/java-helloworld/src/test/java/cucumber/examples/java/helloworld/RunCukesTest.java | package cucumber.examples.java.helloworld;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
// Run scenarios tagged with @foo OR @bar. Can be overridden with e.g. -Dcucumber.options="--tags @foo"
// on the command line.
@Cucumber.Options(tags = {"@foo,@bar"}, format = {"ht... | Don't specify tags in runner
| examples/java-helloworld/src/test/java/cucumber/examples/java/helloworld/RunCukesTest.java | Don't specify tags in runner | <ide><path>xamples/java-helloworld/src/test/java/cucumber/examples/java/helloworld/RunCukesTest.java
<ide> import org.junit.runner.RunWith;
<ide>
<ide> @RunWith(Cucumber.class)
<del>// Run scenarios tagged with @foo OR @bar. Can be overridden with e.g. -Dcucumber.options="--tags @foo"
<del>// on the command line.
<del... | |
Java | lgpl-2.1 | 0a283f928e329d2578b87b0b874a7c7bdbe56896 | 0 | concord-consortium/datagraph | /*
* Copyright (C) 2004 The Concord Consortium, Inc.,
* 10 Concord Crossing, Concord, MA 01742
*
* Web Site: http://www.concord.org
* Email: info@concord.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... | src/org/concord/datagraph/state/OTDataAxis.java | /*
* Copyright (C) 2004 The Concord Consortium, Inc.,
* 10 Concord Crossing, Concord, MA 01742
*
* Web Site: http://www.concord.org
* Email: info@concord.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... | Added possibility to specify in the axis a FIXED interval in world coordinates explicitly
git-svn-id: a0d2519504059b70a86a1ce51b726c2279190bad@8101 6e01202a-0783-4428-890a-84243c50cc2b
| src/org/concord/datagraph/state/OTDataAxis.java | Added possibility to specify in the axis a FIXED interval in world coordinates explicitly | <ide><path>rc/org/concord/datagraph/state/OTDataAxis.java
<ide>
<ide> /*
<ide> * Last modification information:
<del> * $Revision: 1.6 $
<del> * $Date: 2007-03-08 22:10:52 $
<del> * $Author: sfentress $
<add> * $Revision: 1.7 $
<add> * $Date: 2007-08-30 21:16:06 $
<add> * $Author: imoncada $
<ide> *
<ide> * Licence... | |
Java | mpl-2.0 | dfe273ac764459966a13521273d28e0552faffcf | 0 | MozillaCZ/MozStumbler,crankycoder/MozStumbler,priyankvex/MozStumbler,petercpg/MozStumbler,crankycoder/MozStumbler,dougt/MozStumbler,priyankvex/MozStumbler,garvankeeley/MozStumbler,cascheberg/MozStumbler,garvankeeley/MozStumbler,petercpg/MozStumbler,priyankvex/MozStumbler,garvankeeley/MozStumbler,cascheberg/MozStumbler,... | package org.mozilla.mozstumbler;
import android.net.wifi.ScanResult;
final class SSIDBlockList {
private static final String[] PREFIX_LIST = {
// Mobile devices
"AndroidAP",
"AndroidHotspot",
"Android Hotspot",
"barnacle", // Android tether app
"Galaxy Note",
... | src/org/mozilla/mozstumbler/SSIDBlockList.java | package org.mozilla.mozstumbler;
import android.net.wifi.ScanResult;
final class SSIDBlockList {
private static final String[] PREFIX_LIST = {
// Mobile devices
"AndroidAP",
"AndroidHotspot",
"Android Hotspot",
"barnacle", // Android tether app
"Galaxy Note",
... | Add MÁV (Hungarian State Railways) InterCity train hot-spots to blocklist | src/org/mozilla/mozstumbler/SSIDBlockList.java | Add MÁV (Hungarian State Railways) InterCity train hot-spots to blocklist | <ide><path>rc/org/mozilla/mozstumbler/SSIDBlockList.java
<ide> "egged.co.il", // Egged transportation services (Israel)
<ide> "gb-tours.com", // GB Tours transportation services (Israel)
<ide> "ISRAEL-RAILWAYS",
<add> "MAVSTART-WiFi", // Hungarian State Railways onboard hotspot on InterCi... | |
Java | apache-2.0 | a28c3cd952ecad18cc871eed166fd76df4a690f6 | 0 | EvilMcJerkface/atlasdb,palantir/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb | atlasdb-dbkvs/src/main/java/com/palantir/atlasdb/keyvalue/dbkvs/TableNameMapper.java | /**
* Copyright 2016 Palantir Technologies
*
* Licensed under the BSD-3 License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Unless required by applicable law or agreed to in wri... | remove unused TableMapper interface
| atlasdb-dbkvs/src/main/java/com/palantir/atlasdb/keyvalue/dbkvs/TableNameMapper.java | remove unused TableMapper interface | <ide><path>tlasdb-dbkvs/src/main/java/com/palantir/atlasdb/keyvalue/dbkvs/TableNameMapper.java
<del>/**
<del> * Copyright 2016 Palantir Technologies
<del> *
<del> * Licensed under the BSD-3 License (the "License");
<del> * you may not use this file except in compliance with the License.
<del> * You may obtain a copy of... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.