lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | mit | ab902e453682a20bf2837c900ca769e71fc08730 | 0 | jbrr/ski-free-test,jbrr/ski-free,jbrr/ski-free-test,jbrr/ski-free |
var Skier = require('./skier');
var reportCollisions = require('./collision');
var obstacleGenerator = require('./obstacle-generator');
var yetiEnding = require('./yeti-generator');
var Yeti = require('./yeti');
var canvas = document.getElementById('skifree');
var ctx = canvas.getContext('2d');
var stopped = false;
v... | app/lib/index.js |
var Skier = require('./skier');
var reportCollisions = require('./collision');
var obstacleGenerator = require('./obstacle-generator');
var yetiEnding = require('./yeti-generator');
var Yeti = require('./yeti');
var canvas = document.getElementById('skifree');
var ctx = canvas.getContext('2d');
var stopped = false;
v... | Add ability to stop and clear the game if lives are equal to zero or the yeti attacks the skier.
| app/lib/index.js | Add ability to stop and clear the game if lives are equal to zero or the yeti attacks the skier. | <ide><path>pp/lib/index.js
<ide> }
<ide>
<ide> var stopCheck = function(skier, yeti) {
<del> if ((yeti.x === skier.x && yeti.y === skier.y) || skier.lives === 0) {
<del> context.clearRect(0, 0, canvas.width, canvas.height);
<add> if (Math.round(yeti.x) === Math.round(skier.x) && Math.round(yeti.y) === Math.round(... | |
Java | mit | d3f5a78334a17c991c6a34a01e9ac0474ee9c5a4 | 0 | omor1/CSE360-Project | import java.sql.*;
public class MySQLConnect {
Connection conn = null;
public static Connection ConnectDb() throws ClassNotFoundException, SQLException {
Class.forName("com.mysql.jdbc.Driver");
Connection conn = DriverManager.getConnection("jdbc:mysql://Localhost/student","root","root");
System.out.println(... | JavaMD2/src/MySQLConnect.java | import java.sql.*;
import javax.swing.*;
public class MySQLConnect {
Connection conn = null;
public static Connection ConnectDb(){
try{
Class.forName("com.mysql.jdbc.Driver");
Connection conn = DriverManager.getConnection("jdbc:mysql://Localhost/student","root","root");
System.out.println("Connection work!... | JavaMD2/src/MySQLConnect.java: throws ClassNotFoundException,
SQLException
JavaMD2/src/MySQLConnect.java: formatting
| JavaMD2/src/MySQLConnect.java | JavaMD2/src/MySQLConnect.java: throws ClassNotFoundException, SQLException JavaMD2/src/MySQLConnect.java: formatting | <ide><path>avaMD2/src/MySQLConnect.java
<ide> import java.sql.*;
<del>import javax.swing.*;
<add>
<ide> public class MySQLConnect {
<ide> Connection conn = null;
<del> public static Connection ConnectDb(){
<del> try{
<add> public static Connection ConnectDb() throws ClassNotFoundException, SQLException {
<ide> Cla... | |
Java | apache-2.0 | 3a97efbd2393b76957ff3ecdfad7a5c30ed043f7 | 0 | opetrovski/development,opetrovski/development,opetrovski/development,opetrovski/development,opetrovski/development | /*******************************************************************************
*
* Copyright FUJITSU LIMITED 2016
* ... | oscm-portal-unittests/javasrc/org/oscm/ui/filter/AuthenticationSettingsTest.java | /*******************************************************************************
*
* Copyright FUJITSU LIMITED 2016
* ... | fixed tests
| oscm-portal-unittests/javasrc/org/oscm/ui/filter/AuthenticationSettingsTest.java | fixed tests | <ide><path>scm-portal-unittests/javasrc/org/oscm/ui/filter/AuthenticationSettingsTest.java
<ide> import org.oscm.internal.types.exception.ObjectNotFoundException;
<ide> import org.oscm.internal.vo.VOConfigurationSetting;
<ide> import org.oscm.internal.vo.VOTenant;
<add>import org.oscm.tenant.bean.TenantServiceBean;
<id... | |
Java | apache-2.0 | c268bfe5d64ee3ca159555f76de96709983334d6 | 0 | 007slm/nutz,livvyguo/nutz,elkan1788/nutz,happyday517/nutz,yaotj/nutz,ansjsun/nutz,sdgdsffdsfff/nutz,ansjsun/nutz,happyday517/nutz,sunshinefather/nutz,InsideZhou/nutz,sdgdsffdsfff/nutz,ansjsun/nutz,joansmith/nutz,007slm/nutz,dxxfire/nutz,InsideZhou/nutz,fengshao0907/nutz,QinAIns/nutz,fengshao0907/nutz,nutzam/nutz,sunshi... | package org.nutz.lang;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.io.Reader;
import java.io.Writer;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.Ar... | src/org/nutz/lang/Lang.java | package org.nutz.lang;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.io.Reader;
import java.io.Writer;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.Ar... | 修正JDoc错误
git-svn-id: b73081968da82ba525d2f11eaba64c47babea5dc@1662 423f10f2-e3a4-11dd-a6ea-a32d6b26a33d
| src/org/nutz/lang/Lang.java | 修正JDoc错误 | <ide><path>rc/org/nutz/lang/Lang.java
<ide> *
<ide> * @param col
<ide> * 集合对象
<del> * @param classOfList
<add> * @param eleType
<ide> * 列表类型
<ide> * @return 列表对象
<ide> */ | |
Java | agpl-3.0 | 75b5dc6fe33eaa9220b2701368717b8342129509 | 0 | creative-quant/voltdb,ingted/voltdb,deerwalk/voltdb,deerwalk/voltdb,simonzhangsm/voltdb,migue/voltdb,deerwalk/voltdb,wolffcm/voltdb,creative-quant/voltdb,ingted/voltdb,VoltDB/voltdb,creative-quant/voltdb,flybird119/voltdb,zuowang/voltdb,zuowang/voltdb,paulmartel/voltdb,ingted/voltdb,zuowang/voltdb,VoltDB/voltdb,ingted/... | /* This file is part of VoltDB.
* Copyright (C) 2008-2010 VoltDB L.L.C.
*
* VoltDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version... | src/frontend/org/voltdb/dtxn/DtxnInitiatorQueue.java | /* This file is part of VoltDB.
* Copyright (C) 2008-2010 VoltDB L.L.C.
*
* VoltDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version... | Clean up DtxnInitiatorQueue comments:
- Remove a stale XXX comment
- Add some additional RecordForFuture to a place with crashVoltDB()
| src/frontend/org/voltdb/dtxn/DtxnInitiatorQueue.java | Clean up DtxnInitiatorQueue comments: - Remove a stale XXX comment - Add some additional RecordForFuture to a place with crashVoltDB() | <ide><path>rc/frontend/org/voltdb/dtxn/DtxnInitiatorQueue.java
<ide> if (!m_txnIdResponses.containsKey(txn_id))
<ide> {
<ide> // No response was ever received for this TXN.
<del> // What's the right thing to return to the client?
<de... | |
Java | apache-2.0 | 8a0b81020b24dffebc1e3a7980f3e7a8b58d24c9 | 0 | ditadewindita/CodeUSummer2017,ditadewindita/CodeUSummer2017 | package codeu.chat.common;
import codeu.chat.server.Server;
import codeu.chat.util.Logger;
import codeu.chat.util.Time;
import codeu.chat.util.Uuid;
import java.io.IOException;
/**
* Created by dita on 5/20/17.
*/
public final class ServerInfo {
private final static String SERVER_VERSION = "1.0.0";
privat... | src/codeu/chat/common/ServerInfo.java | package codeu.chat.common;
import codeu.chat.server.Server;
import codeu.chat.util.Logger;
import codeu.chat.util.Uuid;
import java.io.IOException;
/**
* Created by dita on 5/20/17.
*/
public final class ServerInfo {
private final static String SERVER_VERSION = "1.0.0";
private static final Logger.Log LOG... | Time import - quick fix
| src/codeu/chat/common/ServerInfo.java | Time import - quick fix | <ide><path>rc/codeu/chat/common/ServerInfo.java
<ide>
<ide> import codeu.chat.server.Server;
<ide> import codeu.chat.util.Logger;
<add>import codeu.chat.util.Time;
<ide> import codeu.chat.util.Uuid;
<ide> import java.io.IOException;
<ide>
<ide>
<ide> private static final Logger.Log LOG = Logger.newLog(ServerInfo... | |
JavaScript | mit | 2a9a5e50f566acab0efefd6a42f9618f1b191130 | 0 | JS-UI-And-DOM-Team-Pisco-Sour/Team-Pisco-Sour,JS-UI-And-DOM-Team-Pisco-Sour/Team-Pisco-Sour | window.onload = function () {
var CONSTANTS = {
STAGE_WIDTH: 800,
STAGE_HEIGHT: 600
};
var stage, layer, backgroundImageObj, playerImageObj;
function loadCanvas() {
var container = document.getElementById('gameplay-container');
container.position =
stage = new K... | GameplayScreen/Sources/js/gameplay-controls.js | window.onload = function () {
var CONSTANTS = {
STAGE_WIDTH: 800,
STAGE_HEIGHT: 600
};
var stage, layer, backgroundImageObj,
player = new Image();
function loadCanvas() {
stage = new Kinetic.Stage({
container: 'gameplay-container',
width: CONSTAN... | Minor changes made
| GameplayScreen/Sources/js/gameplay-controls.js | Minor changes made | <ide><path>ameplayScreen/Sources/js/gameplay-controls.js
<ide> STAGE_HEIGHT: 600
<ide> };
<ide>
<del> var stage, layer, backgroundImageObj,
<del> player = new Image();
<add> var stage, layer, backgroundImageObj, playerImageObj;
<ide>
<ide> function loadCanvas() {
<add> var containe... | |
Java | mit | 9d8873a1b1e963269d5a89bd895129769dc6e542 | 0 | Hydral1k/HTMLEditor,Hydral1k/HTMLEditor | /*
* The Command to create a new file.
*/
package htmleditor.commands;
import htmleditor.CloseListener;
import htmleditor.HTMLEditor;
import htmleditor.MyEventHandler;
import htmleditor.TabData;
import javafx.event.Event;
import javafx.scene.control.Label;
import javafx.scene.control.Tab;
import javafx.s... | HTMLEditor/src/htmleditor/commands/NewFileCommand.java | /*
* The Command to create a new file.
*/
package htmleditor.commands;
import htmleditor.CloseListener;
import htmleditor.HTMLEditor;
import htmleditor.MyEventHandler;
import htmleditor.TabData;
import javafx.event.Event;
import javafx.scene.control.Label;
import javafx.scene.control.Tab;
import javafx.s... | Minor change to fix undo/redo. | HTMLEditor/src/htmleditor/commands/NewFileCommand.java | Minor change to fix undo/redo. | <ide><path>TMLEditor/src/htmleditor/commands/NewFileCommand.java
<ide> tab.getContent().requestFocus();
<ide> }
<ide> */
<add>
<add> //This saves the initial state to the newly created tab's undoManager.
<add> ((TabData)tab.getUserData()).getUndoManager().save(this.edit... | |
Java | apache-2.0 | fdeffbaf2dd78812aa0fd5bcf501e19e1f654fc5 | 0 | Popalay/Cardme,Popalay/Cardme,Popalay/Cardme | package com.popalay.cardme;
public final class Constants {
private Constants() {
}
public static final String PRIVACY_POLICY_LINK
= "https://rawgit.com/Popalay/Cardme/master/privacy_policy.html";
}
| app/src/main/java/com/popalay/cardme/Constants.java | package com.popalay.cardme;
public final class Constants {
private Constants() {
}
public static final String PRIVACY_POLICY_LINK
= "https://cdn.rawgit.com/Popalay/Cardme/48fdd882/privacy_policy.html";
}
| Update privacy policy link
| app/src/main/java/com/popalay/cardme/Constants.java | Update privacy policy link | <ide><path>pp/src/main/java/com/popalay/cardme/Constants.java
<ide> }
<ide>
<ide> public static final String PRIVACY_POLICY_LINK
<del> = "https://cdn.rawgit.com/Popalay/Cardme/48fdd882/privacy_policy.html";
<add> = "https://rawgit.com/Popalay/Cardme/master/privacy_policy.html";
<ide> } | |
Java | mit | 37743d9bead781711c11354611dfe48ab860b7db | 0 | dcoraboeuf/ontrack,dcoraboeuf/ontrack,dcoraboeuf/ontrack,dcoraboeuf/ontrack,joansmith/ontrack,joansmith/ontrack,joansmith/ontrack,joansmith/ontrack,joansmith/ontrack | package net.ontrack.web.ui;
import com.google.common.base.Predicate;
import com.google.common.collect.Collections2;
import com.google.common.collect.Lists;
import net.ontrack.core.model.*;
import net.ontrack.core.security.SecurityUtils;
import net.ontrack.core.ui.ManageUI;
import net.ontrack.core.ui.PropertyUI... | ontrack-web/src/main/java/net/ontrack/web/ui/ManageUIController.java | package net.ontrack.web.ui;
import com.google.common.base.Predicate;
import com.google.common.collect.Collections2;
import com.google.common.collect.Lists;
import net.ontrack.core.model.*;
import net.ontrack.core.security.SecurityUtils;
import net.ontrack.core.ui.ManageUI;
import net.ontrack.core.ui.PropertyUI... | #224 Correction of the UI for the decoration of one validation stamp
| ontrack-web/src/main/java/net/ontrack/web/ui/ManageUIController.java | #224 Correction of the UI for the decoration of one validation stamp | <ide><path>ntrack-web/src/main/java/net/ontrack/web/ui/ManageUIController.java
<ide> }
<ide>
<ide> @Override
<del> @RequestMapping(value = "/ui/manage/project/{project:[A-Za-z0-9_\\.\\-]+}/branch/{branch:[A-Za-z0-9_\\.\\-]+}/validation_stamp/{name:[A-Za-z0-9_\\.\\-]+}/decorated", method = RequestMethod.GET)... | |
JavaScript | mit | 9a1d6fbef659622d36c3b4237fc21faabe958c01 | 0 | nqdy666/grunt-autoprefixer,yuhualingfeng/grunt-autoprefixer,nDmitry/grunt-autoprefixer | 'use strict';
var path = require('path');
var autoprefixer = require('autoprefixer');
var diff = require('diff');
module.exports = function(grunt) {
grunt.registerMultiTask(
'autoprefixer',
'Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website.',
function... | tasks/autoprefixer.js | 'use strict';
var path = require('path');
var autoprefixer = require('autoprefixer');
var diff = require('diff');
module.exports = function(grunt) {
grunt.registerMultiTask(
'autoprefixer',
'Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website.',
function... | Use slashes for the `sources` map property on Windows. Fixes #25
| tasks/autoprefixer.js | Use slashes for the `sources` map property on Windows. Fixes #25 | <ide><path>asks/autoprefixer.js
<ide> function fixSources(sources, to) {
<ide> for (var i = 0, ii = sources.length; i < ii; i++) {
<ide> sources[i] = path.relative(path.dirname(to), sources[i]);
<add>
<add> if (path.sep === '\\') {
<add>... | |
Java | mit | bae6fde67614c3f55c0b6084da1cf200f88c4a9a | 0 | Permafrost/Tundra.java,Permafrost/Tundra.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Lachlan Dowding
*
* 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 u... | src/main/java/permafrost/tundra/server/ServerThreadFactory.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Lachlan Dowding
*
* 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 u... | Change ServerThreadFactory to create a new session for each new thread
| src/main/java/permafrost/tundra/server/ServerThreadFactory.java | Change ServerThreadFactory to create a new session for each new thread | <ide><path>rc/main/java/permafrost/tundra/server/ServerThreadFactory.java
<ide> thread.setName(String.format("%s #%03d ThreadContext=%s", threadNamePrefix, threadCount, threadContext));
<ide> }
<ide>
<del> thread.setInvokeState(InvokeStateHelper.clone(invokeState));
<add> InvokeState ... | |
JavaScript | apache-2.0 | 9e43da5a01c1e541aa0fbf092ddbd3ce9e55bb2b | 0 | aaxelb/osf.io,felliott/osf.io,abought/osf.io,brianjgeiger/osf.io,amyshi188/osf.io,HalcyonChimera/osf.io,Nesiehr/osf.io,cwisecarver/osf.io,kch8qx/osf.io,crcresearch/osf.io,binoculars/osf.io,monikagrabowska/osf.io,baylee-d/osf.io,rdhyee/osf.io,acshi/osf.io,cslzchen/osf.io,aaxelb/osf.io,mluo613/osf.io,emetsger/osf.io,Roma... | /**
* Builds full page project browser
*/
'use strict';
var $ = require('jquery'); // jQuery
var m = require('mithril'); // exposes mithril methods, useful for redraw etc.
var ProjectOrganizer = require('js/project-organizer');
var $osf = require('js/osfHelpers');
var Raven = require('raven-js');
var LogText = requ... | website/static/js/myProjects.js | /**
* Builds full page project browser
*/
'use strict';
var $ = require('jquery'); // jQuery
var m = require('mithril'); // exposes mithril methods, useful for redraw etc.
var ProjectOrganizer = require('js/project-organizer');
var $osf = require('js/osfHelpers');
var Raven = require('raven-js');
var LogText = requ... | Add event tracking for navigating to project from information panel when multiple selected.
| website/static/js/myProjects.js | Add event tracking for navigating to project from information panel when multiple selected. | <ide><path>ebsite/static/js/myProjects.js
<ide> } }, 'Remove selected from collection')) : '',
<ide> args.selected().map(function(item){
<ide> return m('.db-info-multi', [
<del> m('h4', m('a', { href : item.data.links.html}, item.data.attributes... | |
Java | apache-2.0 | error: pathspec 'framework/db/test/com/cloud/utils/db/FilterTest.java' did not match any file(s) known to git
| 9d1a469ae5f0a3751b64d66582fbcc2180a9c97c | 1 | jcshen007/cloudstack,GabrielBrascher/cloudstack,wido/cloudstack,resmo/cloudstack,resmo/cloudstack,GabrielBrascher/cloudstack,jcshen007/cloudstack,GabrielBrascher/cloudstack,DaanHoogland/cloudstack,DaanHoogland/cloudstack,resmo/cloudstack,jcshen007/cloudstack,jcshen007/cloudstack,DaanHoogland/cloudstack,resmo/cloudstack... | // 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... | framework/db/test/com/cloud/utils/db/FilterTest.java | CLOUDSTACK-9006 - ListTemplates API returns result in inconsistent order when called concurrently
Adding filter test to verify addOrderBy method.
| framework/db/test/com/cloud/utils/db/FilterTest.java | CLOUDSTACK-9006 - ListTemplates API returns result in inconsistent order when called concurrently | <ide><path>ramework/db/test/com/cloud/utils/db/FilterTest.java
<add>// Licensed to the Apache Software Foundation (ASF) under one
<add>// or more contributor license agreements. See the NOTICE file
<add>// distributed with this work for additional information
<add>// regarding copyright ownership. The ASF licenses th... | |
JavaScript | mpl-2.0 | ba88fa6c28d166e12d49b5399a60808167ffaf06 | 0 | linediconsine/biscreen-test,linediconsine/biscreen-test | /**
* Created by ninja on 30/06/14.
*/
Modernizr.addTest('bigscreen', function () {
var dim = {
width: 0, height: 0
};
if (document.body && document.body.offsetWidth) {
dim.width = document.body.offsetWidth;
dim.height = document.body.offsetHeight;
}
if (document.compatM... | biscreen-test.js | /**
* Created by ninja on 30/06/14.
*/
Modernizr.addTest('bigscreen', function () {
var dim = {
width: 0, height: 0
};
if (document.body && document.body.offsetWidth) {
dim.width = document.body.offsetWidth;
dim.height = document.body.offsetHeight;
}
if (document.compatM... | fix test from test done
| biscreen-test.js | fix test from test done | <ide><path>iscreen-test.js
<ide> }
<ide> /* Detect height both Portrait/landscape mode */
<ide> little = Math.min(dim.width,dim.height);
<del> return little > 400;
<add> return little > 980;
<ide> });
<ide>
<ide> | |
JavaScript | mpl-2.0 | 0ecb2d1e4f578f095fb360a4e534f5f0d4525b1f | 0 | joyent/sdcadm,joyent/sdcadm,joyent/sdcadm | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
* Copyright (c) 2015, Joyent, Inc.
*/
/*
* Core SdcAdm class.
*/
var assert = require('assert-plus');... | lib/sdcadm.js | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
* Copyright (c) 2015, Joyent, Inc.
*/
/*
* Core SdcAdm class.
*/
var assert = require('assert-plus');... | TOOLS-1115: No need to call "removeAllListeners()" for Ur Discovery ("cancel()" is enough)
| lib/sdcadm.js | TOOLS-1115: No need to call "removeAllListeners()" for Ur Discovery ("cancel()" is enough) | <ide><path>ib/sdcadm.js
<ide> * We are done with this discovery session. Cancel it and
<ide> * ignore future error/end events.
<ide> */
<del> disco.removeAllListeners();
<ide> disco.cancel();
<ide> failure(err);
<ide> ... | |
Java | mit | 38e51e409dbf7498d1f92c531d10c6a99061ba0e | 0 | tripu/validator,takenspc/validator,tripu/validator,takenspc/validator,validator/validator,YOTOV-LIMITED/validator,validator/validator,YOTOV-LIMITED/validator,validator/validator,sammuelyee/validator,tripu/validator,sammuelyee/validator,YOTOV-LIMITED/validator,sammuelyee/validator,takenspc/validator,takenspc/validator,s... | /*
* Copyright (c) 2005 Henri Sivonen
* Copyright (c) 2007-2012 Mozilla Foundation
*
* 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 ... | src/nu/validator/servlet/VerifierServlet.java | /*
* Copyright (c) 2005 Henri Sivonen
* Copyright (c) 2007-2008 Mozilla Foundation
*
* 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 ... | Fixed typo and updated copyright date.
| src/nu/validator/servlet/VerifierServlet.java | Fixed typo and updated copyright date. | <ide><path>rc/nu/validator/servlet/VerifierServlet.java
<ide> /*
<ide> * Copyright (c) 2005 Henri Sivonen
<del> * Copyright (c) 2007-2008 Mozilla Foundation
<add> * Copyright (c) 2007-2012 Mozilla Foundation
<ide> *
<ide> * Permission is hereby granted, free of charge, to any person obtaining a
<ide> * copy of thi... | |
Java | mit | 7ae393479436e26d41fa1edbd8a157771a25466b | 0 | johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod | package de.danoeh.antennapod.core.util;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import de.danoeh.antennapod.core.feed.FeedItem;
import de.danoeh.antennapod.core.feed.FeedMedia;
import de.danoeh.antenn... | core/src/main/java/de/danoeh/antennapod/core/util/QueueSorter.java | package de.danoeh.antennapod.core.util;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import de.danoeh.antennapod.core.feed.FeedItem;
import de.danoeh.antennapod.core.feed.FeedMedia;
import de.danoeh.antenn... | Fix the smart shuffle spread calculation
We want to ensure that the total spread is divisible by all feed
sizes, so the modulo calculation needs to divide spread by the feed
size, not the other way round as is done currently.
In addition, this ensures the per-feed spread is never 0 (so the
degenerate case is equivale... | core/src/main/java/de/danoeh/antennapod/core/util/QueueSorter.java | Fix the smart shuffle spread calculation | <ide><path>ore/src/main/java/de/danoeh/antennapod/core/util/QueueSorter.java
<ide> Collections.sort(feedItems, itemComparator);
<ide> if (spread == 0) {
<ide> spread = feedItems.size();
<del> } else if (feedItems.size() % spread != 0){
<add> } else if (sprea... | |
Java | epl-1.0 | 8a58d9105e97152e97812fd3f97b165f312e87b5 | 0 | brfeddersen/sadlos2,brfeddersen/sadlos2,brfeddersen/sadlos2 | /************************************************************************
* Copyright \u00a9 2007-2010 - General Electric Company, All Rights Reserved
*
* Project: SADL
*
* Description: The Semantic Application Design Language (SADL) is a
* language for building semantic models and expressing rules that
* ca... | com.ge.research.sadl.jena-wrapper-for-sadl/src/main/java/com/ge/research/sadl/jena/translator/JenaTranslatorPlugin.java | /************************************************************************
* Copyright \u00a9 2007-2010 - General Electric Company, All Rights Reserved
*
* Project: SADL
*
* Description: The Semantic Application Design Language (SADL) is a
* language for building semantic models and expressing rules that
* ca... | Removed warnings
Added SuppressWarnings attribute to remove warnings
| com.ge.research.sadl.jena-wrapper-for-sadl/src/main/java/com/ge/research/sadl/jena/translator/JenaTranslatorPlugin.java | Removed warnings | <ide><path>om.ge.research.sadl.jena-wrapper-for-sadl/src/main/java/com/ge/research/sadl/jena/translator/JenaTranslatorPlugin.java
<ide> }
<ide>
<ide>
<add> @SuppressWarnings("unused")
<ide> public String translateQuery(OntModel model, Query query)
<ide> throws TranslationException, InvalidNameException {
<ide> ... | |
JavaScript | mit | 1e7217795062939cf524122b6e01f29cc7a108af | 0 | taingk/SmartPoker,taingk/SmartPoker,taingk/SmartPoker | var lock = false;
function socket_listens_players(socket, table) {
var player; // Current player.
var curseat; // Current seat.
var channel; // Channel involved.
socket.on("is valid nickname", function(nickname, seat_idx) {
curseat = get_seat(table.seats, seat_idx);
channel = ... | sv/players_general_socket.js | var lock = false;
function socket_listens_players(socket, table) {
var player; // Current player.
var curseat; // Current seat.
var channel; // Channel involved.
socket.on("is valid nickname", function(nickname, seat_idx) {
curseat = get_seat(table.seats, seat_idx);
channel = ... | retry
| sv/players_general_socket.js | retry | <ide><path>v/players_general_socket.js
<ide> if (decision == "FOLD" && (table.game.round_nb + 1) == table.playing_seats.length);
<ide> else
<ide> ++table.game.round_nb;
<del> if (!get_seat(table.seats, table.game.highlights_pos).player.bankroll) {
<add> /* if (!get_seat(table.se... | |
Java | apache-2.0 | ed5e336872efe638198ccabc7a4e054f7d24df20 | 0 | Danny02/deltaspike,os890/DS_Discuss,struberg/deltaspike,chkal/deltaspike,mlachat/deltaspike,rdicroce/deltaspike,tremes/deltaspike,LightGuard/incubator-deltaspike,os890/deltaspike-vote,chkal/deltaspike,idontgotit/deltaspike,rafabene/deltaspike,idontgotit/deltaspike,os890/DS_Discuss,os890/deltaspike-vote,subaochen/deltas... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/ClasspathResourceTest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | DELTASPIKE-399 fixed test
| deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/ClasspathResourceTest.java | DELTASPIKE-399 fixed test | <ide><path>eltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/resourceloader/ClasspathResourceTest.java
<ide> Assume.assumeTrue(!isOwbForCdi10());
<ide> //note, we only test this on classpath, since File impl is always getting 1.
<ide> List<InputStream> streams = testResource... | |
Java | apache-2.0 | c35707ce06bd1c2eae0a56d43c8d1057ed8efc70 | 0 | idea4bsd/idea4bsd,apixandru/intellij-community,robovm/robovm-studio,izonder/intellij-community,ol-loginov/intellij-community,alphafoobar/intellij-community,ivan-fedorov/intellij-community,da1z/intellij-community,semonte/intellij-community,asedunov/intellij-community,mglukhikh/intellij-community,pwoodworth/intellij-comm... | /*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/testSrc/com/intellij/ide/ActivityMonitorTest.java | /*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | ActivityMonitor test fixed
| platform/platform-impl/testSrc/com/intellij/ide/ActivityMonitorTest.java | ActivityMonitor test fixed | <ide><path>latform/platform-impl/testSrc/com/intellij/ide/ActivityMonitorTest.java
<ide> }
<ide> }, getTestRootDisposable());
<ide> myMonitor = new UiActivityMonitorImpl(new MockApplication(getTestRootDisposable()));
<add> myMonitor.setActive(true);
<ide> disposeOnTearDown(myMonitor);
<ide> }
<id... | |
Java | apache-2.0 | 4e6b93a230ed3bf75f9e176576159d67a2958517 | 0 | Penrillian/LongStringLoader,bellabling/LongStringLoader | package com.penrillian.longstringloaderexample;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import com.google.android.gms.common.GoogleApiAvailability;
import com.penrillian.longstringloa... | exampleApp/LongStringLoaderExample/app/src/main/java/com/penrillian/longstringloaderexample/RecyclerViewExampleActivity.java | package com.penrillian.longstringloaderexample;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import com.google.android.gms.common.GoogleApiAvailability;
import com.penrillian.longstringloa... | Use new API
| exampleApp/LongStringLoaderExample/app/src/main/java/com/penrillian/longstringloaderexample/RecyclerViewExampleActivity.java | Use new API | <ide><path>xampleApp/LongStringLoaderExample/app/src/main/java/com/penrillian/longstringloaderexample/RecyclerViewExampleActivity.java
<ide> mLongStringLayout = (LinearLayout) findViewById(R.id.long_string_layout);
<ide> try
<ide> {
<del> new LongStringLoader(this, GoogleApiAvailability.getInstance().getOpenSou... | |
Java | mit | e36620ac9ebf604882596aae0b70ab576622be3e | 0 | jonasrottmann/realm-browser | package de.jonasrottmann.realmsample.data;
import io.realm.RealmObject;
public class Image extends RealmObject {
private int id;
private byte[] bytes;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public byte[] getBytes() {
return ... | app/src/main/java/de/jonasrottmann/realmsample/data/Image.java | package de.jonasrottmann.realmsample.data;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
public class Image extends RealmObject {
@PrimaryKey
private int id;
private byte[] bytes;
public int getId() {
return id;
}
public void setId(int id) {
this.id = i... | removed pk from test image entity
| app/src/main/java/de/jonasrottmann/realmsample/data/Image.java | removed pk from test image entity | <ide><path>pp/src/main/java/de/jonasrottmann/realmsample/data/Image.java
<ide> package de.jonasrottmann.realmsample.data;
<ide>
<ide> import io.realm.RealmObject;
<del>import io.realm.annotations.PrimaryKey;
<ide>
<ide> public class Image extends RealmObject {
<del> @PrimaryKey
<ide> private int id;
<ide> ... | |
Java | lgpl-2.1 | fac1361e6664eb740793c7381811d2495075c0c2 | 0 | tiry/nuxeo-security-policy-logger | package org.nuxeo.security.logger;
import java.security.Principal;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuxeo.ecm.core.api.security.ACE;
import org.nuxeo.ecm.core.api.security.ACL;
import org.nuxeo.ecm.core.api.security.ACP;
import org.nuxeo.ecm.core.api.secu... | src/main/java/org/nuxeo/security/logger/LogingSecurityPolicy.java | package org.nuxeo.security.logger;
import java.security.Principal;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuxeo.ecm.core.api.security.ACP;
import org.nuxeo.ecm.core.api.security.Access;
import org.nuxeo.ecm.core.model.Document;
import org.nuxeo.ecm.core.query.s... | Add more logs to get info on ACLs
| src/main/java/org/nuxeo/security/logger/LogingSecurityPolicy.java | Add more logs to get info on ACLs | <ide><path>rc/main/java/org/nuxeo/security/logger/LogingSecurityPolicy.java
<ide>
<ide> import org.apache.commons.logging.Log;
<ide> import org.apache.commons.logging.LogFactory;
<add>import org.nuxeo.ecm.core.api.security.ACE;
<add>import org.nuxeo.ecm.core.api.security.ACL;
<ide> import org.nuxeo.ecm.core.api.securi... | |
Java | mit | ed915a8a86e09205bd56bfdbda52b7cb259d31bd | 0 | godotgildor/igv,godotgildor/igv,itenente/igv,igvteam/igv,godotgildor/igv,godotgildor/igv,amwenger/igv,amwenger/igv,itenente/igv,amwenger/igv,igvteam/igv,godotgildor/igv,amwenger/igv,itenente/igv,igvteam/igv,amwenger/igv,itenente/igv,igvteam/igv,igvteam/igv,itenente/igv | /*
* Copyright (c) 2007-2012 The Broad Institute, Inc.
* SOFTWARE COPYRIGHT NOTICE
* This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved.
*
* This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsibl... | src/org/broad/igv/util/HttpUtils.java | /*
* Copyright (c) 2007-2012 The Broad Institute, Inc.
* SOFTWARE COPYRIGHT NOTICE
* This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved.
*
* This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsibl... | For Java version < 1.8, maintain SSL hack to maintain current behavior.
| src/org/broad/igv/util/HttpUtils.java | For Java version < 1.8, maintain SSL hack to maintain current behavior. | <ide><path>rc/org/broad/igv/util/HttpUtils.java
<ide>
<ide> htsjdk.tribble.util.ParsingUtils.registerHelperClass(IGVUrlHelper.class);
<ide>
<del> // disableCertificateValidation();
<add> if(!Globals.checkJavaVersion("1.8")) {
<add> disableCertificateValidation();
<add> }
<ide> ... | |
Java | apache-2.0 | 2c394cedea0b3b89d83d88a1690b6e5ec24c89bd | 0 | apache/incubator-taverna-server,apache/incubator-taverna-server,taverna/taverna-server,taverna/taverna-server,apache/incubator-taverna-server,taverna/taverna-server,taverna/taverna-server | /*
* Copyright (C) 2013 The University of Manchester
*
* See the file "LICENSE" for license terms.
*/
package org.taverna.server.master.common.version;
import static org.taverna.server.master.common.version.Constants.PATCH;
import static org.taverna.server.master.common.version.Constants.VERSION;
/**
* Common l... | server-webapp/src/main/java/org/taverna/server/master/common/version/Version.java | /*
* Copyright (C) 2013 The University of Manchester
*
* See the file "LICENSE" for license terms.
*/
package org.taverna.server.master.common.version;
import static org.taverna.server.master.common.version.Constants.PATCH;
import static org.taverna.server.master.common.version.Constants.VERSION;
import static or... | Version correction | server-webapp/src/main/java/org/taverna/server/master/common/version/Version.java | Version correction | <ide><path>erver-webapp/src/main/java/org/taverna/server/master/common/version/Version.java
<ide>
<ide> import static org.taverna.server.master.common.version.Constants.PATCH;
<ide> import static org.taverna.server.master.common.version.Constants.VERSION;
<del>import static org.taverna.server.master.common.version.Con... | |
Java | apache-2.0 | 23a7f5c05121c486f6ee9e484adcf10cc01f8d98 | 0 | icirellik/tika,zamattiac/tika,icirellik/tika,smadha/tika,zamattiac/tika,icirellik/tika,icirellik/tika,smadha/tika,zamattiac/tika,smadha/tika,icirellik/tika,zamattiac/tika,smadha/tika,icirellik/tika,smadha/tika,zamattiac/tika,smadha/tika,zamattiac/tika,zamattiac/tika,icirellik/tika,zamattiac/tika,smadha/tika,icirellik/t... | /*
* 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 ... | tika-parsers/src/main/java/org/apache/tika/parser/microsoft/SummaryExtractor.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 ... | TIKA-1188 Other parsers may be working on OLE2 files, and hence may want to be able to call the common OLE2 metadata extraction code, so make it public not package
git-svn-id: de575e320ab8ef6bd6941acfb783cdb8d8307cc1@1535395 13f79535-47bb-0310-9956-ffa450edef68
| tika-parsers/src/main/java/org/apache/tika/parser/microsoft/SummaryExtractor.java | TIKA-1188 Other parsers may be working on OLE2 files, and hence may want to be able to call the common OLE2 metadata extraction code, so make it public not package | <ide><path>ika-parsers/src/main/java/org/apache/tika/parser/microsoft/SummaryExtractor.java
<ide> import org.apache.tika.metadata.TikaCoreProperties;
<ide>
<ide> /**
<del> * Outlook Message Parser.
<add> * Extractor for Common OLE2 (HPSF) metadata
<ide> */
<del>class SummaryExtractor {
<del>
<add>public class Summary... | |
Java | apache-2.0 | 1e5a597654e5aba705f44d766ce929b30b486d66 | 0 | alibaba/nacos,alibaba/nacos,alibaba/nacos,alibaba/nacos | /*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | client/src/test/java/com/alibaba/nacos/client/ConfigTest.java | /*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | [ISSUE #3613] Fix `unit test method not be static` & update publish config listener in `ConfigTest.java` (#3614)
* fix `unit test method not be static` & update publish config listener in `ConfigTest.java`
* fix `unit test method not be static` & update publish config listener in `ConfigTest.java` | client/src/test/java/com/alibaba/nacos/client/ConfigTest.java | [ISSUE #3613] Fix `unit test method not be static` & update publish config listener in `ConfigTest.java` (#3614) | <ide><path>lient/src/test/java/com/alibaba/nacos/client/ConfigTest.java
<ide> import com.alibaba.nacos.api.PropertyKeyConst;
<ide> import com.alibaba.nacos.api.config.ConfigService;
<ide> import com.alibaba.nacos.api.config.listener.AbstractListener;
<add>import com.alibaba.nacos.api.exception.NacosException;
<ide> imp... | |
Java | apache-2.0 | 7828895e2ea537268c8d2dbd1a2e0249dfc13bc4 | 0 | webanno/webanno,webanno/webanno,webanno/webanno,webanno/webanno | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | webanno-webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/page/annotation/AnnotationPage.java | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | Showing x of y documents feature #357
| webanno-webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/page/annotation/AnnotationPage.java | Showing x of y documents feature #357 | <ide><path>ebanno-webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/page/annotation/AnnotationPage.java
<ide> {
<ide> editor.reset(aTarget);
<ide> // List of all Source Documents in the project
<del> List<SourceDocument> listOfSourceDocuements = rep... | |
Java | apache-2.0 | 299c9da651faf2487d1c6c3c07d2567c36696270 | 0 | Orange-OpenSource/wro4j-taglib | /*
* Copyright 2011 France Télécom
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | src/main/java/com/francetelecom/saasstore/wro4j/taglib/AntPathStringMatcher.java | /*
* Copyright 2011 France Télécom
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | remove unused imports
| src/main/java/com/francetelecom/saasstore/wro4j/taglib/AntPathStringMatcher.java | remove unused imports | <ide><path>rc/main/java/com/francetelecom/saasstore/wro4j/taglib/AntPathStringMatcher.java
<ide>
<ide> package com.francetelecom.saasstore.wro4j.taglib;
<ide>
<del>import java.util.LinkedList;
<del>import java.util.List;
<del>import java.util.Map;
<ide> import java.util.regex.Matcher;
<ide> import java.util.regex.Pat... | |
Java | apache-2.0 | ac9ea05a89d4a06b86592943ffe45580ec886e4b | 0 | weld/core,manovotn/core,antoinesd/weld-core,manovotn/core,manovotn/core,antoinesd/weld-core,weld/core,antoinesd/weld-core | /*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | impl/src/main/java/org/jboss/weld/resources/ManagerObjectFactory.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | Fix failing servlet tests
| impl/src/main/java/org/jboss/weld/resources/ManagerObjectFactory.java | Fix failing servlet tests | <ide><path>mpl/src/main/java/org/jboss/weld/resources/ManagerObjectFactory.java
<ide> */
<ide> package org.jboss.weld.resources;
<ide>
<del>import ch.qos.cal10n.IMessageConveyor;
<del>import org.jboss.weld.Container;
<del>import org.jboss.weld.bootstrap.spi.BeanDeploymentArchive;
<del>import org.jboss.weld.manager.Be... | |
Java | agpl-3.0 | d214c94157df57f54b697e91344da87a16979516 | 0 | aihua/opennms,rdkgit/opennms,rdkgit/opennms,roskens/opennms-pre-github,tdefilip/opennms,rdkgit/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,aihua/opennms,rdkgit/opennms,tdefilip/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,tdefilip/opennms,rdkgit/opennms,tdefilip/opennms,roskens/opennm... | //
// Copyright (C) 2002 Sortova Consulting Group, Inc. All rights reserved.
// Parts Copyright (C) 1999-2001 Oculan Corp. All rights reserved.
//
// 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 Free Software Founda... | src/joesnmp/org/opennms/protocols/snmp/SnmpPduTrap.java | //
// Copyright (C) 2002 Sortova Consulting Group, Inc. All rights reserved.
// Parts Copyright (C) 1999-2001 Oculan Corp. All rights reserved.
//
// 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 Free Software Founda... | Fixed bad increment in for loop. Bug 764
| src/joesnmp/org/opennms/protocols/snmp/SnmpPduTrap.java | Fixed bad increment in for loop. Bug 764 | <ide><path>rc/joesnmp/org/opennms/protocols/snmp/SnmpPduTrap.java
<ide> m_specific = second.m_specific;
<ide> m_tstamp = second.m_tstamp;
<ide> m_variables = new ArrayList(second.m_variables.size());
<del> for(int x = second.m_variables.size() - 1; x >= 0; --x)
<add> for(int x = second.m_variables.size() - 1; x... | |
Java | apache-2.0 | 476c24d45a556b625946319f4464a0916cfa3fef | 0 | crate/crate,crate/crate,crate/crate,EvilMcJerkface/crate,EvilMcJerkface/crate,EvilMcJerkface/crate | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | es/es-server/src/main/java/org/elasticsearch/index/mapper/FieldNamesFieldMapper.java | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Make sure we don't utilize FieldNamesFieldMapper.termQuery
| es/es-server/src/main/java/org/elasticsearch/index/mapper/FieldNamesFieldMapper.java | Make sure we don't utilize FieldNamesFieldMapper.termQuery | <ide><path>s/es-server/src/main/java/org/elasticsearch/index/mapper/FieldNamesFieldMapper.java
<ide>
<ide> package org.elasticsearch.index.mapper;
<ide>
<del>import org.apache.logging.log4j.LogManager;
<ide> import org.apache.lucene.document.Field;
<ide> import org.apache.lucene.index.IndexOptions;
<ide> import org.a... | |
JavaScript | mit | 36c30558012165f0392718882eb70d9636541136 | 0 | past/nodify | $(document).ready(function() {
// Fetch the user data.
$.get('/api/init', function (data) {
var projects, project, handlers, handler, h, p, edit, env;
window.data = data;
projects = data.user.projects;
for (p in projects) {
if (projects.hasOwnProperty(p) && p !== 'length') {
project = projects[p];
... | public/js/client.js | $(document).ready(function() {
// Fetch the user data.
$.get('/api/init', function (data) {
var projects, project, handlers, handler, h, p, edit, env;
window.data = data;
projects = data.user.projects;
// TODO: iterate over the projects and fill the combo box.
for (p in projects) {
if (projects.hasOwnPro... | Select the last edited project.
| public/js/client.js | Select the last edited project. | <ide><path>ublic/js/client.js
<ide> var projects, project, handlers, handler, h, p, edit, env;
<ide> window.data = data;
<ide> projects = data.user.projects;
<del> // TODO: iterate over the projects and fill the combo box.
<ide> for (p in projects) {
<ide> if (projects.hasOwnProperty(p) && p !== 'length') {... | |
Java | apache-2.0 | 08a3debe989621d64607ca4678e58e3d34375981 | 0 | tomason/drooms,triceo/drooms | package org.drooms.impl;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import ... | drooms-game-impl/src/main/java/org/drooms/impl/DefaultGame.java | package org.drooms.impl;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Collection;
import java.util.Collection... | Remove unnecessary argument. | drooms-game-impl/src/main/java/org/drooms/impl/DefaultGame.java | Remove unnecessary argument. | <ide><path>rooms-game-impl/src/main/java/org/drooms/impl/DefaultGame.java
<ide> package org.drooms.impl;
<ide>
<ide> import java.io.File;
<del>import java.io.FileOutputStream;
<ide> import java.io.FileReader;
<ide> import java.io.FileWriter;
<ide> import java.io.IOException;
<ide> File reportFolder = null;
<id... | |
Java | apache-2.0 | 9ef4e36fccd10421c74643f9ec119001d1589bc4 | 0 | gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,robinver... | /*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | subprojects/core/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java | /*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Fix exception
| subprojects/core/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java | Fix exception | <ide><path>ubprojects/core/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java
<ide> import org.apache.commons.io.IOUtils;
<ide> import org.gradle.api.Action;
<ide> import org.gradle.api.GradleException;
<add>import org.gradle.api.UncheckedIOException;
<ide> import org.gradle.caching.B... | |
Java | apache-2.0 | a25b709fc0d4319e64099a780ba526c22fd4d9af | 0 | ibrahimshbat/JGroups,deepnarsay/JGroups,Sanne/JGroups,pferraro/JGroups,dimbleby/JGroups,belaban/JGroups,danberindei/JGroups,kedzie/JGroups,ligzy/JGroups,ibrahimshbat/JGroups,dimbleby/JGroups,rpelisse/JGroups,pferraro/JGroups,TarantulaTechnology/JGroups,ligzy/JGroups,deepnarsay/JGroups,rhusar/JGroups,belaban/JGroups,sla... | package org.jgroups.tests.helpers;
import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.stack.Protocol;
/**
* @author Bela Ban
* @since 3.1
*/
public class SequencerFailoverTestHelper {
public void sendMessages(final Protocol prot, final int start, final int end) {
final Thread sen... | tests/byteman/org/jgroups/tests/helpers/SequencerFailoverTestHelper.java | package org.jgroups.tests.helpers;
import org.jboss.byteman.rule.Rule;
import org.jboss.byteman.rule.helper.Helper;
import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.stack.Protocol;
/**
* @author Bela Ban
* @since 3.1
*/
public class SequencerFailoverTestHelper extends Helper {
protected... | No need to extends Helper
| tests/byteman/org/jgroups/tests/helpers/SequencerFailoverTestHelper.java | No need to extends Helper | <ide><path>ests/byteman/org/jgroups/tests/helpers/SequencerFailoverTestHelper.java
<ide> package org.jgroups.tests.helpers;
<ide>
<del>import org.jboss.byteman.rule.Rule;
<del>import org.jboss.byteman.rule.helper.Helper;
<ide> import org.jgroups.Event;
<ide> import org.jgroups.Message;
<ide> import org.jgroups.stack.P... | |
Java | bsd-3-clause | 9d96017ac3c0ae461500a953ba40dad3b175bd62 | 0 | sumedhasingla/VTK,keithroe/vtkoptix,SimVascular/VTK,SimVascular/VTK,sumedhasingla/VTK,keithroe/vtkoptix,SimVascular/VTK,keithroe/vtkoptix,sumedhasingla/VTK,keithroe/vtkoptix,keithroe/vtkoptix,SimVascular/VTK,SimVascular/VTK,sumedhasingla/VTK,sumedhasingla/VTK,SimVascular/VTK,keithroe/vtkoptix,keithroe/vtkoptix,sumedhas... | package vtk;
import java.lang.ref.WeakReference;
import java.lang.reflect.Constructor;
import java.util.HashMap;
import java.util.TreeSet;
import java.util.concurrent.locks.ReentrantLock;
/**
* Provide a Java thread safe implementation of vtkJavaMemoryManager. This does
* not make VTK thread safe. This only insure ... | Wrapping/Java/vtk/vtkJavaMemoryManagerImpl.java | package vtk;
import java.lang.ref.WeakReference;
import java.lang.reflect.Constructor;
import java.util.HashMap;
import java.util.TreeSet;
import java.util.concurrent.locks.ReentrantLock;
/**
* Provide a Java thread safe implementation of vtkJavaMemoryManager. This does
* not make VTK thread safe. This only insure ... | vtkJavaMemoryManagerImpl: parameterize Constructor for inspection
https://stackoverflow.com/questions/2238818/java-unchecked-call-to-getconstructorjava-lang-class
| Wrapping/Java/vtk/vtkJavaMemoryManagerImpl.java | vtkJavaMemoryManagerImpl: parameterize Constructor for inspection | <ide><path>rapping/Java/vtk/vtkJavaMemoryManagerImpl.java
<ide> if (resultObject == null) {
<ide> try {
<ide> String className = vtkObjectBase.VTKGetClassNameFromReference(vtkId.longValue());
<del> Class c = Class.forName("vtk." + className);
<del> Constructor cons = ... | |
Java | apache-2.0 | 2f72af40723d32cd121fa6fe4863f5a24ede8b9d | 0 | opennetworkinglab/onos,gkatsikas/onos,gkatsikas/onos,opennetworkinglab/onos,oplinkoms/onos,oplinkoms/onos,gkatsikas/onos,opennetworkinglab/onos,opennetworkinglab/onos,gkatsikas/onos,gkatsikas/onos,gkatsikas/onos,oplinkoms/onos,oplinkoms/onos,oplinkoms/onos,opennetworkinglab/onos,oplinkoms/onos,opennetworkinglab/onos,op... | /*
* Copyright 2016-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 appli... | apps/roadm/app/src/main/java/org/onosproject/roadm/RoadmManager.java | /*
* Copyright 2016-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 appli... | Alignment of the generated flow rule format to the format used by the intent framework for OpticalConnectivityIntent.
Patch 2: checkstyle.
Change-Id: I133459274d37df5c74f8599d382a3370b26ae640
| apps/roadm/app/src/main/java/org/onosproject/roadm/RoadmManager.java | Alignment of the generated flow rule format to the format used by the intent framework for OpticalConnectivityIntent. | <ide><path>pps/roadm/app/src/main/java/org/onosproject/roadm/RoadmManager.java
<ide> import org.onosproject.net.ModulationScheme;
<ide> import org.onosproject.net.OchSignal;
<ide> import org.onosproject.net.Port;
<add>import org.onosproject.net.OchSignalType;
<ide> import org.onosproject.net.PortNumber;
<ide> import or... | |
Java | bsd-3-clause | aef0624bac344b31e3b8ba5b89218cc1dac023af | 0 | interdroid/ibis-ipl,interdroid/ibis-ipl,interdroid/ibis-ipl | /*
* Created on Apr 27, 2006
*/
package ibis.satin.impl.sharedObjects;
import ibis.ipl.IbisIdentifier;
import ibis.ipl.ReadMessage;
import ibis.ipl.StaticProperties;
import ibis.satin.SharedObject;
import ibis.satin.impl.Config;
import ibis.satin.impl.Satin;
import ibis.satin.impl.spawnSync.InvocationRecord;
impor... | src/ibis/satin/impl/sharedObjects/SharedObjects.java | /*
* Created on Apr 27, 2006
*/
package ibis.satin.impl.sharedObjects;
import ibis.ipl.IbisIdentifier;
import ibis.ipl.ReadMessage;
import ibis.ipl.StaticProperties;
import ibis.satin.SharedObject;
import ibis.satin.impl.Config;
import ibis.satin.impl.Satin;
import ibis.satin.impl.spawnSync.InvocationRecord;
impor... |
git-svn-id: http://gforge.cs.vu.nl/svn/ibis/ibis/trunk@4101 aaf88347-d911-0410-b711-e54d386773bb
| src/ibis/satin/impl/sharedObjects/SharedObjects.java | <ide><path>rc/ibis/satin/impl/sharedObjects/SharedObjects.java
<ide>
<ide> /** returns false if the job must be aborted */
<ide> public boolean executeGuard(InvocationRecord r) {
<del> s.stats.soGuardTimer.start();
<ide> try {
<ide> doExecuteGuard(r);
<ide> } catch (SORefe... | ||
Java | mit | ced2b669f08302a88c85b01509c588a2f1123ad6 | 0 | AmadouSallah/Programming-Interview-Questions,AmadouSallah/Programming-Interview-Questions | /*
Resource: https://leetcode.com/problems/binary-tree-vertical-order-traversal/#/description
Leetcode Problem 314. Binary Tree Vertical Order Traversal
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column).
If two nodes are in the same row and colu... | leetcode/java/prob314BinaryTreeVerticalOrderTraversal/VerticalOrderTraversal.java | /*
Resource: https://leetcode.com/problems/binary-tree-vertical-order-traversal/#/description
Leetcode Problem 314. Binary Tree Vertical Order Traversal
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column).
If two nodes are in the same row and colu... | Added solution for VerticalOrderTraversal.java
| leetcode/java/prob314BinaryTreeVerticalOrderTraversal/VerticalOrderTraversal.java | Added solution for VerticalOrderTraversal.java | <ide><path>eetcode/java/prob314BinaryTreeVerticalOrderTraversal/VerticalOrderTraversal.java
<ide> return its vertical order traversal as: [[4], [9,5], [3,0,1], [8,2], [7]]
<ide>
<ide> */
<add>
<add>import java.util.*;
<add>
<add>public class VerticalOrderTraversal {
<add>
<add> public class TreeNode {
<add> int va... | |
Java | agpl-3.0 | e678a7d9c42339bae3a413d6655ffc58c761823d | 0 | zuowang/voltdb,VoltDB/voltdb,VoltDB/voltdb,zuowang/voltdb,migue/voltdb,wolffcm/voltdb,zuowang/voltdb,VoltDB/voltdb,kumarrus/voltdb,kobronson/cs-voltdb,creative-quant/voltdb,paulmartel/voltdb,ingted/voltdb,simonzhangsm/voltdb,ingted/voltdb,kobronson/cs-voltdb,kobronson/cs-voltdb,simonzhangsm/voltdb,kumarrus/voltdb,ingte... | /* This file is part of VoltDB.
* Copyright (C) 2008-2011 VoltDB Inc.
*
* VoltDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | src/frontend/org/voltdb/utils/SQLCommand.java | /* This file is part of VoltDB.
* Copyright (C) 2008-2011 VoltDB Inc.
*
* VoltDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... | ENG-1763
SQLcmd can once again update the catalog.
| src/frontend/org/voltdb/utils/SQLCommand.java | ENG-1763 | <ide><path>rc/frontend/org/voltdb/utils/SQLCommand.java
<ide> throw new Exception("Unsupported Data Type: " + paramType);
<ide> }
<ide> }
<del> printResponse(VoltDB.callProcedure(procedure, objectParams));
<add> if (procedure.equals("@UpdateAppli... | |
Java | mit | 89ead2949c26f7f06ad61eeda098592c73c0bb27 | 0 | CS2103JAN2017-W10-B1/main,CS2103JAN2017-W10-B1/main | package seedu.address.model.task;
import seedu.address.model.tag.Tag;
/**
* A read-only immutable interface for a Task in the TaskManager.
* Implementations should guarantee: details are present and not null, field values are validated.
*/
public interface ReadOnlyTask {
public enum FinishProperty {
FI... | src/main/java/seedu/address/model/task/ReadOnlyTask.java | package seedu.address.model.task;
import seedu.address.model.tag.Tag;
/**
* A read-only immutable interface for a Task in the TaskManager.
* Implementations should guarantee: details are present and not null, field values are validated.
*/
public interface ReadOnlyTask {
public enum FinishProperty {
FI... | [V0.4] Resolve conflicts
| src/main/java/seedu/address/model/task/ReadOnlyTask.java | [V0.4] Resolve conflicts | <ide><path>rc/main/java/seedu/address/model/task/ReadOnlyTask.java
<ide> && checkEqual(this.getTime(), other.getTime())
<ide> && checkEqual(this.getTag(), other.getTag())); // state checks here onwards
<ide> }
<del><<<<<<< HEAD
<del>
<ide> //@@ author A0147996E
<ide> /**
... | |
Java | bsd-3-clause | 182c07dc46b5023f6d22df2d89ab9025428f7402 | 0 | boundlessgeo/GeoGig,markles/GeoGit,annacarol/GeoGig,annacarol/GeoGig,boundlessgeo/GeoGig,markles/GeoGit,markles/GeoGit,boundlessgeo/GeoGig,markles/GeoGit,markles/GeoGit,annacarol/GeoGig | /* Copyright (c) 2013 OpenPlans. All rights reserved.
* This code is licensed under the BSD New License, available at the root
* application directory.
*/
package org.geogit.geoserver;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNu... | src/web/geoserver/src/test/java/org/geogit/geoserver/WFSIntegrationTest.java | /* Copyright (c) 2013 OpenPlans. All rights reserved.
* This code is licensed under the BSD New License, available at the root
* application directory.
*/
package org.geogit.geoserver;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNu... | Add WFS integration test case to ensure commits survive app shutdown
| src/web/geoserver/src/test/java/org/geogit/geoserver/WFSIntegrationTest.java | Add WFS integration test case to ensure commits survive app shutdown | <ide><path>rc/web/geoserver/src/test/java/org/geogit/geoserver/WFSIntegrationTest.java
<ide> import java.io.Serializable;
<ide> import java.net.URL;
<ide> import java.util.Iterator;
<add>import java.util.List;
<ide> import java.util.Map;
<ide>
<ide> import org.geogit.api.GeoGIT;
<ide> import org.geogit.api.NodeRef;
<a... | |
Java | apache-2.0 | fb09147b8d284a6d6d20378f62b2925111dd75d5 | 0 | vector-im/riot-android,vector-im/riot-android,vector-im/vector-android,vector-im/vector-android,vector-im/riot-android,vector-im/riot-android,vector-im/vector-android,vector-im/vector-android,vector-im/riot-android | /*
* Copyright 2015 OpenMarket Ltd
* Copyright 2017 Vector Creations Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | vector/src/main/java/im/vector/fragments/VectorMessageListFragment.java | /*
* Copyright 2015 OpenMarket Ltd
* Copyright 2017 Vector Creations Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | Reduce the number of messsages list refreshes
| vector/src/main/java/im/vector/fragments/VectorMessageListFragment.java | Reduce the number of messsages list refreshes | <ide><path>ector/src/main/java/im/vector/fragments/VectorMessageListFragment.java
<ide> * @param isEncrypted true when the room is encrypted
<ide> */
<ide> public void setIsRoomEncrypted(boolean isEncrypted) {
<del> ((VectorMessagesAdapter) mAdapter).mIsRoomEncrypted = isEncrypted;
<del> mAd... | |
JavaScript | mit | 669afc07c0f60b6099a205a6044f74d35b2c6f1a | 0 | fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg | import '/resources/polymer/@polymer/polymer/polymer-legacy.js';
import '/resources/polymer/@polymer/iron-flex-layout/iron-flex-layout.js';
import '/resources/polymer/@polymer/iron-flex-layout/iron-flex-layout-classes.js';
import "/resources/polymer/@polymer/paper-styles/shadow.js";
import '/resources/element_loader/... | platform-web-ui/src/main/web/ua/com/fielden/platform/web/views/tg-menu-item-view.js | import '/resources/polymer/@polymer/polymer/polymer-legacy.js';
import '/resources/polymer/@polymer/iron-flex-layout/iron-flex-layout.js';
import '/resources/polymer/@polymer/iron-flex-layout/iron-flex-layout-classes.js';
import "/resources/polymer/@polymer/paper-styles/shadow.js";
import '/resources/element_loader/... | #1554 Made errors on retrieve for centres and masters on tg-menu-item-view more readable
| platform-web-ui/src/main/web/ua/com/fielden/platform/web/views/tg-menu-item-view.js | #1554 Made errors on retrieve for centres and masters on tg-menu-item-view more readable | <ide><path>latform-web-ui/src/main/web/ua/com/fielden/platform/web/views/tg-menu-item-view.js
<ide> self.fire("menu-item-view-loaded", self.menuItem);
<ide> detail.postRetrieved = oldPostRetrieved;
<ide> };
<del> detail.retrieve();
<add> ... | |
Java | apache-2.0 | ba1c8e7c5c0bc2f36ed56f864ace0cabf8544016 | 0 | asymmetric/jstun2 | package de.javawi.jstun.test.demo;
import java.io.IOException;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Enumeration;
import java.util.logging.FileHandler;
import java.util.logging.Handler;
import java.util.log... | src/de/javawi/jstun/test/demo/BindingRequestDemo.java | package de.javawi.jstun.test.demo;
import java.io.IOException;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Enumeration;
import java.util.logging.FileHandler;
import java.util.logging.Handler;
import java.util.log... | small bugfix
| src/de/javawi/jstun/test/demo/BindingRequestDemo.java | small bugfix | <ide><path>rc/de/javawi/jstun/test/demo/BindingRequestDemo.java
<ide> private static final Logger logger = Logger.getLogger("de.javawi.jstun");
<ide>
<ide> InetAddress local;
<del> String stunServer = "biascica.pipps.net";
<add> String stunServer; //= "numb.viagenie.ca";
<ide> int port = 3478;
<ide>
<ide> publi... | |
Java | bsd-2-clause | 4026695dbc09cfaaff4bf29b68c8fdedb59ef6c6 | 0 | TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2012 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | core/updater/core/src/main/java/imagej/updater/core/Checksummer.java | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2012 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | Checksummer: format the directories more obviously
Signed-off-by: Johannes Schindelin <53fb8db7833fca1e1746dd8592f61048d350f64c@gmx.de>
| core/updater/core/src/main/java/imagej/updater/core/Checksummer.java | Checksummer: format the directories more obviously | <ide><path>ore/updater/core/src/main/java/imagej/updater/core/Checksummer.java
<ide> return false;
<ide> }
<ide>
<del> public static final String[][] directories = { { "jars", "retro", "misc" },
<del> { ".jar", ".class" }, { "plugins" },
<del> { ".jar", ".class", ".txt", ".ijm", ".py", ".rb", ".clj", ".js", ".bsh... | |
Java | agpl-3.0 | 44470cca294360c2381bb6cc311eb5692d5ab5dd | 0 | lat-lon/deegree-securityproxy | //$HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2011 by:
- Department of Geography, University of Bonn -
and
- lat/lon GmbH -
This library is free software; you can redistribute it and/or modify it und... | deegree-securityproxy-service-commons/src/main/java/org/deegree/securityproxy/service/commons/responsefilter/clipping/AbstractClippingResponseFilterManager.java | //$HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2011 by:
- Department of Geography, University of Bonn -
and
- lat/lon GmbH -
This library is free software; you can redistribute it and/or modify it und... | Minor refactorings of AbstractClippingResponseFilterManager
| deegree-securityproxy-service-commons/src/main/java/org/deegree/securityproxy/service/commons/responsefilter/clipping/AbstractClippingResponseFilterManager.java | Minor refactorings of AbstractClippingResponseFilterManager | <ide><path>eegree-securityproxy-service-commons/src/main/java/org/deegree/securityproxy/service/commons/responsefilter/clipping/AbstractClippingResponseFilterManager.java
<ide> copyBufferedStream( servletResponse );
<ide> return new ResponseClippingReport( SERVICE_EXCEPTION_MSG )... | |
Java | apache-2.0 | 6fad274cb6189a9c9c36c5e3320ad73b8f4ed70f | 0 | bkosawa/android-app-recommendation | package br.com.kosawalabs.apprecommendation.presentation.list;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v7.app.AppCom... | app/src/main/java/br/com/kosawalabs/apprecommendation/presentation/list/AppListActivity.java | package br.com.kosawalabs.apprecommendation.presentation.list;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v7.app.AppCom... | Binding new list layout to content
| app/src/main/java/br/com/kosawalabs/apprecommendation/presentation/list/AppListActivity.java | Binding new list layout to content | <ide><path>pp/src/main/java/br/com/kosawalabs/apprecommendation/presentation/list/AppListActivity.java
<ide> import android.view.View;
<ide> import android.view.ViewGroup;
<ide> import android.widget.Button;
<add>import android.widget.ImageView;
<ide> import android.widget.ProgressBar;
<ide> import android.widget.TextV... | |
JavaScript | unlicense | 331de863135fa856c159f9f71283f94f342a47c0 | 0 | wangyisong1996/Tomasulo_algorithm_simulator,wangyisong1996/Tomasulo_algorithm_simulator | var config;
var utils;
var ui;
var CPU;
var HDL;
var CPU = (function() {
console.log("loading CPU module");
var conf;
var has_power = false;
var cycles;
var load_queue;
var store_queue;
var RS_add;
var RS_mul;
var FP_regs;
var INT_regs;
var memory;
var instructions;
var ui_ele;
var PC;
var... | js/CPU.js | var config;
var utils;
var ui;
var CPU;
var HDL;
var CPU = (function() {
console.log("loading CPU module");
var conf;
var has_power = false;
var cycles;
var load_queue;
var store_queue;
var RS_add;
var RS_mul;
var FP_regs;
var INT_regs;
var memory;
var instructions;
var ui_ele;
var PC;
var... | fix a bug in FPM/FPD
| js/CPU.js | fix a bug in FPM/FPD | <ide><path>s/CPU.js
<ide>
<ide> var e = undefined;
<ide> var check = (t) => {
<del> if (t.is_running.val()) {
<add> if (t.name == WB_name) {
<ide> e = t;
<ide> }
<ide> };
<ide>
<ide> var e = undefined;
<ide> var check = (t) => {
<del> if (t.is_running.val()) {
<add> if (t.nam... | |
Java | apache-2.0 | 55e6d4e1398f27d897795a174a332d6e18642b08 | 0 | gzsombor/ranger,gzsombor/ranger,gzsombor/ranger,gzsombor/ranger,gzsombor/ranger,gzsombor/ranger | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | security-admin/src/main/java/org/apache/ranger/biz/XUserMgr.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | RANGER-1638 : Improve the password validation from Ranger API
| security-admin/src/main/java/org/apache/ranger/biz/XUserMgr.java | RANGER-1638 : Improve the password validation from Ranger API | <ide><path>ecurity-admin/src/main/java/org/apache/ranger/biz/XUserMgr.java
<ide> public VXUserGroupInfo createXUserGroupFromMap(
<ide> VXUserGroupInfo vXUserGroupInfo) {
<ide> checkAdminAccess();
<del> if(vXUserGroupInfo.getXuserInfo() != null) {
<del> validatePassword(vXUser... | |
Java | apache-2.0 | 40e245f1852788ddea557b9e0e92d0bf0708fecb | 0 | rsahlin/graphics-engine,rsahlin/graphics-engine | package com.graphicsengine.scene;
import com.nucleus.common.Key;
/**
* The different type of nodes that are defined and handled by the Graphics Engine
*
* @author Richard Sahlin
*
*/
public enum GraphicsEngineNodeType implements Key {
playfieldNode(),
spriteMeshNode(),
sharedMeshNode(),
quadNod... | src/main/java/com/graphicsengine/scene/GraphicsEngineNodeType.java | package com.graphicsengine.scene;
import com.nucleus.common.Key;
/**
* The different type of nodes that are defined and handled by the Graphics Engine
*
* @author Richard Sahlin
*
*/
public enum GraphicsEngineNodeType implements Key {
playfieldNode(),
spriteMeshNode(),
sharedMeshNode(),
quadNod... | Add ui Element
| src/main/java/com/graphicsengine/scene/GraphicsEngineNodeType.java | Add ui Element | <ide><path>rc/main/java/com/graphicsengine/scene/GraphicsEngineNodeType.java
<ide> playfieldNode(),
<ide> spriteMeshNode(),
<ide> sharedMeshNode(),
<del> quadNode();
<add> quadNode(),
<add> /**
<add> * UI base node
<add> */
<add> element();
<ide>
<ide> @Override
<ide> public Str... | |
Java | apache-2.0 | error: pathspec 'server/src/test/java/org/uiautomation/ios/e2e/uicatalogapp/UIAKeyboardTests.java' did not match any file(s) known to git
| b631658553f711f71605cf1ffee4e50eda5bd4cf | 1 | ios-driver/ios-driver,masbog/ios-driver,ios-driver/ios-driver,seem-sky/ios-driver,shutkou/ios-driver,crashlytics/ios-driver,masbog/ios-driver,darraghgrace/ios-driver,crashlytics/ios-driver,seem-sky/ios-driver,ios-driver/ios-driver,azaytsev/ios-driver,azaytsev/ios-driver,darraghgrace/ios-driver,shutkou/ios-driver,seem-s... | package org.uiautomation.ios.e2e.uicatalogapp;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.uiautomation.ios.UIAModels.UIAElement;
import org.uiautomation.ios.UIAModels.UIAElementArray;
import org.uiautomation.ios.UIAModels.UIAKey;
import org.uiautomation.ios.UIAModels.UIAKeyboard;
import o... | server/src/test/java/org/uiautomation/ios/e2e/uicatalogapp/UIAKeyboardTests.java | adding some tests for keyboard
| server/src/test/java/org/uiautomation/ios/e2e/uicatalogapp/UIAKeyboardTests.java | adding some tests for keyboard | <ide><path>erver/src/test/java/org/uiautomation/ios/e2e/uicatalogapp/UIAKeyboardTests.java
<add>package org.uiautomation.ios.e2e.uicatalogapp;
<add>
<add>import org.testng.Assert;
<add>import org.testng.annotations.Test;
<add>import org.uiautomation.ios.UIAModels.UIAElement;
<add>import org.uiautomation.ios.UIAModels.U... | |
JavaScript | mit | 8d0e2b8f0beae66719cedef0a1283354f0fca4fb | 0 | tommy-carlier/etc.tcx.be,tommy-carlier/etc.tcx.be | (function(){
function toYMD(y,m,d) { return y*10000 + m*100 + d; }
function div(a,b) { return a/b>>0; }
var doc = document,
today = new Date(),
year = today.getFullYear(),
todayYMD = toYMD(year,today.getMonth()+1,today.getDate()),
monthNames = ['','januari','februari','maart','april','mei... | kalender/kalender.js | (function(){
var doc = document,
today = new Date(),
year = today.getFullYear(),
todayYMD = year*10000 + (today.getMonth()+1)*100 + today.getDate(),
monthNames = ['','januari','februari','maart','april','mei','juni','juli','augustus','september','oktober','november','december'],
shortMon... | Clean up: extract function toYMD
| kalender/kalender.js | Clean up: extract function toYMD | <ide><path>alender/kalender.js
<ide> (function(){
<add> function toYMD(y,m,d) { return y*10000 + m*100 + d; }
<add> function div(a,b) { return a/b>>0; }
<add>
<ide> var doc = document,
<ide> today = new Date(),
<ide> year = today.getFullYear(),
<del> todayYMD = year*10000 + (today.getMonth()+1)*100... | |
Java | apache-2.0 | 4ac7e5ca36630320f1323b1571e46267cee9fa01 | 0 | stumoodie/MetabolicNotationSubsystem,stumoodie/MetabolicNotationSubsystem | package uk.ac.ed.inf.Metabolic.sbmlexport;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import org.pathwayeditor.businessobjectsAPI.IMap;
import org.pathwayeditor.contextadapter.publicapi.ExportServiceException;
import org.pathwayeditor.contextadapter.publicapi.IContext;
import org... | src/uk/ac/ed/inf/Metabolic/sbmlexport/SBMLExportService.java | package uk.ac.ed.inf.Metabolic.sbmlexport;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import org.pathwayeditor.businessobjectsAPI.IMap;
import org.pathwayeditor.contextadapter.publicapi.ExportServiceException;
import org.pathwayeditor.contextadapter.publicapi.IContext;
import org... | docs
| src/uk/ac/ed/inf/Metabolic/sbmlexport/SBMLExportService.java | docs | <ide><path>rc/uk/ac/ed/inf/Metabolic/sbmlexport/SBMLExportService.java
<ide> * @throws ExportServiceException if exportFile: <ul>
<ide> * <li> Doesn't exist
<ide> * <li> Is not writable.
<add> * <li> Cannot produce valid SBML
<ide> * </ul>
<ide> */
<ide> public void exportMap(IMap map, File exportFile) t... | |
Java | apache-2.0 | 22eb3050f0b4199d3f5c3415f1336640afa77287 | 0 | InfoSec812/vertx-web,InfoSec812/vertx-web,InfoSec812/vertx-web,aesteve/vertx-web,aesteve/vertx-web,vert-x3/vertx-web,vert-x3/vertx-web,vert-x3/vertx-web,aesteve/vertx-web,aesteve/vertx-web,InfoSec812/vertx-web,vert-x3/vertx-web,vert-x3/vertx-web,aesteve/vertx-web,InfoSec812/vertx-web,InfoSec812/vertx-web | /*
* Copyright 2014 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.o... | vertx-web/src/main/java/io/vertx/ext/web/handler/impl/BodyHandlerImpl.java | /*
* Copyright 2014 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.o... | Separate the parsing of content length and body buffer initialization
Signed-off-by: Michael Pogrebinsky <c32189474dd384980d0c8e5f973f33fbb5c153ce@gmail.com>
| vertx-web/src/main/java/io/vertx/ext/web/handler/impl/BodyHandlerImpl.java | Separate the parsing of content length and body buffer initialization | <ide><path>ertx-web/src/main/java/io/vertx/ext/web/handler/impl/BodyHandlerImpl.java
<ide> // we need to keep state since we can be called again on reroute
<ide> Boolean handled = context.get(BODY_HANDLED);
<ide> if (handled == null || !handled) {
<del> int bodyBufferInitialSize = getInitialBodyBufferS... | |
Java | mit | 413318d45cac348b07cc04008f3ac32dbfcc8fab | 0 | Nunnery/MythicDrops | package net.nunnerycode.bukkit.mythicdrops.socketting;
import net.nunnerycode.bukkit.libraries.ivory.utils.ProjectileWrapperUtils;
import net.nunnerycode.bukkit.libraries.ivory.utils.StringListUtils;
import net.nunnerycode.bukkit.mythicdrops.MythicDropsPlugin;
import net.nunnerycode.bukkit.mythicdrops.api.MythicDrops;... | src/main/java/net/nunnerycode/bukkit/mythicdrops/socketting/SockettingListener.java | package net.nunnerycode.bukkit.mythicdrops.socketting;
import net.nunnerycode.bukkit.libraries.ivory.utils.StringListUtils;
import net.nunnerycode.bukkit.mythicdrops.MythicDropsPlugin;
import net.nunnerycode.bukkit.mythicdrops.api.MythicDrops;
import net.nunnerycode.bukkit.mythicdrops.api.settings.SockettingSettings;
... | changing method of getting projectile launcher
| src/main/java/net/nunnerycode/bukkit/mythicdrops/socketting/SockettingListener.java | changing method of getting projectile launcher | <ide><path>rc/main/java/net/nunnerycode/bukkit/mythicdrops/socketting/SockettingListener.java
<ide> package net.nunnerycode.bukkit.mythicdrops.socketting;
<ide>
<add>import net.nunnerycode.bukkit.libraries.ivory.utils.ProjectileWrapperUtils;
<ide> import net.nunnerycode.bukkit.libraries.ivory.utils.StringListUtils;
<i... | |
JavaScript | mit | 9af99ab750c0f7d74e88a1a0b30ed05ec17b6691 | 0 | DataEstate/dataestate-angular,DataEstate/datae-state-angular,DataEstate/dataestate-angular | //Version 0.5.5 added support for Signups endpoint
var de = angular.module("dataEstateModule", []);
//CONSTANTS
de.constant('VERSION', 0.5);
//Main Provider
de.provider('DeApi', function () {
this.apiUrl = "https://api.dataestate.net/v2"; //Default
this.apiKey = "";
this.authType = "api-key"; //Default v0.1.4
this.... | src/dataEstateModule.js | //Version 0.5.3 searchBar modes, updated "GET" to not decode keyword quotes twice.
var de = angular.module("dataEstateModule", []);
//CONSTANTS
de.constant('VERSION', 0.5);
//Main Provider
de.provider('DeApi', function () {
this.apiUrl = "https://api.dataestate.net/v2"; //Default
this.apiKey = "";
this.authType = "... | add support for Signups endpoint
| src/dataEstateModule.js | add support for Signups endpoint | <ide><path>rc/dataEstateModule.js
<del>//Version 0.5.3 searchBar modes, updated "GET" to not decode keyword quotes twice.
<add>//Version 0.5.5 added support for Signups endpoint
<ide> var de = angular.module("dataEstateModule", []);
<ide> //CONSTANTS
<ide> de.constant('VERSION', 0.5);
<ide> //TODO: Use Promise
<ide... | |
JavaScript | mit | 5def925e0e5c54232d82b4c52ca79269cf717559 | 0 | gil0mendes/stellar | // Enable source map support
import 'source-map-support/register'
// Enable some ES6 features loading Babel Polyfill
import 'babel-polyfill'
// Module Dependencies
import path from 'path'
import async from 'async'
import { Utils as UtilsClass } from './satellites/utils'
// FIXME: this is a temporary workaround, we m... | src/engine.js | // Enable source map support
import 'source-map-support/register'
// Enable some ES6 features loading Babel Polyfill
import 'babel-polyfill'
// Module Dependencies
import path from 'path'
import async from 'async'
import { Utils as UtilsClass } from './satellites/utils'
// FIXME: this is a temporary workaround, we m... | Fix an error on the FatalError function
| src/engine.js | Fix an error on the FatalError function | <ide><path>rc/engine.js
<ide> // if errors variables if not defined return
<ide> if (!errors) { return }
<ide>
<del> // ensure the errors variable is an instance of Array
<del> if (!(errors instanceof Array)) { errors = [ errors ] }
<add> // ensure the errors variable is an Array
<add> if (!Array.i... | |
Java | apache-2.0 | error: pathspec 'core/src/test/java/ma/glasnost/orika/test/extensibility/PooledInstancesTestCase.java' did not match any file(s) known to git
| dc9a81994f43c630eaf2b2e58f80d2231d8f46e1 | 1 | leimer/orika,orika-mapper/orika,andreabertagnolli/orika,brabenetz/orika,ellis429/orika,acsl/orika,Log10Solutions/orika | package ma.glasnost.orika.test.extensibility;
import java.util.HashMap;
import java.util.Map;
import ma.glasnost.orika.BoundMapperFacade;
import ma.glasnost.orika.MappingContext;
import ma.glasnost.orika.impl.DefaultMapperFactory;
import ma.glasnost.orika.metadata.Type;
import org.junit.Assert;
import org.junit.Test... | core/src/test/java/ma/glasnost/orika/test/extensibility/PooledInstancesTestCase.java | Testcase showing problem with replacement mapping
| core/src/test/java/ma/glasnost/orika/test/extensibility/PooledInstancesTestCase.java | Testcase showing problem with replacement mapping | <ide><path>ore/src/test/java/ma/glasnost/orika/test/extensibility/PooledInstancesTestCase.java
<add>package ma.glasnost.orika.test.extensibility;
<add>
<add>import java.util.HashMap;
<add>import java.util.Map;
<add>
<add>import ma.glasnost.orika.BoundMapperFacade;
<add>import ma.glasnost.orika.MappingContext;
<add>impo... | |
JavaScript | mit | 3b8967874aac11055d94386e65ab02bbc0ef129d | 0 | hogashi/twitterOpenOriginalImage,hogashi/twitterOpenOriginalImage,hogashi/twitterOpenOriginalImage | import * as main from '../src/main';
const {
isTrue,
isFalse,
OPTION_KEYS,
printException,
collectUrlParams,
formatUrl,
openImages,
updateOptions,
setStyle,
getImageFilenameByUrl,
downloadImage,
onOriginalButtonClick,
getButtonSetter,
ButtonSetter,
ButtonSetterTweetDeck,
} = main;
const t... | __tests__/Utils.test.js | import * as main from '../src/main';
const {
isTrue,
isFalse,
OPTION_KEYS,
printException,
collectUrlParams,
formatUrl,
openImages,
options,
updateOptions,
setStyle,
getImageFilenameByUrl,
downloadImage,
onOriginalButtonClick,
getButtonSetter,
ButtonSetter,
ButtonSetterTweetDeck,
} = mai... | fix test for updateOptions
| __tests__/Utils.test.js | fix test for updateOptions | <ide><path>_tests__/Utils.test.js
<ide> collectUrlParams,
<ide> formatUrl,
<ide> openImages,
<del> options,
<ide> updateOptions,
<ide> setStyle,
<ide> getImageFilenameByUrl,
<ide> window.chrome.runtime.sendMessage = jest.fn((_, callback) =>
<ide> callback({ data: {} })
<ide> );
<d... | |
Java | mit | 0caaba172020ddc99b3605057c21a38d3b7f6de6 | 0 | curtbinder/AndroidStatus | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Curt Binder
*
* 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, ... | app/src/main/java/info/curtbinder/reefangel/phone/PageRelayFragment.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Curt Binder
*
* 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, ... | Fixed button enablement with device
To bring it back inline with the main app, disable the buttons when communicating with the Portal.
Also changed the order when refreshing the button enablement is called.
Removed duplicate calls to refresh enablement. We were looping over all 8 relay buttons each time we set a port... | app/src/main/java/info/curtbinder/reefangel/phone/PageRelayFragment.java | Fixed button enablement with device | <ide><path>pp/src/main/java/info/curtbinder/reefangel/phone/PageRelayFragment.java
<ide> private View[] portMaskBtns = new View[Controller.MAX_RELAY_PORTS];
<ide>
<ide> private boolean[] controlsEnabled = new boolean[Controller.MAX_RELAY_PORTS];
<add> private RAApplication raApp;
<ide>
<ide> public Pag... | |
Java | bsd-2-clause | c4878a02ed8cf81c27dccd7d0ac703f21c23cd48 | 0 | scifio/scifio | //
// FluoviewReader.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... | components/bio-formats/src/loci/formats/in/FluoviewReader.java | //
// FluoviewReader.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... | Parse XY dimensions from IFD.PAGE_NAME entry, if present.
| components/bio-formats/src/loci/formats/in/FluoviewReader.java | Parse XY dimensions from IFD.PAGE_NAME entry, if present. | <ide><path>omponents/bio-formats/src/loci/formats/in/FluoviewReader.java
<ide> channelNames = new String[getSizeC()];
<ide> lensNA = new String[getSizeC()];
<ide>
<add> parsePageName();
<ide> parseComment();
<ide> addGlobalMeta("Comment", comment);
<ide> }
<ide> if (b[i] < 0) b[i... | |
Java | bsd-3-clause | 763d301e9229536e70863a959d4d556cb9bce16c | 0 | exponent/exponent,exponentjs/exponent,exponentjs/exponent,exponent/exponent,exponentjs/exponent,exponentjs/exponent,exponentjs/exponent,exponentjs/exponent,exponent/exponent,exponentjs/exponent,exponent/exponent,exponent/exponent,exponent/exponent,exponentjs/exponent,exponentjs/exponent,exponent/exponent,exponent/expon... | package versioned.host.exp.exponent.modules.api;
import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Environment;
import android.provider.MediaStore;
import android.util.Base64;
impo... | android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/ImagePickerModule.java | package versioned.host.exp.exponent.modules.api;
import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Environment;
import android.provider.MediaStore;
import android.util.Base64;
impo... | `ImagePickerModule`: `quality` when `allowsEditing: true`
fbshipit-source-id: 205a7be
| android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/ImagePickerModule.java | `ImagePickerModule`: `quality` when `allowsEditing: true` | <ide><path>ndroid/expoview/src/main/java/versioned/host/exp/exponent/modules/api/ImagePickerModule.java
<ide> }
<ide> cropImage
<ide> .setOutputUri(ExpFileUtils.uriFromFile(new File(generateOutputPath())))
<add> .setOutputCompressQuality(quality)
<ide> ... | |
JavaScript | mit | ebda9555d31695c9878cf7d2b621a693ff8f4cbf | 0 | kpgarrod/angular-storage | (function() {
// Create all modules and define dependencies to make sure they exist
// and are loaded in the correct order to satisfy dependency injection
// before all nested files are concatenated by Grunt
angular.module('angular-storage',
[
'angular-storage.store'
]);
angular.module('angular-storag... | dist/angular-storage.js | (function() {
// Create all modules and define dependencies to make sure they exist
// and are loaded in the correct order to satisfy dependency injection
// before all nested files are concatenated by Grunt
angular.module('angular-storage',
[
'angular-storage.store'
]);
angular.module('angular-storag... | Update angular-storage.js | dist/angular-storage.js | Update angular-storage.js | <ide><path>ist/angular-storage.js
<ide> } else {
<ide> var $cookieStore = $injector.get('$cookieStore');
<ide> this.set = function(what, value) {
<del> return $cookieStore.put(what, value);
<add> return (!what || !value) ? null : $cookieStore.put(what, value);
<ide> };
<ide> th... | |
Java | apache-2.0 | 6676dee90a7d3d450e17b6c1235f452db52eaa5a | 0 | asedunov/intellij-community,Distrotech/intellij-community,TangHao1987/intellij-community,da1z/intellij-community,youdonghai/intellij-community,kool79/intellij-community,fengbaicanhe/intellij-community,kool79/intellij-community,youdonghai/intellij-community,orekyuu/intellij-community,SerCeMan/intellij-community,akosyako... | /*
* 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... | platform/core-api/src/com/intellij/openapi/editor/markup/AttributesFlyweight.java | /*
* Copyright 2000-2013 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... | there should be only one call to constructor and it should be done from static create method
| platform/core-api/src/com/intellij/openapi/editor/markup/AttributesFlyweight.java | there should be only one call to constructor and it should be done from static create method | <ide><path>latform/core-api/src/com/intellij/openapi/editor/markup/AttributesFlyweight.java
<ide> /*
<del> * Copyright 2000-2013 JetBrains s.r.o.
<add> * Copyright 2000-2014 JetBrains s.r.o.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not use this file except in co... | |
JavaScript | mit | 53a647177c79301859c0442f741251de56870138 | 0 | TukekeSoft/enchant.js,wise9/enchant.js,shellkana/enchant.js,TukekeSoft/enchant.js,shellkana/enchant.js,li0t/enchant.js,wendelas/enchant.js,wise9/enchant.js,Gunbard/enchant.js,wendelas/enchant.js,Gunbard/enchant.js,li0t/enchant.js | /*
[lang:ja]
* gl.enchant.js
* @version 0.3.6
* @require enchant.js v0.4.5+
* @require gl-matrix.js 1.3.7+
* @author Ubiquitous Entertainment Inc.
*
* @description
* WebGLを用いた描画ライブラリ
* enchant.js と組み合わせることで高度な3D描画と、2D描画を組み合わせることができる
*
* @detail
* ベクトル・行列演算にgl-matrix.jsを使用しています.
* gl-matrix.js:
* https://... | dev/plugins/gl.enchant.js | /*
[lang:ja]
* gl.enchant.js
* @version 0.3.6
* @require enchant.js v0.4.5+
* @require gl-matrix.js 1.3.7+
* @author Ubiquitous Entertainment Inc.
*
* @description
* WebGLを用いた描画ライブラリ
* enchant.js と組み合わせることで高度な3D描画と、2D描画を組み合わせることができる
*
* @detail
* ベクトル・行列演算にgl-matrix.jsを使用しています.
* gl-matrix.js:
* https://... | Quat.slerpメソッド修正
バグかと思われます。
よろしくお願いします。 | dev/plugins/gl.enchant.js | Quat.slerpメソッド修正 | <ide><path>ev/plugins/gl.enchant.js
<ide> */
<ide> slerp: function(another, ratio) {
<ide> var q = new Quat(0, 0, 0, 0);
<del> quat4.slerp(this._quat, another._quat, ratio, q);
<add> quat4.slerp(this._quat, another._quat, ratio, q._quat);
<ide> return q;
<i... | |
Java | epl-1.0 | 4ee6f08fde998b19f4ebaea045fb7a5e0ce930df | 0 | riuvshin/che-plugins,Panthro/che-plugins,codenvy/che-plugins,ollie314/che-plugins,riuvshin/che-plugins,Panthro/che-plugins,vitaliy0922/cop_che-plugins,riuvshin/che-plugins,vitaliy0922/cop_che-plugins,codenvy/che-plugins,codenvy/che-plugins,riuvshin/che-plugins,vitaliy0922/cop_che-plugins,ollie314/che-plugins,vitaliy092... | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/server/GitProjectImporter.java | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | IDEX-1977; keep .git folder when keepDirectory is used;
| plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/server/GitProjectImporter.java | IDEX-1977; keep .git folder when keepDirectory is used; | <ide><path>lugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/server/GitProjectImporter.java
<ide> sparsecheckout(git, location, branch == null ? "master" : branch, keepDirectory, dtoFactory);
<ide> // Copy content of directory to the project folder.
<ide>... | |
Java | apache-2.0 | e31fc5df5872d2d8d84fc578e42069c52e212067 | 0 | alphafoobar/intellij-community,kool79/intellij-community,ryano144/intellij-community,adedayo/intellij-community,tmpgit/intellij-community,ahb0327/intellij-community,nicolargo/intellij-community,MER-GROUP/intellij-community,da1z/intellij-community,ol-loginov/intellij-community,caot/intellij-community,tmpgit/intellij-com... | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/lang-impl/src/com/intellij/codeInsight/highlighting/BraceHighlightingHandler.java | /*
* Copyright 2000-2013 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... | EA-49821 - assert: CaretModelImpl.validateCallContext
| platform/lang-impl/src/com/intellij/codeInsight/highlighting/BraceHighlightingHandler.java | EA-49821 - assert: CaretModelImpl.validateCallContext | <ide><path>latform/lang-impl/src/com/intellij/codeInsight/highlighting/BraceHighlightingHandler.java
<ide> final Project project = editor.getProject();
<ide> if (project == null) return;
<ide> final int offset = editor.getCaretModel().getOffset();
<add> final PsiFile psiFile = PsiUtilBase.getPsiFileInEdi... | |
JavaScript | agpl-3.0 | 8560d36421a2eb7aabe49cf63d51f766b43ebdb3 | 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 | 48e4a41a-2e63-11e5-9284-b827eb9e62be | helloWorld.js | 48df3b2e-2e63-11e5-9284-b827eb9e62be | 48e4a41a-2e63-11e5-9284-b827eb9e62be | helloWorld.js | 48e4a41a-2e63-11e5-9284-b827eb9e62be | <ide><path>elloWorld.js
<del>48df3b2e-2e63-11e5-9284-b827eb9e62be
<add>48e4a41a-2e63-11e5-9284-b827eb9e62be | |
Java | agpl-3.0 | 1787a5eca377685f4969bf2ecd9979c93549a21f | 0 | aikuma/aikuma,aikuma/aikuma,lisaslyis/aikuma,hleeldc/aikuma,lisaslyis/aikuma,aikuma/aikuma,lisaslyis/aikuma,aikuma/aikuma,aikuma/aikuma,lisaslyis/aikuma,hleeldc/aikuma,lisaslyis/aikuma,hleeldc/aikuma,hleeldc/aikuma,hleeldc/aikuma | package org.lp20.aikuma.audio;
import android.util.Log;
import android.media.MediaPlayer;
import java.io.File;
import java.io.IOException;
import org.lp20.aikuma.model.Recording;
/**
* @author Oliver Adams <oliver.adams@gmail.com>
* @author Florian Hanke <florian.hanke@gmail.com>
*/
public class SimplePlayer exten... | Aikuma/src/org/lp20/aikuma/audio/SimplePlayer.java | package org.lp20.aikuma.audio;
import android.util.Log;
import android.media.MediaPlayer;
import java.io.File;
import java.io.IOException;
import org.lp20.aikuma.model.Recording;
/**
* @author Oliver Adams <oliver.adams@gmail.com>
* @author Florian Hanke <florian.hanke@gmail.com>
*/
public class SimplePlayer exten... | caught the IllegalStateException that getDurationMsec could throw in order to prevent crashing Steven experienced
| Aikuma/src/org/lp20/aikuma/audio/SimplePlayer.java | caught the IllegalStateException that getDurationMsec could throw in order to prevent crashing Steven experienced | <ide><path>ikuma/src/org/lp20/aikuma/audio/SimplePlayer.java
<ide>
<ide> /** Get the duration of the recording in milliseconds. */
<ide> public int getDurationMsec() {
<del> return mediaPlayer.getDuration();
<add> try {
<add> return mediaPlayer.getDuration();
<add> } catch (IllegalStateException e) {
<add> //... | |
JavaScript | apache-2.0 | 8c05314d6363ebe42265161bd4d058e4a8ed9c18 | 0 | IHTSDO/sct-browser-frontend,IHTSDO/sct-browser-frontend,IHTSDO/sct-browser-frontend | this["JST"] = this["JST"] || {};
this["JST"]["views/conceptDetailsPlugin/main.hbs"] = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [4,'>= 1.0.0'];
helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
var buffer = "", stack1, helper, functionType="fun... | snomed-interaction-components/js/snomed-interaction-components-2.1.js | this["JST"] = this["JST"] || {};
this["JST"]["views/conceptDetailsPlugin/main.hbs"] = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [4,'>= 1.0.0'];
helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
var buffer = "", stack1, helper, functionType="fun... | OWLAP-147 - inferred attributes restored - stated attribute ordering asserted
| snomed-interaction-components/js/snomed-interaction-components-2.1.js | OWLAP-147 - inferred attributes restored - stated attribute ordering asserted | <ide><path>nomed-interaction-components/js/snomed-interaction-components-2.1.js
<ide> + "</span></th>\n </tr>\n </thead>\n <tbody>\n ";
<ide> stack1 = (helper = helpers.if_eq || (depth0 && depth0.if_eq),options={hash:{},inverse:self.program(5, program5, data),fn:self.program(2, program... | |
JavaScript | mit | 738cbf51a3ecee92a31558cf8f67654e4613d123 | 0 | usablica/persian.js | /**
* PersianJs v0.3.0
* https://github.com/usablica/persian.js
* MIT licensed
*
* Copyright (C) 2012 usabli.ca and other contributors
*/
(function(){var VERSION="0.4.0",hasModule=typeof module!=="undefined"&&module.exports;var arabicNumbers=["١","٢","٣","٤","٥","٦","٧","٨","٩","٠"],persianNumbers=["۱","۲","۳","۴","۵",... | persian.min.js | /**
* PersianJs v0.3.0
* https://github.com/usablica/persian.js
* MIT licensed
*
* Copyright (C) 2012 usabli.ca and other contributors
*/
(function(){var VERSION="0.4.0",hasModule=typeof module!=="undefined"&&module.exports;var arabicNumbers=["١","٢","٣","٤","٥","٦","٧","٨","٩","٠"],persianNumbers=["۱","۲","۳","۴","۵",... | Fix typo in persian min js
| persian.min.js | Fix typo in persian min js | <ide><path>ersian.min.js
<ide> *
<ide> * Copyright (C) 2012 usabli.ca and other contributors
<ide> */
<del>(function(){var VERSION="0.4.0",hasModule=typeof module!=="undefined"&&module.exports;var arabicNumbers=["١","٢","٣","٤","٥","٦","٧","٨","٩","٠"],persianNumbers=["۱","۲","۳","۴","۵","۶","۷","۸","۹","۰"],englishNum... | |
Java | mit | 5727f5a39e8ba2a450973769cd0ebf0828a8d3cf | 0 | SumanBoss/wifiplugin,SumanBoss/wifiplugin | package org.apache.cordova.plugin;
import org.json.JSONArray;
import org.json.JSONException;
import android.content.Context;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.telephony.TelephonyManager;
i... | src/android/WifiInfoPlugin.java | package org.apache.cordova.plugin;
import org.json.JSONArray;
import org.json.JSONException;
import android.content.Context;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.telephony.TelephonyManager;
i... | Update WifiInfoPlugin.java | src/android/WifiInfoPlugin.java | Update WifiInfoPlugin.java | <ide><path>rc/android/WifiInfoPlugin.java
<ide> }
<ide> List<ScanResult> mScanResults = wifi.getScanResults();
<ide> for (ScanResult result : mScanResults) {
<del> if ("Cloudlabz".equals(result.SSID)) {
<add> if ("mtoll".equals(result... | |
Java | apache-2.0 | b731427339d0318a76a0473b5b603fe82874bbef | 0 | OpenHFT/Chronicle-Core | /*
* Copyright (C) 2015 higherfrequencytrading.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License.
*
* This program is distr... | src/main/java/net/openhft/chronicle/core/io/IOTools.java | /*
* Copyright (C) 2015 higherfrequencytrading.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License.
*
* This program is distr... | Tuning the FIX benchmarks and using a lock free writing strategy.
| src/main/java/net/openhft/chronicle/core/io/IOTools.java | Tuning the FIX benchmarks and using a lock free writing strategy. | <ide><path>rc/main/java/net/openhft/chronicle/core/io/IOTools.java
<ide>
<ide> import java.io.*;
<ide> import java.nio.ByteBuffer;
<add>import java.util.stream.Stream;
<ide> import java.util.zip.GZIPInputStream;
<ide> import java.util.zip.GZIPOutputStream;
<ide>
<ide> public enum IOTools {
<ide> ;
<ide>
<add> ... | |
JavaScript | mit | 70873f5a235f7389e0e7cee21714fd1c1fb01a39 | 0 | atomicjolt/QbankAdmin,atomicjolt/QbankAdmin,atomicjolt/QbankAdmin | import request from "superagent";
import { Constants as AppConstants } from "../actions/app";
import { Constants as AssessmentConstants } from "../actions/assessment_offered";
import { Constants as BanksConstants } from "../actions/banks";
import { DONE } ... | client/js/middleware/qbank.js | import request from "superagent";
import { Constants as AppConstants } from "../actions/app";
import { Constants as AssessmentConstants } from "../actions/assessment_offered";
import { Constants as BanksConstants } from "../actions/banks";
import { DONE } ... | Alignment
| client/js/middleware/qbank.js | Alignment | <ide><path>lient/js/middleware/qbank.js
<ide> });
<ide> var url = "https://4h8n6sg95j.execute-api.us-east-1.amazonaws.com/dev/offer";
<ide> var body = {
<del> bank_id: action.bankId,
<add> bank_id: action.bankId,
<ide> assessment_id: action.assessmentId
<ide> };
<ide>... | |
Java | apache-2.0 | error: pathspec 'src/algorithm/boj/Boj4344.java' did not match any file(s) known to git
| 06bfaffc3f0fb54c39e7e68135c4d55b3080ca2c | 1 | hagomy/algorithm | /*
* Copyright 2017 haeun kim
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | src/algorithm/boj/Boj4344.java | Solve No.4344 from Baekjoon Online Judge
| src/algorithm/boj/Boj4344.java | Solve No.4344 from Baekjoon Online Judge | <ide><path>rc/algorithm/boj/Boj4344.java
<add>/*
<add> * Copyright 2017 haeun kim
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License.
<add> * You may obtain a copy of the License at
<add> *
<add> * http://www.apach... | |
Java | mit | 7cff924b3e86bc13848cbdfc2fb87333c95e125e | 0 | raeleus/skin-composer | /** *****************************************************************************
* MIT License
*
* Copyright (c) 2018 Raymond Buckley
*
* 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... | core/src/com/ray3k/skincomposer/RootTable.java | /** *****************************************************************************
* MIT License
*
* Copyright (c) 2018 Raymond Buckley
*
* 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... | Added missing hand listener.
| core/src/com/ray3k/skincomposer/RootTable.java | Added missing hand listener. | <ide><path>ore/src/com/ray3k/skincomposer/RootTable.java
<ide>
<ide> TextTooltip toolTip = new TextTooltip("New Style Property", main.getTooltipManager(), getSkin());
<ide> button.addListener(toolTip);
<add> button.addListener(main.getHandListener());
<ide> }
<ide... | |
Java | apache-2.0 | 9111602d7c2a88b7f9db6772d7d6d8399e2ff96b | 0 | grpc/grpc-java,stanley-cheung/grpc-java,dapengzhang0/grpc-java,grpc/grpc-java,stanley-cheung/grpc-java,carl-mastrangelo/grpc-java,dapengzhang0/grpc-java,stanley-cheung/grpc-java,dapengzhang0/grpc-java,ejona86/grpc-java,ejona86/grpc-java,stanley-cheung/grpc-java,carl-mastrangelo/grpc-java,carl-mastrangelo/grpc-java,grpc... | /*
* Copyright 2015 The gRPC Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | stub/src/main/java/io/grpc/stub/StreamObservers.java | /*
* Copyright 2015 The gRPC Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | StreamObservers: make sure onComplete only gets called once from onReadyHandler
Fixes #4558 | stub/src/main/java/io/grpc/stub/StreamObservers.java | StreamObservers: make sure onComplete only gets called once from onReadyHandler | <ide><path>tub/src/main/java/io/grpc/stub/StreamObservers.java
<ide> Preconditions.checkNotNull(target, "target");
<ide>
<ide> final class FlowControllingOnReadyHandler implements Runnable {
<add> private boolean completed;
<add>
<ide> @Override
<ide> public void run() {
<add> if (compl... | |
JavaScript | apache-2.0 | 457641fbd35ca2dda6ed5e15cfc8db7663c1ccb4 | 0 | progsung/cesium,hodbauer/cesium,hodbauer/cesium,likangning93/cesium,soceur/cesium,YonatanKra/cesium,YonatanKra/cesium,YonatanKra/cesium,likangning93/cesium,AnalyticalGraphicsInc/cesium,geoscan/cesium,kaktus40/cesium,jasonbeverage/cesium,AnalyticalGraphicsInc/cesium,CesiumGS/cesium,soceur/cesium,likangning93/cesium,lika... | define([
'../Core/Cartesian3',
'../Core/Cartographic',
'../Core/Check',
'../Core/defined',
'../Core/destroyObject',
'../Core/EasingFunction',
'../Core/Math',
'../Core/Matrix4',
'../Core/OrthographicFrustum',
'../Core/OrthographicOffCenterFr... | Source/Scene/SceneTransitioner.js | define([
'../Core/Cartesian3',
'../Core/Cartographic',
'../Core/Check',
'../Core/defined',
'../Core/destroyObject',
'../Core/EasingFunction',
'../Core/Math',
'../Core/Matrix4',
'../Core/OrthographicFrustum',
'../Core/OrthographicOffCenterFr... | Fix large billboards during morph from 2D to 3D.
| Source/Scene/SceneTransitioner.js | Fix large billboards during morph from 2D to 3D. | <ide><path>ource/Scene/SceneTransitioner.js
<ide> var complete = complete3DCallback(camera3D);
<ide> createMorphHandler(transitioner, complete);
<ide>
<del> var startPos = Cartesian3.clone(camera.position, scratch3DToCVStartPos);
<del> var startDir = Cartesian3.clone(camera.direction, scr... | |
JavaScript | mit | 3c10affcc77fbef2457eb3d0812a686c62c679cd | 0 | Tiny-Giant/Stack-Exchange-Editor-Toolkit | // ==UserScript==
// @name Stack-Exchange-Editor-Toolkit
// @author Cameron Bernhardt (AstroCB)
// @developer Jonathan Todd (jt0dd)
// @developer sathyabhat
// @contributor Unihedron
// @contributor Tiny Giant
// @contributor Mogsdad
// @grant none
// @license MIT
//... | editor.user.js | // ==UserScript==
// @name Stack-Exchange-Editor-Toolkit
// @author Cameron Bernhardt (AstroCB)
// @developer Jonathan Todd (jt0dd)
// @developer sathyabhat
// @contributor Unihedron
// @contributor Tiny Giant
// @contributor Mogsdad
// @grant none
// @license MIT
//... | Upversioned + new rules
New: asp, written, pseudo, doesn_t_work, wpf, http, woff, ttf, bear_with_me, weird, believe, piece, sample
Improved: jquery, vbnet, personally, doesn_t, i, problem, recommend | editor.user.js | Upversioned + new rules | <ide><path>ditor.user.js
<ide> // @grant none
<ide> // @license MIT
<ide> // @namespace http://github.com/AstroCB
<del>// @version 1.5.2.32
<add>// @version 1.5.2.33
<ide> // @description Fix common grammar/usage annoyances on Stack Exchange posts with a click
<ide> // @include ... | |
Java | mit | 65f9bf5fa7899887d6e4adfcafc3ec0f5e39603d | 0 | dreamhead/moco,dreamhead/moco | package com.github.dreamhead.moco;
import com.github.dreamhead.moco.resource.Resource;
public final class HttpHeader implements ResponseElement {
private String name;
private Resource value;
public HttpHeader(final String name, final Resource value) {
this.name = name;
this.value = value;... | moco-core/src/main/java/com/github/dreamhead/moco/HttpHeader.java | package com.github.dreamhead.moco;
import com.github.dreamhead.moco.resource.Resource;
public class HttpHeader implements ResponseElement {
private String name;
private Resource value;
public HttpHeader(final String name, final Resource value) {
this.name = name;
this.value = value;
}... | added missing final to http header
| moco-core/src/main/java/com/github/dreamhead/moco/HttpHeader.java | added missing final to http header | <ide><path>oco-core/src/main/java/com/github/dreamhead/moco/HttpHeader.java
<ide>
<ide> import com.github.dreamhead.moco.resource.Resource;
<ide>
<del>public class HttpHeader implements ResponseElement {
<add>public final class HttpHeader implements ResponseElement {
<ide> private String name;
<ide> private R... | |
Java | mit | 4ae667b5d8d83c7a3574fc82900dec0c8ee439ce | 0 | ControlSystemStudio/diirt,diirt/diirt,berryma4/diirt,ControlSystemStudio/diirt,diirt/diirt,richardfearn/diirt,richardfearn/diirt,diirt/diirt,berryma4/diirt,berryma4/diirt,ControlSystemStudio/diirt,ControlSystemStudio/diirt,berryma4/diirt,richardfearn/diirt,diirt/diirt | /**
* Copyright (C) 2010-14 pvmanager developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.epics.vtype;
import java.text.NumberFormat;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.epics.util.text.NumberFormat... | epics-vtype/src/main/java/org/epics/vtype/ValueFactory.java | /**
* Copyright (C) 2010-14 pvmanager developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.epics.vtype;
import java.text.NumberFormat;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.epics.util.text.NumberFormat... | vtype: adding checked vType conversion
| epics-vtype/src/main/java/org/epics/vtype/ValueFactory.java | vtype: adding checked vType conversion | <ide><path>pics-vtype/src/main/java/org/epics/vtype/ValueFactory.java
<ide> }
<ide>
<ide> /**
<del> * Creates a new VDoubleArray.
<del> *
<del> * @param values array values
<del> * @param sizes sizes
<del> * @param alarm the alarm
<del> * @param time the time
<del> * @param dis... | |
Java | apache-2.0 | 80d4ca21e2814869592379f0278cbcd95a260808 | 0 | vt0r/vector-android,vector-im/riot-android,noepitome/neon-android,riot-spanish/riot-android,vt0r/vector-android,vector-im/vector-android,vector-im/riot-android,noepitome/neon-android,vector-im/vector-android,riot-spanish/riot-android,vt0r/vector-android,vector-im/riot-android,vector-im/vector-android,vector-im/vector-a... | /*
* Copyright 2015 OpenMarket Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | vector/src/main/java/im/vector/fragments/VectorMessageListFragment.java | /*
* Copyright 2015 OpenMarket Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Fix an invalid comment
| vector/src/main/java/im/vector/fragments/VectorMessageListFragment.java | Fix an invalid comment | <ide><path>ector/src/main/java/im/vector/fragments/VectorMessageListFragment.java
<ide> getActivity().runOnUiThread(new Runnable() {
<ide> @Override
<ide> public void run() {
<del> // The user is trying to leave with unsaved changes. Warn about that
<ide> ... | |
Java | apache-2.0 | f5758c9870dc2c3c66758daeb506ab6b975a95fe | 0 | hsaputra/cdap,hsaputra/cdap,anthcp/cdap,caskdata/cdap,caskdata/cdap,chtyim/cdap,hsaputra/cdap,caskdata/cdap,hsaputra/cdap,anthcp/cdap,caskdata/cdap,anthcp/cdap,mpouttuclarke/cdap,chtyim/cdap,mpouttuclarke/cdap,chtyim/cdap,caskdata/cdap,anthcp/cdap,mpouttuclarke/cdap,caskdata/cdap,chtyim/cdap,anthcp/cdap,mpouttuclarke/c... | package com.continuuity.data2.dataset2.user;
import com.continuuity.common.conf.CConfiguration;
import com.continuuity.common.conf.Constants;
import com.continuuity.common.guice.ConfigModule;
import com.continuuity.common.guice.DiscoveryRuntimeModule;
import com.continuuity.common.guice.IOModule;
import com.continuuit... | data-fabric/src/test/java/com/continuuity/data2/dataset2/user/DatasetUserServiceTest.java | package com.continuuity.data2.dataset2.user;
import com.continuuity.common.conf.CConfiguration;
import com.continuuity.common.conf.Constants;
import com.continuuity.common.guice.ConfigModule;
import com.continuuity.common.guice.DiscoveryRuntimeModule;
import com.continuuity.common.guice.IOModule;
import com.continuuit... | fix unit-test guice bindings
| data-fabric/src/test/java/com/continuuity/data2/dataset2/user/DatasetUserServiceTest.java | fix unit-test guice bindings | <ide><path>ata-fabric/src/test/java/com/continuuity/data2/dataset2/user/DatasetUserServiceTest.java
<ide> import com.continuuity.common.metrics.NoOpMetricsCollectionService;
<ide> import com.continuuity.common.utils.Networks;
<ide> import com.continuuity.data.runtime.DataFabricModules;
<add>import com.continuuity.data.... | |
Java | mit | c358f26d16f625b7a4aedca1b106529e16e95aff | 0 | ohhopi/six-couleurs | package edu.isep.sixcolors.controller;
import edu.isep.sixcolors.model.*;
import edu.isep.sixcolors.model.AI.AIInterface;
import edu.isep.sixcolors.model.AI.DumbAI;
import edu.isep.sixcolors.model.entity.Board;
import edu.isep.sixcolors.model.entity.Player;
import edu.isep.sixcolors.model.entity.Players;
import edu.is... | 6Colors/src/edu/isep/sixcolors/controller/Play.java | package edu.isep.sixcolors.controller;
import edu.isep.sixcolors.model.*;
import edu.isep.sixcolors.model.AI.AIInterface;
import edu.isep.sixcolors.model.AI.DumbAI;
import edu.isep.sixcolors.model.entity.Board;
import edu.isep.sixcolors.model.entity.Player;
import edu.isep.sixcolors.model.entity.Players;
import edu.is... | Fixes endgame
| 6Colors/src/edu/isep/sixcolors/controller/Play.java | Fixes endgame | <ide><path>Colors/src/edu/isep/sixcolors/controller/Play.java
<ide> */
<ide>
<ide> private Player checkForWinner() {
<del> int winPoints = (int) Math.floor(Math.pow(game.getBoard().getWidth(), 2) / game.getPlayers().getPlayerNumber());
<add> int winPoints = (int) Math.floor(Math.pow(game.getBoar... | |
Java | apache-2.0 | d7bb6e7235313dc74d9e5d3d72a48e412cacf8eb | 0 | amzn/exoplayer-amazon-port,amzn/exoplayer-amazon-port,google/ExoPlayer,androidx/media,ened/ExoPlayer,google/ExoPlayer,ened/ExoPlayer,androidx/media,amzn/exoplayer-amazon-port,androidx/media,google/ExoPlayer,ened/ExoPlayer | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Fix typo in internal class name
PiperOrigin-RevId: 382766969
| library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java | Fix typo in internal class name | <ide><path>ibrary/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java
<ide> if (Util.SDK_INT >= 21 && PlatformOperationsWrapperV21.isMediaDrmStateException(cause)) {
<ide> errorCode = PlatformOperationsWrapperV21.mediaDrmStateExceptionToErrorCode(cause);
<ide> } else if (Util... | |
Java | artistic-2.0 | fb2600066f482409a6512405d91e9b2b3dc1bee7 | 0 | jdownloader-mirror/appwork-utils | package org.appwork.swing.synthetica;
import java.awt.Font;
import java.io.UnsupportedEncodingException;
import javax.swing.UIManager;
import org.appwork.storage.config.JsonConfig;
import org.appwork.swing.components.ExtPasswordField;
import org.appwork.txtresource.TranslationFactory;
import org.appwork.ut... | src/org/appwork/swing/synthetica/SyntheticaHelper.java | package org.appwork.swing.synthetica;
import java.awt.Font;
import java.io.UnsupportedEncodingException;
import javax.swing.UIManager;
import org.appwork.storage.config.JsonConfig;
import org.appwork.swing.components.ExtPasswordField;
import org.appwork.txtresource.TranslationFactory;
import org.appwork.ut... | build>full
| src/org/appwork/swing/synthetica/SyntheticaHelper.java | build>full | <ide><path>rc/org/appwork/swing/synthetica/SyntheticaHelper.java
<ide> * @param locale
<ide> * @return
<ide> */
<del> private static String getFontName(final SyntheticaSettings config, final LanguageFileSetup locale) {
<add> public static String getFontName(final SyntheticaSettings config, final La... | |
JavaScript | mit | a65113944eadc90972d753a21b6e1bae95a4ba36 | 0 | jfilter/frag-den-staat-app,jfilter/frag-den-staat-app,jfilter/frag-den-staat-app,jfilter/frag-den-staat-app | import { AppRegistry } from 'react-native';
import App from './app/App';
console.disableYellowBox = true;
AppRegistry.registerComponent('FragDenStaat', () => App);
| index.ios.js | import { AppRegistry } from 'react-native';
import App from './app/App';
AppRegistry.registerComponent('FragDenStaat', () => App);
| disable in-app warnings
| index.ios.js | disable in-app warnings | <ide><path>ndex.ios.js
<ide> import { AppRegistry } from 'react-native';
<ide> import App from './app/App';
<ide>
<add>console.disableYellowBox = true;
<add>
<add>
<ide> AppRegistry.registerComponent('FragDenStaat', () => App); | |
Java | apache-2.0 | c7e05865765deee0eb8dc3bb80962a2375d7c942 | 0 | da1z/intellij-community,ahb0327/intellij-community,ahb0327/intellij-community,alphafoobar/intellij-community,michaelgallacher/intellij-community,ol-loginov/intellij-community,adedayo/intellij-community,MER-GROUP/intellij-community,supersven/intellij-community,asedunov/intellij-community,semonte/intellij-community,jaggu... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | non-blocking bundled gdsl scripts parsing
| plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java | non-blocking bundled gdsl scripts parsing | <ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java
<ide> import com.intellij.psi.util.PsiModificationTracker;
<ide> import com.intellij.util.ExceptionUtil;
<ide> import com.intellij.util.PathUtil;
<add>import com.intellij.util.concurrency.Semaphore;
<ide> import com.intellij.util.cont... | |
Java | epl-1.0 | 6ecb6c6c3dee46cc81428d5d63e597a85e34195c | 0 | dynamid/golo-lang-insa-citilab-historical-reference,dynamid/golo-lang-insa-citilab-historical-reference,smarr/golo-lang,titimoby/golo-lang,smarr/golo-lang,titimoby/golo-lang,dynamid/golo-lang-insa-citilab-historical-reference | /*
* Copyright 2012-2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
*
* 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.... | src/test/java/fr/insalyon/citi/golo/runtime/ClosureCallSupportTest.java | /*
* Copyright 2012-2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
*
* 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.... | Add test to call closure with types besides Object
| src/test/java/fr/insalyon/citi/golo/runtime/ClosureCallSupportTest.java | Add test to call closure with types besides Object | <ide><path>rc/test/java/fr/insalyon/citi/golo/runtime/ClosureCallSupportTest.java
<ide> return result;
<ide> }
<ide>
<add> static Integer parseIntWrap(String s) {
<add> return Integer.parseInt(s, 10);
<add> }
<add>
<ide> @Test
<ide> public void check_bootstrap() throws Throwable {
<ide> MethodHandle... | |
JavaScript | mit | 02d48d05deac6e4668d4d28ad6ea1a3f7e7ee9b7 | 0 | vigour-io/hub | 'use strict'
var Protocol = require('../../protocol')
var Event = require('vigour-js/lib/event')
var hash = require('vigour-js/lib/util/hash')
var isEmpty = require('vigour-js/lib/util/is/empty')
var Observable = require('vigour-js/lib/observable')
var _subscribe = Observable.prototype.subscribe
exports.inject = requi... | lib/syncable/on/index.js | 'use strict'
var Protocol = require('../../protocol')
var Event = require('vigour-js/lib/event')
var hash = require('vigour-js/lib/util/hash')
var isEmpty = require('vigour-js/lib/util/is/empty')
var Observable = require('vigour-js/lib/observable')
var _subscribe = Observable.prototype.subscribe
exports.inject = requi... | clean up
Former-commit-id: 7ef9102811fd386c0a96fde93a403b3c2e8e68b7 | lib/syncable/on/index.js | clean up | <ide><path>ib/syncable/on/index.js
<ide> // add = true
<ide> // }
<ide> var subs = _subscribe.apply(this, arguments)
<del> console.log('lulllz subscribing!'.rainbow, subs.key)
<ide> // if (!dontadd) {
<del> sendSubsUp(this, subs.pattern, void 0, subs.key)
<add> this.sendSubscriptionUpstream(t... | |
Java | bsd-3-clause | aa9f068236c921da01d9c59e880975c196c50c7c | 0 | hispindia/dhis2-Core,msf-oca-his/dhis2-core,dhis2/dhis2-core,msf-oca-his/dhis2-core,dhis2/dhis2-core,msf-oca-his/dhis2-core,hispindia/dhis2-Core,msf-oca-his/dhis2-core,hispindia/dhis2-Core,hispindia/dhis2-Core,msf-oca-his/dhis2-core,hispindia/dhis2-Core,dhis2/dhis2-core,dhis2/dhis2-core,dhis2/dhis2-core | /*
* Copyright (c) 2004-2021, University of Oslo
* 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 cond... | dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java | /*
* Copyright (c) 2004-2021, University of Oslo
* 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 cond... | fix: performance improvement for users API when filtering with userCredentials.username (2.36) (#7165)
| dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java | fix: performance improvement for users API when filtering with userCredentials.username (2.36) (#7165) | <ide><path>his-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/hibernate/HibernateUserStore.java
<ide> hql += " ";
<ide> }
<ide>
<del> hql += "from User u " +
<del> "inner join u.userCredentials uc ";
<add> hql += "from User u ";
<add>
<add> if ( c... | |
Java | apache-2.0 | 6f3d76cabe9d284f1400e7ee2657b7406b8bf779 | 0 | google/mobly-bundled-snippets,lrbom/mobly-bundled-snippets | /*
* Copyright (C) 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | src/main/java/com/google/android/mobly/snippet/bundled/BluetoothAdapterSnippet.java | /*
* Copyright (C) 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Throw exceptions in case of failure to enable or disable HCI snoop log. (#42)
Returning boolean is not consistent with our style and is not done for any other method in MBS. | src/main/java/com/google/android/mobly/snippet/bundled/BluetoothAdapterSnippet.java | Throw exceptions in case of failure to enable or disable HCI snoop log. (#42) | <ide><path>rc/main/java/com/google/android/mobly/snippet/bundled/BluetoothAdapterSnippet.java
<ide> *
<ide> * <p>The file can be pulled from `/sdcard/btsnoop_hci.log`.
<ide> *
<del> * @return false if enabling the snoop log failed, true otherwise.
<ide> * @throws Throwable
<ide> */
<ide> ... | |
Java | apache-2.0 | 2f83547d402c552be1e18074531385a6bf9ca14f | 0 | eFaps/eFapsApp-JMS | /*
* Copyright 2003 - 2011 The eFaps Team
*
* 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 ... | src/main/efaps/ESJP/org/efaps/esjp/jms/attributes/StatusAttribute.java | /*
* Copyright 2003 - 2011 The eFaps Team
*
* 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 ... | - jms: correction of esjp to throw exception
git-svn-id: b368d13e588665476b8ac787ee6203fb6ee534e1@8862 fee104cc-1dfa-8c0f-632d-d3b7e6b59fb0
| src/main/efaps/ESJP/org/efaps/esjp/jms/attributes/StatusAttribute.java | - jms: correction of esjp to throw exception | <ide><path>rc/main/efaps/ESJP/org/efaps/esjp/jms/attributes/StatusAttribute.java
<ide> import javax.xml.bind.annotation.XmlType;
<ide>
<ide> import org.efaps.admin.datamodel.Status;
<add>import org.efaps.util.cache.CacheReloadException;
<ide>
<ide>
<ide> /**
<ide> {
<ide> Long ret = this.value;
<ide> ... | |
Java | lgpl-2.1 | 8c1e0132ae32d14c865414c6704bbc5ffba92f23 | 0 | languagetool-org/languagetool,janissl/languagetool,languagetool-org/languagetool,lopescan/languagetool,janissl/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,meg0man/languagetool,meg0man/languagetool,jimregan/languagetool,meg0man/languagetool,jimregan/languagetool,jimregan/languagetool,janissl... | /* LanguageTool, a natural language style checker
* Copyright (C) 2007 Daniel Naber (http://www.danielnaber.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | trunk/JLanguageTool/src/java/de/danielnaber/languagetool/tagging/eo/EsperantoTagger.java | /* LanguageTool, a natural language style checker
* Copyright (C) 2007 Daniel Naber (http://www.danielnaber.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | [eo] Esperanto preposition "malantaÅ" was not tagged.
| trunk/JLanguageTool/src/java/de/danielnaber/languagetool/tagging/eo/EsperantoTagger.java | [eo] Esperanto preposition "malantaÅ" was not tagged. | <ide><path>runk/JLanguageTool/src/java/de/danielnaber/languagetool/tagging/eo/EsperantoTagger.java
<ide> // Following preposition may be followed by accusative.
<ide> private final static String prepositionsAccusative[] = {
<ide> "anstataŭ", "en", "kontraŭ", "krom", "sur", "sub", "trans",
<del> "preter", "ĉ... | |
JavaScript | bsd-2-clause | edfd5db24fc8336003382f129f38287f6ca18053 | 0 | bubenkoff/Arkestra,evildmp/Arkestra,bubenkoff/Arkestra,evildmp/Arkestra,evildmp/Arkestra,bubenkoff/Arkestra | /**
* @name MarkerWithLabel for V3
* @version 1.1.8 [February 26, 2013]
* @author Gary Little (inspired by code from Marc Ridey of Google).
* @copyright Copyright 2012 Gary Little [gary at luxcentral.com]
* @fileoverview MarkerWithLabel extends the Google Maps JavaScript API V3
* <code>google.maps.Marker</code> ... | arkestra_utilities/static/arkestra/js/maps/markerwithlabel.js | /**
* @name MarkerWithLabel for V3
* @version 1.1.4 [April 13, 2011]
* @author Gary Little (inspired by code from Marc Ridey of Google).
* @copyright Copyright 2010 Gary Little [gary at luxcentral.com]
* @fileoverview MarkerWithLabel extends the Google Maps JavaScript API V3
* <code>google.maps.Marker</code> cla... | fix maps issue with new JS script
| arkestra_utilities/static/arkestra/js/maps/markerwithlabel.js | fix maps issue with new JS script | <ide><path>rkestra_utilities/static/arkestra/js/maps/markerwithlabel.js
<ide> /**
<ide> * @name MarkerWithLabel for V3
<del> * @version 1.1.4 [April 13, 2011]
<add> * @version 1.1.8 [February 26, 2013]
<ide> * @author Gary Little (inspired by code from Marc Ridey of Google).
<del> * @copyright Copyright 2010 Gary Lit... | |
Java | apache-2.0 | 29d4cb63746d0f2a47f762b642d93bed5a1f06bd | 0 | sanyaade-g2g-repos/orientdb,alonsod86/orientdb,intfrr/orientdb,redox/OrientDB,alonsod86/orientdb,mmacfadden/orientdb,giastfader/orientdb,intfrr/orientdb,redox/OrientDB,mmacfadden/orientdb,wyzssw/orientdb,jdillon/orientdb,intfrr/orientdb,tempbottle/orientdb,wouterv/orientdb,wyzssw/orientdb,rprabhat/orientdb,orientechnol... | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | commons/src/main/java/com/orientechnologies/common/parser/OStringParser.java | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | Fixed bug on String splits.
Also fix for issue 706
| commons/src/main/java/com/orientechnologies/common/parser/OStringParser.java | Fixed bug on String splits. Also fix for issue 706 | <ide><path>ommons/src/main/java/com/orientechnologies/common/parser/OStringParser.java
<ide> for (int i = 0; i < iText.length(); ++i) {
<ide> c = iText.charAt(i);
<ide>
<del> if (openBraket == 0 && openGraph == 0 && !escape && c == '\\') {
<add> if (openBraket == 0 && openGraph == 0 && !escape && c == '\\' &&... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.