lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | mit | 2b6e5f7ae2a8dcd41b18ec6df01b0e32e90dd660 | 0 | blay09/TwitchIntegration,blay09/TwitchIntegration | package net.blay09.mods.bmc.twitchintegration.handler;
import com.google.common.collect.Maps;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import net.blay09.mods.bmc.api.BetterMinecraftChatAPI;
import net.blay09.mods.bmc.api.image.IChatRenderable;
import net.blay09.mods.bmc.api.image.ITooltip... | src/main/java/net/blay09/mods/bmc/twitchintegration/handler/TwitchBadge.java | package net.blay09.mods.bmc.twitchintegration.handler;
import com.google.common.collect.Maps;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import net.blay09.mods.bmc.api.BetterMinecraftChatAPI;
import net.blay09.mods.bmc.api.image.IChatRenderable;
import net.blay09.mods.bmc.api.image.ITooltip... | Add client_id to badge API call.
| src/main/java/net/blay09/mods/bmc/twitchintegration/handler/TwitchBadge.java | Add client_id to badge API call. | <ide><path>rc/main/java/net/blay09/mods/bmc/twitchintegration/handler/TwitchBadge.java
<ide> import net.blay09.mods.bmc.api.image.IChatRenderable;
<ide> import net.blay09.mods.bmc.api.image.ITooltipProvider;
<ide> import net.blay09.mods.bmc.balyware.CachedAPI;
<add>import net.blay09.mods.bmc.chat.emotes.twitch.TwitchAP... | |
Java | apache-2.0 | b4299b4a80a715ae111c9791c33e144eb7e3e1f7 | 0 | SpineEventEngine/todo-list,SpineEventEngine/todo-list,SpineEventEngine/todo-list,SpineEventEngine/todo-list,SpineEventEngine/todo-list,SpineEventEngine/todo-list | /*
* Copyright 2017, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | api-java/src/main/java/org/spine3/examples/todolist/c/aggregates/TaskCreationPart.java | /*
* Copyright 2017, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | Remove unused imports.
| api-java/src/main/java/org/spine3/examples/todolist/c/aggregates/TaskCreationPart.java | Remove unused imports. | <ide><path>pi-java/src/main/java/org/spine3/examples/todolist/c/aggregates/TaskCreationPart.java
<ide> import org.spine3.examples.todolist.TaskStatus;
<ide> import org.spine3.examples.todolist.c.commands.CreateBasicTask;
<ide> import org.spine3.examples.todolist.c.commands.CreateDraft;
<del>import org.spine3.examples.t... | |
Java | apache-2.0 | ca1cc84aab548ac840dcdeda4035d990c569ca84 | 0 | selckin/wicket,bitstorm/wicket,klopfdreh/wicket,aldaris/wicket,klopfdreh/wicket,apache/wicket,topicusonderwijs/wicket,apache/wicket,AlienQueen/wicket,apache/wicket,freiheit-com/wicket,AlienQueen/wicket,aldaris/wicket,topicusonderwijs/wicket,mosoft521/wicket,topicusonderwijs/wicket,dashorst/wicket,dashorst/wicket,selcki... | /*
* 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 ... | wicket-core/src/main/java/org/apache/wicket/request/resource/caching/version/LastModifiedResourceVersion.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 ... | Remove unused logger
| wicket-core/src/main/java/org/apache/wicket/request/resource/caching/version/LastModifiedResourceVersion.java | Remove unused logger | <ide><path>icket-core/src/main/java/org/apache/wicket/request/resource/caching/version/LastModifiedResourceVersion.java
<ide> import org.apache.wicket.request.resource.caching.IStaticCacheableResource;
<ide> import org.apache.wicket.util.resource.IResourceStream;
<ide> import org.apache.wicket.util.time.Time;
<del>impo... | |
Java | lgpl-2.1 | 46c087353b4109bc1716a5b15e04bf5c3981a034 | 0 | Arabidopsis-Information-Portal/intermine,JoeCarlson/intermine,JoeCarlson/intermine,elsiklab/intermine,tomck/intermine,zebrafishmine/intermine,JoeCarlson/intermine,Arabidopsis-Information-Portal/intermine,joshkh/intermine,zebrafishmine/intermine,JoeCarlson/intermine,elsiklab/intermine,joshkh/intermine,kimrutherford/inte... | package org.intermine.web.struts;
/*
* Copyright (C) 2002-2010 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.h... | intermine/web/main/src/org/intermine/web/struts/ModifyTemplateAction.java | package org.intermine.web.struts;
/*
* Copyright (C) 2002-2010 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.h... | The tags are deleted by the deleteTemplate method
| intermine/web/main/src/org/intermine/web/struts/ModifyTemplateAction.java | The tags are deleted by the deleteTemplate method | <ide><path>ntermine/web/main/src/org/intermine/web/struts/ModifyTemplateAction.java
<ide> }
<ide>
<ide> profile.deleteTemplate(template);
<del> TagManager tagManager = im.getTagManager();
<del> //delete its tags
<del> Set<String> tagNames = t... | |
Java | lgpl-2.1 | d50ec083eb525d45ddeef627b998224f604e9409 | 0 | aaronc/jfreechart,aaronc/jfreechart,aaronc/jfreechart | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | source/org/jfree/chart/axis/DateTickUnit.java | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | Removed tabs.
git-svn-id: ca96c60061366ac92493e2142a352bb838ea8caa@1067 4df5dd95-b682-48b0-b31b-748e37b65e73
| source/org/jfree/chart/axis/DateTickUnit.java | Removed tabs. | <ide><path>ource/org/jfree/chart/axis/DateTickUnit.java
<ide> // number calculations, and since DateTickUnit doesn't do week
<ide> // arithmetic, the default locale (whatever it is) should be fine
<ide> // here...
<del> Calendar calendar = Calendar.getInstance(zone);
<add> Calendar calendar = ... | |
Java | agpl-3.0 | 1f6811f72cf2040b46f821baf5b6b784902d64bf | 0 | jpaajarv/parkandrideAPI,jpaajarv/parkandrideAPI,rjokelai/parkandrideAPI,jpaajarv/parkandrideAPI,rjokelai/parkandrideAPI,rjokelai/parkandrideAPI,rjokelai/parkandrideAPI,jpaajarv/parkandrideAPI | // Copyright © 2015 HSL <https://www.hsl.fi>
// This program is dual-licensed under the EUPL v1.2 and AGPLv3 licenses.
package fi.hsl.parkandride.core.domain;
import static java.util.Arrays.asList;
import java.util.List;
public enum CapacityType {
CAR,
DISABLED,
ELECTRIC_CAR,
MOTORCYCLE,
BICYCLE... | application/src/main/java/fi/hsl/parkandride/core/domain/CapacityType.java | // Copyright © 2015 HSL <https://www.hsl.fi>
// This program is dual-licensed under the EUPL v1.2 and AGPLv3 licenses.
package fi.hsl.parkandride.core.domain;
import static java.util.Arrays.asList;
import java.util.List;
public enum CapacityType {
CAR,
DISABLED,
ELECTRIC_CAR,
MOTORCYCLE,
BICYCLE... | Also disabled cars are counted as motor vehicles
| application/src/main/java/fi/hsl/parkandride/core/domain/CapacityType.java | Also disabled cars are counted as motor vehicles | <ide><path>pplication/src/main/java/fi/hsl/parkandride/core/domain/CapacityType.java
<ide> BICYCLE,
<ide> BICYCLE_SECURE_SPACE;
<ide>
<del> public static final CapacityType[] motorCapacities = new CapacityType[]{CAR, ELECTRIC_CAR, MOTORCYCLE};
<add> public static final CapacityType[] motorCapacities = ne... | |
Java | mit | 7c1025a1b48ae4e6638af4d0fff33f37db6e954d | 0 | byronka/xenos,byronka/xenos,byronka/xenos,byronka/xenos,byronka/xenos,byronka/xenos,byronka/xenos | package com.renomad.qarma;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Arrays;
import com.renomad.qarma.Database_access;
import com.renomad.qarma.Utils;
import java.sql.Statement;
import java.sql.SQLException;
import java.sql.ResultSet;
import java.sql.Connection;
impo... | src/com/renomad/qarma/Business_logic.java | package com.renomad.qarma;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Arrays;
import com.renomad.qarma.Database_access;
import com.renomad.qarma.Utils;
import java.sql.Statement;
import java.sql.SQLException;
import java.sql.ResultSet;
import java.sql.Connection;
impo... | slight tweak to comment
| src/com/renomad/qarma/Business_logic.java | slight tweak to comment | <ide><path>rc/com/renomad/qarma/Business_logic.java
<ide> }
<ide>
<ide> /**
<del> * Gets a specific Request for the user.
<add> * Gets a specific Request
<ide> *
<ide> * @return a single Request
<ide> */ | |
Java | mit | e949bfd773dc52d163ad0cd3bcfa00483d2dbfb3 | 0 | 15-2505-001-7/eureka | package com.example.v001ff.footmark;
import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.provider.MediaStore;
import android.support.design.widget.Snackbar;
import android... | Footmark/app/src/main/java/com/example/v001ff/footmark/InputSpotActivity.java | package com.example.v001ff.footmark;
import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.provider.MediaStore;
import android.support.design.widget.Snackbar;
import android... | 元に戻した
| Footmark/app/src/main/java/com/example/v001ff/footmark/InputSpotActivity.java | 元に戻した | <ide><path>ootmark/app/src/main/java/com/example/v001ff/footmark/InputSpotActivity.java
<ide> DateFormat df = new SimpleDateFormat("yyyy/MM/dd"); //日付の取得(この段階ではString型)
<ide> //String dateParse = new String();
<ide> //byte[] bytes = MyUtils.getByteFromImage(capturedImage);
<del> //... | |
Java | apache-2.0 | 5e637d504f1142f5ed5df14c3059d5ddb7d66539 | 0 | mikosik/smooth-build,mikosik/smooth-build | package org.smoothbuild.parse;
import static org.smoothbuild.function.base.Name.simpleName;
import static org.smoothbuild.function.base.Type.STRING;
import static org.smoothbuild.parse.ArgumentNodesCreator.createArgumentNodes;
import static org.smoothbuild.parse.LocationHelpers.locationIn;
import static org.smoothbuil... | src/java/org/smoothbuild/parse/DefinedFunctionsCreator.java | package org.smoothbuild.parse;
import static org.smoothbuild.function.base.Name.simpleName;
import static org.smoothbuild.function.base.Type.STRING;
import static org.smoothbuild.parse.ArgumentNodesCreator.createArgumentNodes;
import static org.smoothbuild.parse.LocationHelpers.locationIn;
import static org.smoothbuil... | added better error handling in DefinedFunctionsCreator
| src/java/org/smoothbuild/parse/DefinedFunctionsCreator.java | added better error handling in DefinedFunctionsCreator | <ide><path>rc/java/org/smoothbuild/parse/DefinedFunctionsCreator.java
<ide> if (expression.call() != null) {
<ide> return build(expression.call());
<ide> }
<del> return buildStringNode(expression.STRING());
<add> if (expression.STRING() != null) {
<add> return buildStringNode(expres... | |
Java | mit | c646b20241a3d34685349e188814da62ac559359 | 0 | frank849/LED_synth | import java.lang.*;
import java.util.*;
import java.io.*;
import javax.swing.event.*;
import javax.swing.*;
import javax.swing.table.*;
import javax.swing.filechooser.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.datatransfer.*;
import javax.imageio.*;
import java.aw... | main_app.java | import java.lang.*;
import java.util.*;
import java.io.*;
import javax.swing.event.*;
import javax.swing.*;
import javax.swing.table.*;
import javax.swing.filechooser.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.datatransfer.*;
import javax.imageio.*;
import java.aw... | add random melody
| main_app.java | add random melody | <ide><path>ain_app.java
<ide> }
<ide> return (int) (f3+0.5);
<ide> }
<add> void add_random_melody() {
<add> patternc p = main_app.song_player.pattern;
<add> Random rand = new Random();
<add> Rectangle r = main_panel_scroller.getViewport().getViewRect();
<add> int y2 = r.y / sqsize;
<add> int h... | |
Java | mit | 127f82b1f469c9736ab244f1c8ac059738346b06 | 0 | solinor/paymenthighway-java-lib | package com.solinor.paymenthighway.model;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import com.solinor.paymenthighway.json.JsonParser;
public class ReportResponseTest {
@BeforeClass
public s... | src/test/java/com/solinor/paymenthighway/model/ReportResponseTest.java | package com.solinor.paymenthighway.model;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import com.solinor.paymenthighway.json.JsonParser;
public class ReportResponseTest {
@BeforeClass
public s... | test for robust json parsing
| src/test/java/com/solinor/paymenthighway/model/ReportResponseTest.java | test for robust json parsing | <ide><path>rc/test/java/com/solinor/paymenthighway/model/ReportResponseTest.java
<ide> assertEquals("test_merchantId", settlement.getMerchant().getId());
<ide>
<ide> }
<add> /**
<add> * Robustness test. Unknown json fields should not cause issues.
<add> */
<add> @Test
<add> public void test2() {
<add> String js... | |
Java | apache-2.0 | c4d49c081ad9e1fa41cd9d450163c7cde103a63d | 0 | junit-tools-team/junit-tools | package org.junit.tools.generator;
import java.util.HashMap;
import java.util.List;
import java.util.Map.Entry;
import java.util.Vector;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jdt.core.Flags;
import org.eclipse.jdt.core.IAnnotation;
import org.eclipse.jdt.core.ICompilationUnit;... | org.junit.tools/src/org/junit/tools/generator/TestClassGenerator.java | package org.junit.tools.generator;
import java.util.HashMap;
import java.util.List;
import java.util.Map.Entry;
import java.util.Vector;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jdt.core.Flags;
import org.eclipse.jdt.core.IAnnotation;
import org.eclipse.jdt.core.ICompilationUnit;... |
Change-Id: I3dfc5db1558d164f1e89d5f3c7b35f2b58038ad7
| org.junit.tools/src/org/junit/tools/generator/TestClassGenerator.java | <ide><path>rg.junit.tools/src/org/junit/tools/generator/TestClassGenerator.java
<ide> @SuppressWarnings("restriction")
<ide> // TODO avoid restrictions
<ide> public class TestClassGenerator implements ITestClassGenerator,
<del> IGeneratorConstants {
<del>
<del> protected String annoGenerated = null;
<del>
<del> p... | ||
Java | apache-2.0 | 30042d0305a1658da66bd1cb5224d1ce1c3863b2 | 0 | amith01994/intellij-community,adedayo/intellij-community,idea4bsd/idea4bsd,Lekanich/intellij-community,robovm/robovm-studio,ol-loginov/intellij-community,da1z/intellij-community,signed/intellij-community,ftomassetti/intellij-community,ThiagoGarciaAlves/intellij-community,mglukhikh/intellij-community,dslomov/intellij-co... | /*
* 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/maven/src/test/java/org/jetbrains/idea/maven/dom/MavenExtensionCompletionAndResolutionTest.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... | Add additional loggining to understand cause of maven test fail
| plugins/maven/src/test/java/org/jetbrains/idea/maven/dom/MavenExtensionCompletionAndResolutionTest.java | Add additional loggining to understand cause of maven test fail | <ide><path>lugins/maven/src/test/java/org/jetbrains/idea/maven/dom/MavenExtensionCompletionAndResolutionTest.java
<ide> import org.jetbrains.idea.maven.indices.MavenIndicesTestFixture;
<ide> import org.jetbrains.idea.maven.indices.MavenProjectIndicesManager;
<ide>
<add>import java.util.Arrays;
<add>import java.util.Ha... | |
JavaScript | mit | 69e124b14b183777be92aebceea6ff74345b4f37 | 0 | ZachLamb/book-1,ZachLamb/book-1,ZachLamb/book-1 | var _ = require('lodash')
var random_name = require('node-random-name');
var Firebase = require('firebase');
// San Francisco
var city_location = {
lat: 37.78,
lon: -122.41
}
var radius = 0.03
// simualate a random person entering, staying for a duration, and leaving
function simulate() {
// generate a ... | workers/simulate-parking-customers.js | var _ = require('lodash')
var random_name = require('node-random-name');
var Firebase = require('firebase');
// San Francisco
var city_location = {
lat: 37.78,
lon: -122.41
}
var radius = 0.03
// simualate a random person entering, staying for a duration, and leaving
function simulate() {
// generate a ... | fixmerge
| workers/simulate-parking-customers.js | fixmerge | <ide><path>orkers/simulate-parking-customers.js
<ide> var ref = new Firebase('https://hello-ucdd2016.firebaseio.com/people')
<ide> ref.child(person.name).set({
<ide> lat: person.lat,
<del> lon: person.lon
<add> lon: person.lon,
<add> name : person.name
<ide> });
<ide> }
<ide>
<... | |
Java | apache-2.0 | 77545414e7e806d4846f05525cd7436139dc6fe1 | 0 | evigeant/liquibase,dbmanul/dbmanul,liquibase/liquibase,cleiter/liquibase,syncron/liquibase,maberle/liquibase,Vampire/liquibase,C0mmi3/liquibase,rkrzewski/liquibase,iherasymenko/liquibase,vbekiaris/liquibase,instantdelay/liquibase,lazaronixon/liquibase,maberle/liquibase,mwaylabs/liquibase,tjardo83/liquibase,vbekiaris/li... | package liquibase.ant;
import liquibase.CompositeFileOpener;
import liquibase.FileOpener;
import liquibase.FileSystemFileOpener;
import liquibase.Liquibase;
import liquibase.util.LiquibaseUtil;
import liquibase.database.Database;
import liquibase.database.DatabaseFactory;
import liquibase.database.HibernateDa... | core/src/java/liquibase/ant/BaseLiquibaseTask.java | package liquibase.ant;
import liquibase.CompositeFileOpener;
import liquibase.FileOpener;
import liquibase.FileSystemFileOpener;
import liquibase.Liquibase;
import liquibase.util.LiquibaseUtil;
import liquibase.database.Database;
import liquibase.database.DatabaseFactory;
import liquibase.database.HibernateDa... | 2212077 Ant task NPE on changeLogProperties (patch)
Applied patch
git-svn-id: a91d99a4c51940524e539abe295d6ea473345dd2@755 e6edf6fb-f266-4316-afb4-e53d95876a76
| core/src/java/liquibase/ant/BaseLiquibaseTask.java | 2212077 Ant task NPE on changeLogProperties (patch) Applied patch | <ide><path>ore/src/java/liquibase/ant/BaseLiquibaseTask.java
<ide> this.defaultSchemaName = defaultSchemaName;
<ide> }
<ide>
<del> public void addChangeLogProperty(ChangeLogProperty changeLogProperty) {
<add> public void addConfiguredChangeLogProperty(ChangeLogProperty changeLogProperty) {
<ide> ... | |
Java | apache-2.0 | 48aad1fd334e6f18675ce08cee589f3aef680e1a | 0 | real-logic/simple-binary-encoding,PKRoma/simple-binary-encoding,PKRoma/simple-binary-encoding,real-logic/simple-binary-encoding,PKRoma/simple-binary-encoding,PKRoma/simple-binary-encoding,PKRoma/simple-binary-encoding,real-logic/simple-binary-encoding,marksantos/simple-binary-encoding,real-logic/simple-binary-encoding,... | /* Copyright 2013-2017 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/IrGenerator.java | /* Copyright 2013-2017 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | [Java] Override description of type on field only if field has a description.
| sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/IrGenerator.java | [Java] Override description of type on field only if field has a description. | <ide><path>be-tool/src/main/java/uk/co/real_logic/sbe/xml/IrGenerator.java
<ide> {
<ide> builder.version(field.sinceVersion());
<ide> builder.deprecated(field.deprecated());
<del> builder.description(field.description());
<add>
<add> final String description = field... | |
JavaScript | apache-2.0 | 98d628ee3e8771c9a6384b91948509dbcb6e7ca6 | 0 | pairyo/pdf.js,tinderboxhq/pdf.js,Lhuihui/pdf.js,fkaelberer/pdf.js,Datacom/pdf.js,tinderboxhq/pdf.js,mysterlune/pdf.js,vivin/pdf.js,mbbaig/pdf.js,luiseduardohdbackup/pdf.js,brendandahl/pdf.js,kalley/pdf.js,Ricardh522/pdf.js,Ju2ender/pdf.js,Mendeley/pdf.js,happybelly/pdf.js,iamkhush/pdf.js,nawawi/pdf.js,CodingFabian/pdf.... | /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
'use strict';
var isWorker = (typeof window == 'undefined');
/**
* Maximum file size of the font.
*/
var kMaxFontFileSize = 300000;
/**
* Maximum time to wait for a f... | fonts.js | /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
'use strict';
var isWorker = (typeof window == 'undefined');
/**
* Maximum file size of the font.
*/
var kMaxFontFileSize = 300000;
/**
* Maximum time to wait for a f... | make cmap glyph offset a symbolic constant
| fonts.js | make cmap glyph offset a symbolic constant | <ide><path>onts.js
<ide> encoding: null,
<ide>
<ide> checkAndRepair: function font_checkAndRepair(name, font, properties) {
<add> var kCmapGlyphOffset = 0xFF;
<add>
<ide> function readTableEntry(file) {
<ide> // tag
<ide> var tag = file.getBytes(4);
<ide> var encoding = prope... | |
Java | apache-2.0 | 4dd7036013de670310c4968ff3ec403fff341cc4 | 0 | plutext/docx4j-export-FO | /*
* Copyright 2007-2008, Plutext Pty Ltd.
*
* This file is part of docx4j.
docx4j is 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/... | src/samples/docx4j/org/docx4j/samples/ConvertOutPDFviaXSLFO.java | /*
* Copyright 2007-2008, Plutext Pty Ltd.
*
* This file is part of docx4j.
docx4j is 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/... | accessibility notes
| src/samples/docx4j/org/docx4j/samples/ConvertOutPDFviaXSLFO.java | accessibility notes | <ide><path>rc/samples/docx4j/org/docx4j/samples/ConvertOutPDFviaXSLFO.java
<ide> import org.docx4j.Docx4J;
<ide> import org.docx4j.convert.out.FOSettings;
<ide> import org.docx4j.convert.out.fo.renderers.FORendererApacheFOP;
<add>import org.docx4j.fonts.BestMatchingMapper;
<ide> import org.docx4j.fonts.IdentityPlusMapp... | |
Java | lgpl-2.1 | 25d150b203748235bb5cbb7ea102473395064f4b | 0 | rhusar/wildfly,tomazzupan/wildfly,pferraro/wildfly,rhusar/wildfly,wildfly/wildfly,99sono/wildfly,pferraro/wildfly,99sono/wildfly,golovnin/wildfly,golovnin/wildfly,wildfly/wildfly,jstourac/wildfly,xasx/wildfly,iweiss/wildfly,pferraro/wildfly,xasx/wildfly,xasx/wildfly,tadamski/wildfly,jstourac/wildfly,tomazzupan/wildfly,... | /*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | ejb3/src/main/java/org/jboss/as/ejb3/component/session/SessionBeanComponentDescription.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | refactoring SessionBeanComponentDescription - removing code duplicities
| ejb3/src/main/java/org/jboss/as/ejb3/component/session/SessionBeanComponentDescription.java | refactoring SessionBeanComponentDescription - removing code duplicities | <ide><path>jb3/src/main/java/org/jboss/as/ejb3/component/session/SessionBeanComponentDescription.java
<ide>
<ide> /**
<ide> * @author Jaikiran Pai
<add> * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
<ide> */
<ide> public abstract class SessionBeanComponentDescription extends EJBComponentDescriptio... | |
Java | mit | 2cb47c5465ed746db5de3eb31094e5eba132155f | 0 | stephenc/jenkins,patbos/jenkins,oleg-nenashev/jenkins,MarkEWaite/jenkins,rsandell/jenkins,MarkEWaite/jenkins,pjanouse/jenkins,patbos/jenkins,patbos/jenkins,v1v/jenkins,MarkEWaite/jenkins,rsandell/jenkins,DanielWeber/jenkins,rsandell/jenkins,Vlatombe/jenkins,patbos/jenkins,godfath3r/jenkins,v1v/jenkins,pjanouse/jenkins,... | /*
* The MIT License
*
* Copyright (c) 2017, CloudBees, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | test/src/test/java/hudson/security/SecurityRealmTest.java | /*
* The MIT License
*
* Copyright (c) 2017, CloudBees, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | Remove Matchers wildcard
| test/src/test/java/hudson/security/SecurityRealmTest.java | Remove Matchers wildcard | <ide><path>est/src/test/java/hudson/security/SecurityRealmTest.java
<ide> import java.util.Collections;
<ide> import java.util.Date;
<ide> import java.util.Random;
<del>
<del>import static org.hamcrest.Matchers.*;
<ide>
<ide> import static org.hamcrest.CoreMatchers.is;
<ide> import static org.junit.Assert.assertEquals... | |
Java | apache-2.0 | 411988fd3448230a144510da5a6ea9c66c045914 | 0 | jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm | /**
* @license
* Copyright 2017 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
package foam.nanos.http;
import foam.box.HTTPAuthorizationType;
import foam.core.X;
import foam.core.XLocator;
import foam.dao.DAO;
import foam.nanos.app.AppConfig;
import foam.nanos.auth.*;
impo... | src/foam/nanos/http/AuthWebAgent.java | /**
* @license
* Copyright 2017 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
package foam.nanos.http;
import foam.box.HTTPAuthorizationType;
import foam.core.X;
import foam.core.XLocator;
import foam.dao.DAO;
import foam.nanos.app.AppConfig;
import foam.nanos.auth.*;
impo... | fix download document bugs (#4902)
| src/foam/nanos/http/AuthWebAgent.java | fix download document bugs (#4902) | <ide><path>rc/foam/nanos/http/AuthWebAgent.java
<ide> import javax.servlet.http.HttpServletRequest;
<ide> import javax.servlet.http.HttpServletResponse;
<ide> import org.bouncycastle.util.encoders.Base64;
<add>import foam.core.XFactory;
<add>import java.io.IOException;
<ide> import static foam.mlang.MLang.AND;
<ide> im... | |
JavaScript | mit | a5e7fc0a999660f98ba04d9c415a4c1249848af7 | 0 | ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt | 'use strict';
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
const { ExchangeError, ArgumentsRequired, AuthenticationError, InsufficientFunds, PermissionDenied, BadRequest, BadSymbol, RateLimitExceeded, InvalidOrder } = require ('./base/er... | js/bigone.js | 'use strict';
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
const { ExchangeError, ArgumentsRequired, AuthenticationError, InsufficientFunds, PermissionDenied, BadRequest, BadSymbol, RateLimitExceeded, InvalidOrder } = require ('./base/er... | bigone transfer refix/cleanup | js/bigone.js | bigone transfer refix/cleanup | <ide><path>s/bigone.js
<ide> 'future': 'CONTRACT',
<ide> 'swap': 'CONTRACT',
<ide> },
<del> 'accountsById': {
<del> 'SPOT': 'spot',
<del> 'FUND': 'funding',
<del> 'CONTRACT': 'future',
<del> ... | |
Java | apache-2.0 | 4deabde108e5433d81a80229e99194e3ec1af200 | 0 | hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity | package com.hubspot.singularity.scheduler;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import javax.inject.Inject;
import javax.inj... | SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityUpstreamChecker.java | package com.hubspot.singularity.scheduler;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import javax.inject.Inject;
import javax.inj... | styling
| SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityUpstreamChecker.java | styling | <ide><path>ingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityUpstreamChecker.java
<ide> public class SingularityUpstreamChecker {
<ide>
<ide> private static final Logger LOG = LoggerFactory.getLogger(SingularityUpstreamChecker.class);
<add> private static final Predicate<BaragonRequestSta... | |
Java | apache-2.0 | 90be47d264359f2c2b7e744d9d73e1d2c1ef72c8 | 0 | winhamwr/selenium,virajs/selenium-1,virajs/selenium-1,virajs/selenium-1,virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,winhamwr/selenium,virajs/selenium-1,virajs/selenium-1,virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium | /*
Copyright 2010 WebDriver committers
Copyright 2010 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 ... | java/client/src/org/openqa/selenium/net/PortProber.java | /*
Copyright 2010 WebDriver committers
Copyright 2010 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 ... | DanielWagnerHall: Eliminating divide by zero bug. Fixes issue 2646.
git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@14113 07704840-8298-11de-bf8c-fd130f914ac9
| java/client/src/org/openqa/selenium/net/PortProber.java | DanielWagnerHall: Eliminating divide by zero bug. Fixes issue 2646. | <ide><path>ava/client/src/org/openqa/selenium/net/PortProber.java
<ide> FIRST_PORT = 1024;
<ide> LAST_PORT = ephemeralRangeDetector.getLowestEphemeralPort() - 1;
<ide> }
<add> if (FIRST_PORT == LAST_PORT) {
<add> return FIRST_PORT;
<add> }
<ide> final int randomInt = random.... | |
Java | apache-2.0 | 94b0b8231707313dff68f62bf245799e0c7ffc28 | 0 | alainsahli/confluence-publisher,alainsahli/confluence-publisher,alainsahli/confluence-publisher,alainsahli/confluence-publisher | /*
* Copyright 2016-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 app... | asciidoc-confluence-publisher-converter/src/test/java/org/sahli/asciidoc/confluence/publisher/converter/AsciidocConfluencePageTest.java | /*
* Copyright 2016-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 app... | #145: add tests for blocks that support titles
| asciidoc-confluence-publisher-converter/src/test/java/org/sahli/asciidoc/confluence/publisher/converter/AsciidocConfluencePageTest.java | #145: add tests for blocks that support titles | <ide><path>sciidoc-confluence-publisher-converter/src/test/java/org/sahli/asciidoc/confluence/publisher/converter/AsciidocConfluencePageTest.java
<ide> }
<ide>
<ide> @Test
<add> public void renderConfluencePage_asciiDocWithListingAndTitle_returnsConfluencePageContentWithMacroWithNameNoFormatAndTitle() {
<ad... | |
Java | apache-2.0 | 7265e7d932c6452d5db2f1981596aa822f5c97ec | 0 | nicoulaj/checksum-maven-plugin | /*
* checksum-maven-plugin - http://checksum-maven-plugin.nicoulaj.net
* Copyright © 2010-2021 checksum-maven-plugin contributors
*
* 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
*
* ... | src/main/java/net/nicoulaj/maven/plugins/checksum/mojo/DependenciesMojo.java | /*
* checksum-maven-plugin - http://checksum-maven-plugin.nicoulaj.net
* Copyright © 2010-2021 checksum-maven-plugin contributors
*
* 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
*
* ... | enable transitive property
| src/main/java/net/nicoulaj/maven/plugins/checksum/mojo/DependenciesMojo.java | enable transitive property | <ide><path>rc/main/java/net/nicoulaj/maven/plugins/checksum/mojo/DependenciesMojo.java
<ide> *
<ide> * @since 1.0
<ide> */
<del> @Parameter( defaultValue = "false" )
<add> @Parameter( property = "transitive", defaultValue = "false" )
<ide> protected boolean transitive;
<ide>
<ide> /** | |
Java | bsd-2-clause | 1ae90b95cf9369514ac9f5a6b0b1e2bf2fde3239 | 0 | biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej | core/tools/src/main/java/imagej/core/tools/FloodFiller.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... | Delete old FloodFiller copy
This used to be revision r5299.
| core/tools/src/main/java/imagej/core/tools/FloodFiller.java | Delete old FloodFiller copy | <ide><path>ore/tools/src/main/java/imagej/core/tools/FloodFiller.java
<del>/*
<del> * #%L
<del> * ImageJ software for multidimensional image processing and analysis.
<del> * %%
<del> * Copyright (C) 2009 - 2012 Board of Regents of the University of
<del> * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max ... | ||
JavaScript | mit | a734d3659bcd5a026fd50ded6ab73bd9203dd9a4 | 0 | donghanji/pm | /*
* @version v.1.1.123.0
* @name Plugins Modules
* @author donghanji
* @datetime 2013-01-07
*
* @desc
//The aims of PM is that taking modules as the core to form a powerful plug-in library.
//This file is the core of PM,Modules.
//This is the first version of PM.
//The future of the... | module.js | /*
* @version v.1.1.123.0
* @name Plugins Modules
* @author donghanji
* @datetime 2013-01-07
*
* @desc
//The aims of PM is that taking modules as the core to form a powerful plug-in library.
//This file is the core of PM,Modules.
//This is the first version of PM.
//The future of the... | 优化处理module.dirs方法,使其原有设置如module.dirs({libs:'libs'}),即KV值相同的时候,可以不用在dirs中进行设置,可直接使用。
| module.js | 优化处理module.dirs方法,使其原有设置如module.dirs({libs:'libs'}),即KV值相同的时候,可以不用在dirs中进行设置,可直接使用。 | <ide><path>odule.js
<ide> var ret=reg.exec(alias[dir]),
<ide> res=alias[dir];
<ide> if(ret&& ret.length > 1){
<del> var r=dirs[ret[1]]||'';
<add> var r=dirs[ret[1]]||ret[1]||'';
<ide> res=res.replace(ret[0],r);
<ide> }
<ide> | |
JavaScript | apache-2.0 | e58c4cfe1cc08ad4b59aa8965753b50f32cbd9f7 | 0 | jbigos/LandSharkSwimAnalysis,jbigos/LandSharkSwimAnalysis | /*!
* Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
// jQuery to collapse the navbar on scroll
function collapseNavbar() {
if ($(".navbar").offset().top > 50) {
$("... | js/grayscale.js | /*!
* Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
// jQuery to collapse the navbar on scroll
function collapseNavbar() {
if ($(".navbar").offset().top > 50) {
$("... | replace grey.js
| js/grayscale.js | replace grey.js | <ide><path>s/grayscale.js
<ide> // jQuery for page scrolling feature - requires jQuery Easing plugin
<ide> $(function() {
<ide> $('a.page-scroll').bind('click', function(event) {
<add> console.log("When am I scrolling");
<ide> var $anchor = $(this);
<ide> $('html, body').stop().animate({
<ide... | |
Java | lgpl-2.1 | f5e28c5668114799e2d4e90a8e52b6948cec47b8 | 0 | ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror | /*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistribute it ... | src/jade/domain/FIPANames.java | /*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistribute it ... | Transformed into an interface
| src/jade/domain/FIPANames.java | Transformed into an interface | <ide><path>rc/jade/domain/FIPANames.java
<ide> * @version $Date$ $Revision$
<ide> **/
<ide>
<del>public class FIPANames {
<add>public interface FIPANames {
<ide> /**
<ide> * Set of constants that identifies the Codec of ACL Messages and
<ide> * that can be assigned via
<ide> * <code> ACLMessage.g... | |
Java | apache-2.0 | 47d32c904afd20c939384f7747878a587cd62aaf | 0 | mglukhikh/intellij-community,ivan-fedorov/intellij-community,Lekanich/intellij-community,petteyg/intellij-community,ivan-fedorov/intellij-community,clumsy/intellij-community,tmpgit/intellij-community,kool79/intellij-community,apixandru/intellij-community,xfournet/intellij-community,amith01994/intellij-community,fiterma... | package com.intellij.history.integration.ui.actions;
import com.intellij.history.core.ILocalVcs;
import com.intellij.history.integration.IdeaGateway;
import com.intellij.history.integration.LocalHistoryComponent;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;... | lvcs/impl/src/com/intellij/history/integration/ui/actions/LocalHistoryAction.java | package com.intellij.history.integration.ui.actions;
import com.intellij.history.core.ILocalVcs;
import com.intellij.history.integration.IdeaGateway;
import com.intellij.history.integration.LocalHistoryComponent;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;... | visibility update fix
| lvcs/impl/src/com/intellij/history/integration/ui/actions/LocalHistoryAction.java | visibility update fix | <ide><path>vcs/impl/src/com/intellij/history/integration/ui/actions/LocalHistoryAction.java
<ide> p.setEnabled(false);
<ide> return;
<ide> }
<add> p.setVisible(true);
<ide> p.setText(getText(e), true);
<ide> p.setEnabled(isEnabled(getVcs(e), getGateway(e), getFile(e), e));
<ide> } | |
Java | apache-2.0 | b38e48a3f1fa890adc1e2aaaf5b26f6153e202cf | 0 | Hipparchus-Math/hipparchus,apache/commons-math,apache/commons-math,apache/commons-math,Hipparchus-Math/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus,apache/commons-math,sdinot/hipparchus,sdinot/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus | /*
* Copyright 2004 The Apache Software 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 require... | src/test/org/apache/commons/math/fraction/FractionFormatTest.java | /*
* Copyright 2004 The Apache Software 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 require... | Removed jdk 1.4 dependency in FractionFormatTest.
git-svn-id: ba027325f5cbd8d0def94cfab53a7170165593ea@388870 13f79535-47bb-0310-9956-ffa450edef68
| src/test/org/apache/commons/math/fraction/FractionFormatTest.java | Removed jdk 1.4 dependency in FractionFormatTest. | <ide><path>rc/test/org/apache/commons/math/fraction/FractionFormatTest.java
<ide>
<ide> public void testNumeratorFormat() {
<ide> NumberFormat old = properFormat.getNumeratorFormat();
<del> NumberFormat nf = NumberFormat.getIntegerInstance();
<add> NumberFormat nf = NumberFormat.getInstance();
... | |
Java | apache-2.0 | c6e9b6717e29b4d8dcdcca4362f1748a2a550e6e | 0 | APriestman/autopsy,rcordovano/autopsy,wschaeferB/autopsy,dgrove727/autopsy,APriestman/autopsy,APriestman/autopsy,narfindustries/autopsy,esaunders/autopsy,wschaeferB/autopsy,narfindustries/autopsy,millmanorama/autopsy,APriestman/autopsy,APriestman/autopsy,wschaeferB/autopsy,esaunders/autopsy,wschaeferB/autopsy,rcordovan... | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2016 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | Core/src/org/sleuthkit/autopsy/timeline/ui/listvew/ListTimeline.java | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2016 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | add tooltips to Tag column
| Core/src/org/sleuthkit/autopsy/timeline/ui/listvew/ListTimeline.java | add tooltips to Tag column | <ide><path>ore/src/org/sleuthkit/autopsy/timeline/ui/listvew/ListTimeline.java
<ide> */
<ide> package org.sleuthkit.autopsy.timeline.ui.listvew;
<ide>
<del>import com.google.common.collect.FluentIterable;
<ide> import com.google.common.collect.Iterables;
<ide> import java.util.ArrayList;
<ide> import java.util.Arrays... | |
Java | apache-2.0 | f12a80ad3f1482fc6e7a74fc9bd420dadbb5e73f | 0 | isuru-c/LeakHawk,isuru-c/LeakHawk,isuru-c/LeakHawk,isuru-c/LeakHawk | /*
* Copyright 2017 SWIS
*
* 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... | src/main/java/EvidenceClassifierBolt.java | /*
* Copyright 2017 SWIS
*
* 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... | Evidence classifier dataset path added
| src/main/java/EvidenceClassifierBolt.java | Evidence classifier dataset path added | <ide><path>rc/main/java/EvidenceClassifierBolt.java
<ide>
<ide> private void buildClassifier() {
<ide> try{
<del> loader.setDirectory(new File("/home/sewwandi/Documents/"));
<add> loader.setDirectory(new File("~/IdeaProjects/LeakHawk/dataset/"));
<ide> dataRaw = loader.get... | |
Java | apache-2.0 | c53ba060fcb02288758fe2c4f284d6374017fc05 | 0 | opencb/opencga,j-coll/opencga,j-coll/opencga,j-coll/opencga,opencb/opencga,opencb/opencga,opencb/opencga,j-coll/opencga,opencb/opencga,opencb/opencga,j-coll/opencga,j-coll/opencga | /*
* Copyright 2015-2017 OpenCB
*
* 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 ... | opencga-catalog/src/main/java/org/opencb/opencga/catalog/managers/FileManager.java | /*
* Copyright 2015-2017 OpenCB
*
* 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 ... | catalog: Ensure parents of temporary folder exist when uploading a file.
| opencga-catalog/src/main/java/org/opencb/opencga/catalog/managers/FileManager.java | catalog: Ensure parents of temporary folder exist when uploading a file. | <ide><path>pencga-catalog/src/main/java/org/opencb/opencga/catalog/managers/FileManager.java
<ide> try {
<ide> if (!Files.exists(tempFilePath.getParent())) {
<ide> logger.debug("Creating temporal folder: {}", tempFilePath.getParent());
<del> Files.createDirectory(tempF... | |
Java | agpl-3.0 | 248fc440f182907a7f3b7fc1df7544502587d8fc | 0 | wiiam/Personal-Bot,wiiam/Personal-Bot,wiiaam/taylorswift.old,wiiaam/taylorswift.old,wiiam/taylorswift.old,wiiam/taylorswift.old | package bot;
import java.io.IOException;
import java.io.PrintStream;
import java.net.Socket;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.Provider;
import java.security.SecureRandom;
import java.security.Security;
import java.security.cert.Certificate... | bot/Server.java | package bot;
import java.io.IOException;
import java.io.PrintStream;
import java.net.Socket;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.security.Provider;
import java.security.SecureRandom;
import java.security.Security;
import java.security.cert.Certificate... | Split messages down to 300 chars each
| bot/Server.java | Split messages down to 300 chars each | <ide><path>ot/Server.java
<ide> }
<ide>
<ide> public static void send(String message){
<del> System.out.println("sending " + message);
<del> toserver.add(message.replaceAll("\r", "").replaceAll("\n", ""));
<add> message = message.replaceAll("\r", "").replaceAll("\n", "");
<add> String[] split = message.split("\... | |
Java | agpl-3.0 | 1416ad7208d1b0d13bb434945402dd745c84ff67 | 0 | mvdstruijk/flamingo,mvdstruijk/flamingo,B3Partners/flamingo,mvdstruijk/flamingo,flamingo-geocms/flamingo,B3Partners/flamingo,flamingo-geocms/flamingo,mvdstruijk/flamingo,flamingo-geocms/flamingo,flamingo-geocms/flamingo,B3Partners/flamingo,B3Partners/flamingo | /*
* Copyright (C) 2011 B3Partners B.V.
*
* 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 Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is di... | src/nl/b3p/viewer/config/app/Application.java | /*
* Copyright (C) 2011 B3Partners B.V.
*
* 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 Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is di... | check for level authorization before adding the id as a child.
| src/nl/b3p/viewer/config/app/Application.java | check for level authorization before adding the id as a child. | <ide><path>rc/nl/b3p/viewer/config/app/Application.java
<ide> }
<ide>
<ide> private void walkAppTreeForJSON(JSONObject levels, JSONObject appLayers, List selectedContent, Level l, boolean parentIsBackground, HttpServletRequest request) throws JSONException {
<del> if(!Authorizations.isLevelReadAutho... | |
Java | bsd-3-clause | c2ac76462a96c35af27edfc21648386a3beff2e1 | 0 | versionone/VersionOne.Integration.IntelliJ-IDEA,versionone/VersionOne.Integration.IntelliJ-IDEA | /*(c) Copyright 2010, VersionOne, Inc. All rights reserved. (c)*/
package com.versionone.integration.idea;
import com.intellij.openapi.editor.colors.ColorKey;
import com.intellij.openapi.editor.colors.EditorColorsManager;
import com.intellij.openapi.editor.colors.EditorColorsScheme;
import com.versionone.common.... | src/com/versionone/integration/idea/WorkItemTreeTableCellRenderer.java | /*(c) Copyright 2010, VersionOne, Inc. All rights reserved. (c)*/
package com.versionone.integration.idea;
import com.intellij.openapi.editor.colors.ColorKey;
import com.intellij.openapi.editor.colors.EditorColorsManager;
import com.intellij.openapi.editor.colors.EditorColorsScheme;
import com.versionone.common.... | fix: renderer would fail on Root element which is not Workitem but String
git-svn-id: 0e61b79a83f52b3fac5942690d0212c33487ecd7@36783 542498e7-56f8-f544-a0f2-a85913ac812a
| src/com/versionone/integration/idea/WorkItemTreeTableCellRenderer.java | fix: renderer would fail on Root element which is not Workitem but String | <ide><path>rc/com/versionone/integration/idea/WorkItemTreeTableCellRenderer.java
<ide> boolean leaf, int row,
<ide> boolean hasFocus) {
<ide>
<del> Workitem item = (Workitem) value;
<add> Object newValue =... | |
JavaScript | apache-2.0 | e7db89d0bc9572ac69441ace0a42fe4d11274264 | 0 | olirogers/openui5,SAP/openui5,cschuff/openui5,nzamani/openui5,SQCLabs/openui5,SAP/openui5,olirogers/openui5,nzamani/openui5,cschuff/openui5,SAP/openui5,SAP/openui5,SQCLabs/openui5,nzamani/openui5,olirogers/openui5,SQCLabs/openui5,cschuff/openui5 | /*!
* ${copyright}
*/
// Provides control sap.m.Dialog.
sap.ui.define(['jquery.sap.global', './Bar', './InstanceManager', './AssociativeOverflowToolbar', './ToolbarSpacer', './library', 'sap/ui/core/Control', 'sap/ui/core/IconPool', 'sap/ui/core/Popup', 'sap/ui/core/delegate/ScrollEnablement', 'sap/ui/core/theming/P... | src/sap.m/src/sap/m/Dialog.js | /*!
* ${copyright}
*/
// Provides control sap.m.Dialog.
sap.ui.define(['jquery.sap.global', './Bar', './InstanceManager', './AssociativeOverflowToolbar', './ToolbarSpacer', './library', 'sap/ui/core/Control', 'sap/ui/core/IconPool', 'sap/ui/core/Popup', 'sap/ui/core/delegate/ScrollEnablement', 'sap/ui/core/theming/P... | [INTERNAL] sap.m.Dialog: the content will no longer have size
Change-Id: I618b2f8d6d557ee7d0db5d83f3c44931f449d809
| src/sap.m/src/sap/m/Dialog.js | [INTERNAL] sap.m.Dialog: the content will no longer have size | <ide><path>rc/sap.m/src/sap/m/Dialog.js
<ide>
<ide> oPopup.open();
<ide>
<del> //resize handler ===========================================================================================
<del> var __delayTimer;
<del> jQuery(window).on('resize.sapMDialogWindowResize', function () {
<del> if (__delayTimer)... | |
JavaScript | apache-2.0 | 330452f1f01ecab2e5f60de0f33321f21ba49730 | 0 | netfishx/new_react_rockstar | 0951391c-2f85-11e5-88e8-34363bc765d8 | hello.js | 09495c92-2f85-11e5-938c-34363bc765d8 | 0951391c-2f85-11e5-88e8-34363bc765d8 | hello.js | 0951391c-2f85-11e5-88e8-34363bc765d8 | <ide><path>ello.js
<del>09495c92-2f85-11e5-938c-34363bc765d8
<add>0951391c-2f85-11e5-88e8-34363bc765d8 | |
Java | apache-2.0 | 2cd92a82e79595e22d2da53ac288e73b6d897876 | 0 | graben/activemq-artemis,tabish121/activemq-artemis,TomRoss/activemq-artemis,apache/activemq-artemis,apache/activemq-artemis,clebertsuconic/activemq-artemis,apache/activemq-artemis,TomRoss/activemq-artemis,graben/activemq-artemis,apache/activemq-artemis,tabish121/activemq-artemis,TomRoss/activemq-artemis,tabish121/activ... | /*
* 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 n... | artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.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 n... | This closes #4071
| artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java | This closes #4071 | <ide><path>rtemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java
<ide> if (properties.getSubject() != null) {
<ide> map.put(propertiesPrefix + "subject", properties.getSubject());
<ide> }
<add> if (properties.getReply... | |
JavaScript | mit | af11774664807e5ddee63ae5742b3c9c9153c2dc | 0 | sweavo/jiraMonkey | // ==UserScript==
// @name JIRA Quicksearch plus
// @namespace https://github.com/sweavo/jiraMonkey
// @version 1.0
// @description Quicksearch to use current project and unresolved only. Inspired by https://jira.atlassian.com/browse/JRA-15306
// @author sweavo@gmail.com
// @include /^... | jira_quicksearch_customize.js | // ==UserScript==
// @name JIRA Quicksearch plus
// @namespace https://github.com/sweavo/jiraMonkey
// @version 1.0
// @description Quicksearch to use current project and unresolved only. Inspired by https://jira.atlassian.com/browse/JRA-15306
// @author sweavo@gmail.com
// @include /^... | Tested and fixed numerical quicksearch
| jira_quicksearch_customize.js | Tested and fixed numerical quicksearch | <ide><path>ira_quicksearch_customize.js
<ide> // set your project name below.
<ide> var PROJECT_NAME="UPDATEME";
<ide>
<del>function dress_qs_as_jql( qs )
<del>{
<del> RE_INT= /^\d+$/;
<del> if ( RE_INT.test( qs ) )
<del> {
<del> return 'issueID = ' + qs + ' and project="' + PROJECT_NAME + '"';
<del> ... | |
Java | apache-2.0 | 47b5343a7516296c37fc1f29192341dcc8ed7d21 | 0 | UweTrottmann/SeriesGuide,UweTrottmann/SeriesGuide,epiphany27/SeriesGuide | package com.battlelancer.seriesguide;
import android.app.Activity;
import android.app.Application;
import android.content.ContentProvider;
import android.os.Build;
import android.os.StrictMode;
import android.os.StrictMode.ThreadPolicy;
import android.os.StrictMode.VmPolicy;
import com.battlelancer.seriesguide.modules... | SeriesGuide/src/main/java/com/battlelancer/seriesguide/SgApp.java | package com.battlelancer.seriesguide;
import android.app.Activity;
import android.app.Application;
import android.content.ContentProvider;
import android.os.Build;
import android.os.StrictMode;
import android.os.StrictMode.ThreadPolicy;
import android.os.StrictMode.VmPolicy;
import com.battlelancer.seriesguide.modules... | Do not crash on existing EventBus instance.
- https://fabric.io/seriesguide/android/apps/com.battlelancer.seriesguide/issues/57f541c70aeb16625b2c524c
- Looks like it can not be ensured that the EventBus instance is always gone when starting services. Might want to keep our own instance in the future inside SgApp.
| SeriesGuide/src/main/java/com/battlelancer/seriesguide/SgApp.java | Do not crash on existing EventBus instance. | <ide><path>eriesGuide/src/main/java/com/battlelancer/seriesguide/SgApp.java
<ide> import io.fabric.sdk.android.Fabric;
<ide> import net.danlew.android.joda.JodaTimeAndroid;
<ide> import org.greenrobot.eventbus.EventBus;
<add>import org.greenrobot.eventbus.EventBusException;
<ide> import timber.log.Timber;
<ide>
<ide> ... | |
Java | apache-2.0 | 94a3f90f4097ff3934591e22c5d63556b04fbf0f | 0 | arenadata/ambari,arenadata/ambari,alexryndin/ambari,alexryndin/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,arenadata/ambari,arenadata/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,alexryndin/ambari,arenadata/ambari,arena... | /**
* 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... | ambari-server/src/main/java/org/apache/ambari/server/state/services/MetricsRetrievalService.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... | AMBARI-18331 - JMX metric retrieval method may unnecessarily refresh metrics at a high rate (part2) (jonathanhurley)
| ambari-server/src/main/java/org/apache/ambari/server/state/services/MetricsRetrievalService.java | AMBARI-18331 - JMX metric retrieval method may unnecessarily refresh metrics at a high rate (part2) (jonathanhurley) | <ide><path>mbari-server/src/main/java/org/apache/ambari/server/state/services/MetricsRetrievalService.java
<ide> TimeUnit.MINUTES).build();
<ide>
<ide> // enable the TTL cache if configured; otherwise leave it as null
<del> int ttlSeconds = m_configuration.getMetricCacheTTLSeconds();
<add> int ttlSec... | |
Java | mit | cd70356abe578a369b3cb639358ea84428a17c39 | 0 | AncientMariner/ChessBoard,AncientMariner/ChessBoard | package org.xander.chessboard;
import org.junit.Ignore;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.as... | src/test/java/org/xander/chessboard/ChessboardTest.java | package org.xander.chessboard;
import org.junit.Ignore;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.as... | small board test
| src/test/java/org/xander/chessboard/ChessboardTest.java | small board test | <ide><path>rc/test/java/org/xander/chessboard/ChessboardTest.java
<ide> }
<ide> }
<ide>
<add> @Test
<add> public void smallBoard() {
<add> Map<String, Integer> figureQuantityMap = new HashMap<>();
<add> figureQuantityMap.put(KING.toString(), 1);
<add> figureQuantityMap.put(QUEEN.... | |
Java | epl-1.0 | 99317b8d4a47ce3ed24303353acde0175f52ea5b | 0 | lttng/lttng-scope,lttng/lttng-scope,lttng/lttng-scope,alexmonthy/lttng-scope,lttng/lttng-scope,alexmonthy/lttng-scope,alexmonthy/lttng-scope | /*******************************************************************************
* Copyright (c) 2012, 2014 Ericsson
*
* 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 a... | tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java | /*******************************************************************************
* Copyright (c) 2012, 2014 Ericsson
*
* 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 a... | tmf: Update event properties to use aspects
By using all defined aspects as property descriptors, we can
do away with some of the hard-coded ones, like timestamp and
even type.
Event content could keep its own descriptor though, since it
puts the event fields into a nice sub-tree.
This also makes sure that any extra... | tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java | tmf: Update event properties to use aspects | <ide><path>mf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java
<ide>
<ide> import java.util.ArrayList;
<ide> import java.util.List;
<del>
<add>import java.util.Optional;
<add>import java.util.stream.Stream;
<add>
<add>import org.eclipse.jdt.annotation.NonNu... | |
Java | mit | f417410cfdba982d2b30f7c242d03dc0bf7e91c3 | 0 | ihongs/HongsCORE,ihongs/HongsCORE,ihongs/HongsCORE | package io.github.ihongs.dh.search;
import io.github.ihongs.Cnst;
import io.github.ihongs.HongsException;
import io.github.ihongs.action.ActionHelper;
import io.github.ihongs.action.ActionRunner;
import io.github.ihongs.action.FormSet;
import io.github.ihongs.action.anno.Action;
import io.github.ihongs.action.anno.Pre... | hongs-serv-search/src/main/java/io/github/ihongs/dh/search/SearchAction.java | package io.github.ihongs.dh.search;
import io.github.ihongs.Cnst;
import io.github.ihongs.HongsException;
import io.github.ihongs.action.ActionHelper;
import io.github.ihongs.action.ActionRunner;
import io.github.ihongs.action.FormSet;
import io.github.ihongs.action.anno.Action;
import io.github.ihongs.action.anno.Pre... | 重写统计方法 | hongs-serv-search/src/main/java/io/github/ihongs/dh/search/SearchAction.java | 重写统计方法 | <ide><path>ongs-serv-search/src/main/java/io/github/ihongs/dh/search/SearchAction.java
<ide>
<ide> import java.util.ArrayList;
<ide> import java.util.Arrays;
<del>import java.util.HashMap;
<ide> import java.util.HashSet;
<ide> import java.util.List;
<ide> import java.util.Map; | |
JavaScript | mit | b91c87de1954576ecd6839323eda8cd666a4118f | 0 | grimor/sculptgl,stephomi/sculptgl,nonconforme/sculptgl,beni55/sculptgl,ytiurin/sculptgl,stephomi/sculptgl,ytiurin/sculptgl,anteaterho/sculptgl,grimor/sculptgl,anteaterho/sculptgl,nonconforme/sculptgl,beni55/sculptgl | define([
'lib/glMatrix',
'misc/Utils',
'math3d/Geometry',
'editor/tools/Smooth'
], function (glm, Utils, Geometry, Smooth) {
'use strict';
var vec3 = glm.vec3;
var Subdivision = function (mesh) {
this.mesh_ = mesh;
this.linear_ = false; // linear subdivision
this.verticesMap_ = new Map(); /... | src/mesh/dynamic/Subdivision.js | define([
'lib/glMatrix',
'misc/Utils',
'math3d/Geometry',
'editor/tools/Smooth'
], function (glm, Utils, Geometry, Smooth) {
'use strict';
var vec3 = glm.vec3;
var Subdivision = function (mesh) {
this.mesh_ = mesh;
this.linear_ = false; // linear subdivision
this.verticesMap_ = new Map(); /... | Fixes non linear subdivision vertex computation
| src/mesh/dynamic/Subdivision.js | Fixes non linear subdivision vertex computation | <ide><path>rc/mesh/dynamic/Subdivision.js
<ide> var n1n2x = n1x + n2x;
<ide> var n1n2y = n1y + n2y;
<ide> var n1n2z = n1z + n2z;
<del> var len = 1.0 / Math.sqrt(n1n2x * n1n2x + n1n2y * n1n2y + n1n2z * n1n2z);
<ide> id = iNewVer * 3;
<del> nAr[id] = n1n2x = n1n2x * len;
<del> nAr[i... | |
Java | mit | 68908fa9c815242d31f0cf1f8b1dde94ad47a012 | 0 | restfb/restfb | /*
* Copyright (c) 2010-2015 Mark Allen.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... | source/library/com/restfb/types/Video.java | /*
* Copyright (c) 2010-2015 Mark Allen.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... | Issue #209 - published field and scheduled_publish_time field added
| source/library/com/restfb/types/Video.java | Issue #209 - published field and scheduled_publish_time field added | <ide><path>ource/library/com/restfb/types/Video.java
<ide> @Facebook
<ide> private Integer length;
<ide>
<add> /**
<add> * Whether a post about this video is published.
<add> *
<add> * This field is only accessible in Graph API 2.3 or later.
<add> *
<add> * @return whether a post about this video is p... | |
Java | mit | 1c46299abd0d38bb2f69d02ae4f323d857f1d6d6 | 0 | nongfenqi/nexus3-rundeck-plugin,nongfenqi/nexus3-rundeck-plugin | package com.nongfenqi.nexus.plugin.rundeck;
import com.google.common.base.Supplier;
import org.apache.http.client.utils.DateUtils;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.index.query.BoolQueryBuilder;
import org.elasticsearch.search.SearchHit;
import org.elasticsearch.search.sor... | src/main/java/com/nongfenqi/nexus/plugin/rundeck/RundeckMavenResource.java | package com.nongfenqi.nexus.plugin.rundeck;
import com.google.common.base.Supplier;
import org.apache.http.client.utils.DateUtils;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.index.query.BoolQueryBuilder;
import org.elasticsearch.search.SearchHit;
import org.elasticsearch.search.sor... | version bug
| src/main/java/com/nongfenqi/nexus/plugin/rundeck/RundeckMavenResource.java | version bug | <ide><path>rc/main/java/com/nongfenqi/nexus/plugin/rundeck/RundeckMavenResource.java
<ide> @Path("version")
<ide> @Produces(APPLICATION_JSON)
<ide> public List<RundeckXO> version(
<del> @DefaultValue("10") @QueryParam("step") int limit,
<add> @DefaultValue("10") @QueryParam("l") int li... | |
Java | agpl-3.0 | 4b11bdb7b292547d0424eba245dc4f67475901ea | 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 | 5bd386ec-2e61-11e5-9284-b827eb9e62be | hello.java | 5bce0442-2e61-11e5-9284-b827eb9e62be | 5bd386ec-2e61-11e5-9284-b827eb9e62be | hello.java | 5bd386ec-2e61-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>5bce0442-2e61-11e5-9284-b827eb9e62be
<add>5bd386ec-2e61-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 6f0ea0cddf1bbc64c10fc6c7598cd320e46a5063 | 0 | SeleniumHQ/buck,clonetwin26/buck,zhan-xiong/buck,Addepar/buck,k21/buck,romanoid/buck,shs96c/buck,shs96c/buck,LegNeato/buck,LegNeato/buck,dsyang/buck,shybovycha/buck,LegNeato/buck,dsyang/buck,dsyang/buck,nguyentruongtho/buck,marcinkwiatkowski/buck,shybovycha/buck,zhan-xiong/buck,clonetwin26/buck,brettwooldridge/buck,Sel... | /*
* Copyright 2013-present Facebook, 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... | src/com/facebook/buck/cxx/CxxDescriptionEnhancer.java | /*
* Copyright 2013-present Facebook, 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... | Use BuildRuleResolver.computeIfAbsentThrowing in CxxDescriptionEnhancer
Summary: Convert getRuleOptional + addToIndex to use the newly introduced BuildRuleResolver.computeIfAbsent.
Test Plan: CI
Reviewed By: dinhviethoa
fbshipit-source-id: 92075a4
| src/com/facebook/buck/cxx/CxxDescriptionEnhancer.java | Use BuildRuleResolver.computeIfAbsentThrowing in CxxDescriptionEnhancer | <ide><path>rc/com/facebook/buck/cxx/CxxDescriptionEnhancer.java
<ide> untypedTarget, headerVisibility, cxxPlatform.getFlavor());
<ide>
<ide> // Check the cache...
<del> Optional<BuildRule> rule = ruleResolver.getRuleOptional(headerSymlinkTreeTarget);
<del> if (rule.isPresent()) {
<del> Preco... | |
Java | apache-2.0 | eaa5cd449a75239726a9c59b587aeabbfc4d6840 | 0 | eg-eng/Priam,giosg/Priam,scottmcmaster/Priam,Clearleap/Priam,Netflix/Priam,vinaykumarchella/Priam,vinaykumarchella/Priam,pqdev/Priam,muddman/Priam | package com.netflix.priam.defaultimpl;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Lists;
import com.google.inject.Inject;
import org.apache.commons.collections.CollectionUtils... | priam/src/main/java/com/netflix/priam/defaultimpl/StandardTuner.java | package com.netflix.priam.defaultimpl;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Lists;
import com.google.inject.Inject;
import org.apache.commons.collections.CollectionUtils... | backporting fix for writing auth values to yaml.
Also fixed the 1.1 yaml name 'authority' to 'authorizer' (changed in 1.2)
| priam/src/main/java/com/netflix/priam/defaultimpl/StandardTuner.java | backporting fix for writing auth values to yaml. Also fixed the 1.1 yaml name 'authority' to 'authorizer' (changed in 1.2) | <ide><path>riam/src/main/java/com/netflix/priam/defaultimpl/StandardTuner.java
<ide> map.put("max_hint_window_in_ms", config.getMaxHintWindowInMS());
<ide> map.put("hinted_handoff_throttle_delay_in_ms", config.getHintHandoffDelay());
<ide> map.put("authenticator", config.getAuthenticator());
<de... | |
Java | epl-1.0 | 5efe613ac2e02f80626ef97e99242a2862c48a3c | 0 | ChangeOrientedProgrammingEnvironment/eclipseReplayer,ChangeOrientedProgrammingEnvironment/eclipseRecorder,ChangeOrientedProgrammingEnvironment/eclipseRecorder | package edu.oregonstate.cope.clientRecorder;
import java.util.regex.Pattern;
import org.json.simple.JSONObject;
import edu.oregonstate.cope.clientRecorder.fileOps.FileProvider;
/**
* Defines and implements JSON event persistence format. A FileManager must be
* set in order for the ChangePersister to function.
* ... | edu.oregonstate.cope.clientrecorder/src/edu/oregonstate/cope/clientRecorder/ChangePersister.java | package edu.oregonstate.cope.clientRecorder;
import java.util.regex.Pattern;
import org.json.simple.JSONObject;
import edu.oregonstate.cope.clientRecorder.fileOps.FileProvider;
/**
* Persists JSON objects. This class is a Singleton. A FileManager must be set
* in order for the ChangePersister to function.
*/
pub... | Code cleanup
Rename. Comments.
| edu.oregonstate.cope.clientrecorder/src/edu/oregonstate/cope/clientRecorder/ChangePersister.java | Code cleanup | <ide><path>du.oregonstate.cope.clientrecorder/src/edu/oregonstate/cope/clientRecorder/ChangePersister.java
<ide> import edu.oregonstate.cope.clientRecorder.fileOps.FileProvider;
<ide>
<ide> /**
<del> * Persists JSON objects. This class is a Singleton. A FileManager must be set
<del> * in order for the ChangePersister ... | |
Java | lgpl-2.1 | 655489c543e98be1391ce5bb8a0fb63af1407d00 | 0 | julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine | package org.intermine.api.tracker;
/*
* Copyright (C) 2002-2011 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.... | intermine/api/test/src/org/intermine/api/tracker/TrackerLoggerTest.java | package org.intermine.api.tracker;
/*
* Copyright (C) 2002-2011 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.... | Fixed thread synchronisation issue.
Former-commit-id: 4f1d01c543ce5c6838ca43a27da5db540e2313a2 | intermine/api/test/src/org/intermine/api/tracker/TrackerLoggerTest.java | Fixed thread synchronisation issue. | <ide><path>ntermine/api/test/src/org/intermine/api/tracker/TrackerLoggerTest.java
<ide> Connection con;
<ide> Queue<Track> trackQueue;
<ide> TrackerLogger trackerLogger = null;
<add> private int count = 100;
<ide>
<ide> protected void setUp() throws Exception {
<ide> super.setUp();
<ide> ... | |
Java | apache-2.0 | 265e65b8f199d46f0c199b76b1eaf01c54ead43b | 0 | cosmocode/cosmocode-commons | /**
* Copyright 2010 CosmoCode GmbH
*
* 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... | src/test/java/de/cosmocode/commons/OverlapModeGeneralTest.java | /**
* Copyright 2010 CosmoCode GmbH
*
* 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... | added reverse test, fixed typo
| src/test/java/de/cosmocode/commons/OverlapModeGeneralTest.java | added reverse test, fixed typo | <ide><path>rc/test/java/de/cosmocode/commons/OverlapModeGeneralTest.java
<ide> final TimePeriod a = new DayPrecisionTimePeriod(2L * 365L, 200L * 365L);
<ide> final TimePeriod b = Dates.timePeriod(yearFifty, today);
<ide>
<del> final boolean expexted = true;
<add> final boolean expected = ... | |
Java | apache-2.0 | d8f0ca3bdf783b00ea7360eed51bd49f5e8a7f8b | 0 | abhinavmishra14/sigar,kaustavha/sigar,scouter-project/sigar,ruleless/sigar,monicasarbu/sigar,ruleless/sigar,scouter-project/sigar,kaustavha/sigar,cit-lab/sigar,cit-lab/sigar,abhinavmishra14/sigar,lsjeng/sigar,lsjeng/sigar,ChunPIG/sigar,racker/sigar,boundary/sigar,hyperic/sigar,abhinavmishra14/sigar,monicasarbu/sigar,ru... | package net.hyperic.sigar;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.File;
import java.io.FileReader;
import java.util.Properties;
import java.util.StringTokenizer;
public class OperatingSystem {
private static final String ETC =
System.getProperty("sigar.etc.dir", "/etc"... | bindings/java/src/net/hyperic/sigar/OperatingSystem.java | package net.hyperic.sigar;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.File;
import java.io.FileReader;
import java.util.Properties;
import java.util.StringTokenizer;
public class OperatingSystem {
private static final String ETC =
System.getProperty("sigar.etc.dir", "/etc"... | only create one instance
| bindings/java/src/net/hyperic/sigar/OperatingSystem.java | only create one instance | <ide><path>indings/java/src/net/hyperic/sigar/OperatingSystem.java
<ide> private static final String ETC =
<ide> System.getProperty("sigar.etc.dir", "/etc") + "/";
<ide>
<add> private static OperatingSystem instance = null;
<add>
<ide> private String name;
<ide> private String version;
<ide> ... | |
Java | mit | 3605b85acaa8468b2c22aa793bd73a8268b69f7d | 0 | tobsinger/dreamy | package de.dreamy;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.ApplicationInfo;
import android.graphics.Point;
import android.ne... | app/src/main/java/de/dreamy/DreamyDaydream.java | package de.dreamy;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.ApplicationInfo;
import android.graphics.Point;
import android.ne... | fetch the current battery level on start. only attach broadcast manager for notifications if notifications should be displayed
| app/src/main/java/de/dreamy/DreamyDaydream.java | fetch the current battery level on start. only attach broadcast manager for notifications if notifications should be displayed | <ide><path>pp/src/main/java/de/dreamy/DreamyDaydream.java
<ide> carrierTextView.setText(getCarrierName());
<ide> }
<ide>
<add> if (settings.isShowBatteryStatus()) {
<add> updateBatteryLevel();
<add> }
<ide>
<ide> // Debug.waitForDebugger();
<ide> }
<ide> ... | |
Java | agpl-3.0 | b24a47cc3041a0fecd961717509107994d762799 | 0 | dfsilva/actor-platform,dfsilva/actor-platform,ufosky-server/actor-platform,ufosky-server/actor-platform,EaglesoftZJ/actor-platform,ufosky-server/actor-platform,dfsilva/actor-platform,actorapp/actor-platform,dfsilva/actor-platform,actorapp/actor-platform,actorapp/actor-platform,EaglesoftZJ/actor-platform,dfsilva/actor-p... | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
package im.actor.core.entity;
import com.google.j2objc.annotations.Property;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import im.actor... | actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/entity/Group.java | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
package im.actor.core.entity;
import com.google.j2objc.annotations.Property;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import im.actor... | fix(core): fix editAvatar
| actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/entity/Group.java | fix(core): fix editAvatar | <ide><path>ctor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/entity/Group.java
<ide> w.getId(),
<ide> w.getAccessHash(),
<ide> w.getTitle(),
<del> w.getAvatar(),
<add> avatar,
<ide> w.getMembersCount(),
<ide> ... | |
JavaScript | apache-2.0 | 9a4eb5e485ebbbf01aa1dbe84c1119e017c246b7 | 0 | dlockhart/web-caching-presentation,dlockhart/web-caching-presentation | var Diagram = require('./diagram'),
React = require('react'), // eslint-disable-line no-unused-vars
ReactDOM = require('react-dom'),
Slide = require('./slide'),
Step = require('./slide-step');
var slides = [
<Slide type="title">
<Step>
<h1>Web Caching</h1>
</Step>
<Step>
<em>Daryl McMillan and Dave Lo... | src/app.js | var Diagram = require('./diagram'),
React = require('react'), // eslint-disable-line no-unused-vars
ReactDOM = require('react-dom'),
Slide = require('./slide'),
Step = require('./slide-step');
var slides = [
<Slide type="title">
<Step>
<h1>Web Caching</h1>
</Step>
<Step>
<em>Daryl McMillan and Dave Lo... | placeholder slides for summary, tips and questions
| src/app.js | placeholder slides for summary, tips and questions | <ide><path>rc/app.js
<ide> </Slide>,
<ide> <Slide>
<ide> <Diagram data={require('./diagrams/6-all-together.json')} />
<add> </Slide>,
<add> <Slide>
<add> <h1>Summary</h1>
<add> <p>
<add> List out a bullet of each thing learned.
<add> </p>
<add> </Slide>,
<add> <Slide>
<add> <h1>Tips</h1>
<add> <p>
<add> Li... | |
Java | mit | 806b8432af996d9f54d24251223c77cb8a47b218 | 0 | wzgiceman/RxjavaRetrofitDemo-string-master,wzgiceman/RxjavaRetrofitDemo-string-master | package com.wzgiceman.rxretrofitlibrary.retrofit_rx.exception;
/**
* 运行时自定义错误信息
* 自由添加错误,需要自己扩展
* Created by WZG on 2016/7/16.
*/
public class HttpTimeException extends RuntimeException {
/*未知错误*/
public static final int UNKOWN_ERROR = 0x1002;
/*本地无缓存错误*/
public static final int NO_CHACHE_ERROR = 0... | rxretrofitlibrary/src/main/java/com/wzgiceman/rxretrofitlibrary/retrofit_rx/exception/HttpTimeException.java | package com.wzgiceman.rxretrofitlibrary.retrofit_rx.exception;
/**
* 运行时自定义错误信息
* 自由添加错误,需要自己扩展
* Created by WZG on 2016/7/16.
*/
public class HttpTimeException extends RuntimeException {
/*未知错误*/
public static final int UNKOWN_ERROR = 0x1002;
/*本地无缓存错误*/
public static final int NO_CHACHE_ERROR = 0... | 加入异常的统一判断
版本信息2.0
| rxretrofitlibrary/src/main/java/com/wzgiceman/rxretrofitlibrary/retrofit_rx/exception/HttpTimeException.java | 加入异常的统一判断 版本信息2.0 | <ide><path>xretrofitlibrary/src/main/java/com/wzgiceman/rxretrofitlibrary/retrofit_rx/exception/HttpTimeException.java
<ide> public static final int UNKOWN_ERROR = 0x1002;
<ide> /*本地无缓存错误*/
<ide> public static final int NO_CHACHE_ERROR = 0x1003;
<del> /*缓存过去错误*/
<add> /*缓存过时错误*/
<ide> public stati... | |
JavaScript | mit | be971fb69ebc7b95a5e554330fc48133dacf59d3 | 0 | fadieh/javascript_rockpaperscissors | describe('Rock Paper Scissors', function () {
// // // // // // // GESTURES TEST // // // // // // //
describe('Gestures', function () {
it ('Rock', function () {
rock = new Rock
expect(rock.type).toEqual('Rock')
});
it ('Scissors', function (){
scissors = new Scissors
expect(scissors.type).toEqu... | spec/rockpaperscissors_spec.js | describe('Rock Paper Scissors', function () {
describe('Gestures', function () {
it ('Rock', function () {
rock = new Rock
expect(rock.type).toEqual('Rock')
})
it ('Scissors', function (){
scissors = new Scissors
expect(scissors.type).toEqual('Scissors')
})
it ('Paper', function () {
paper... | Added rules testing
| spec/rockpaperscissors_spec.js | Added rules testing | <ide><path>pec/rockpaperscissors_spec.js
<ide> describe('Rock Paper Scissors', function () {
<add>
<add>// // // // // // // GESTURES TEST // // // // // // //
<ide>
<ide> describe('Gestures', function () {
<ide>
<ide> it ('Rock', function () {
<ide> rock = new Rock
<ide> expect(rock.type).toEqual('Rock')
<d... | |
JavaScript | mit | 378337eec1cd298da5e0b0ce2e5c75a83d48a5cd | 0 | locaweb/locawebstyle,diegoeis/locawebstyle,diegoeis/locawebstyle,deividmarques/locawebstyle,MaizerGomes/locawebstyle,EveraldoReis/locawebstyle,MaizerGomes/locawebstyle,kemelzaidan/locawebstyle,kemelzaidan/locawebstyle,EveraldoReis/locawebstyle,locaweb/locawebstyle,deividmarques/locawebstyle,EveraldoReis/locawebstyle,ke... | describe("Popover: ", function() {
beforeEach(function() {
loadFixtures('popover_fixture.html');
locastyle.popover.init();
});
afterEach(function() {
locastyle.popover.destroyPopover();
});
describe("Popover creation", function() {
it("Should create a popover on click event", function() {
... | spec/javascripts/popover_spec.js | describe("Popover: ", function() {
beforeEach(function() {
loadFixtures('popover_fixture.html');
locastyle.popover.init();
});
afterEach(function() {
locastyle.popover.destroyPopover();
});
describe("Popover creation", function() {
it("Should create a popover on click event", function() {
... | test custom event to open popover | spec/javascripts/popover_spec.js | test custom event to open popover | <ide><path>pec/javascripts/popover_spec.js
<ide> expect($("#mypopovervisible .ls-popover")).not.toExist();
<ide> });
<ide>
<add> it("should oepn popover when event ls.popoverOpen is triggered", function() {
<add> $('[data-ls-module="popover"]').trigger("ls.popoverOpen");
<add> expect($(".ls-popo... | |
JavaScript | bsd-2-clause | f5ed42bc50fbcf198e1b71865df1831d9237c68c | 0 | psychobunny/nodebb-plugin-cash,Linux-statt-Windows/nodebb-plugin-cash,rbeer/nodebb-plugin-cash | var fs = require('fs'),
path = require('path'),
nconf = require('nconf'),
meta = require('../../src/meta'),
user = require('../../src/user'),
websockets = require('../../src/socket.io/index.js'),
templates = module.parent.require('templates.js');
var constants = Object.freeze({
'name': "Cash MOD",
'admin': {
... | library.js | var fs = require('fs'),
path = require('path'),
nconf = require('nconf'),
meta = require('../../src/meta'),
user = require('../../src/user'),
websockets = require('../../src/socket.io/index.js'),
templates = module.parent.require('templates.js');
var constants = Object.freeze({
'name': "Cash MOD",
'admin': {
... | fixed router issue
| library.js | fixed router issue | <ide><path>ibrary.js
<ide> }
<ide>
<ide> Cash.init = function(params, callback) {
<del> var app = params.app,
<add> var app = params.router,
<ide> middleware = params.middleware,
<ide> controllers = params.controllers;
<ide> | |
JavaScript | mit | 578beefb197abcb0c7605cec078733c56e757960 | 0 | bogoquiz/trendtwitter,bogoquiz/trendtwitter,bogoquiz/trendtwitter | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
Customer = mongoose.model('Customer'),
_ = require('lodash'),
Twitter = require('twitter'),
config = require('../../config/config'),
User = mongoose.model('User'),
Country = mo... | app/controllers/customers.server.controller.js | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
Customer = mongoose.model('Customer'),
_ = require('lodash'),
Twitter = require('twitter'),
config = require('../../config/config'),
User = mongoose.model('User'),
Country = mo... | Update customers.server.controller.js | app/controllers/customers.server.controller.js | Update customers.server.controller.js | <ide><path>pp/controllers/customers.server.controller.js
<ide>
<ide> Customer.find({user: user}, function(err, links){
<ide> if (x<links.length){
<del> trend = trend + ' http://trendmedia.herokuapp.com #FAIL' + ' http://youtu.be/' + links[x].videos.id.videoId;
<add> ... | |
Java | mit | 94168e2ccda9641ddc215d2dc6ae0575ac373f79 | 0 | hpautonomy/find,hpe-idol/find,hpe-idol/java-powerpoint-report,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpe-idol/find,hpe-idol/find,hpe-idol/find,hpautonomy/find,hpe-idol/java-powerpoint-report,hpautonomy/find | package com.autonomy.abc.search;
import com.autonomy.abc.config.ABCTestBase;
import com.autonomy.abc.config.TestConfig;
import com.autonomy.abc.selenium.config.ApplicationType;
import com.autonomy.abc.selenium.element.DatePicker;
import com.autonomy.abc.selenium.menu.NavBarTabId;
import com.autonomy.abc.selenium.menu.... | integration-tests-common/src/test/java/com/autonomy/abc/search/SearchPageITCase.java | package com.autonomy.abc.search;
import com.autonomy.abc.config.ABCTestBase;
import com.autonomy.abc.config.TestConfig;
import com.autonomy.abc.selenium.config.ApplicationType;
import com.autonomy.abc.selenium.element.DatePicker;
import com.autonomy.abc.selenium.menu.NavBarTabId;
import com.autonomy.abc.selenium.menu.... | test base
| integration-tests-common/src/test/java/com/autonomy/abc/search/SearchPageITCase.java | test base | <ide><path>ntegration-tests-common/src/test/java/com/autonomy/abc/search/SearchPageITCase.java
<ide> import com.autonomy.abc.selenium.page.promotions.PromotionsPage;
<ide> import com.autonomy.abc.selenium.page.search.SearchBase;
<ide> import com.autonomy.abc.selenium.page.search.SearchPage;
<add>import com.autonomy.abc... | |
JavaScript | mit | fb21d32c44465b92c35a7ed32353ecc18991ff4c | 0 | mschinis/ember-cli,akatov/ember-cli,EricSchank/ember-cli,johnotander/ember-cli,kriswill/ember-cli,cibernox/ember-cli,gfvcastro/ember-cli,selvagsz/ember-cli,samselikoff/ember-cli,princeofdarkness76/ember-cli,slindberg/ember-cli,alefteris/ember-cli,supabok/ember-cli,mattmarcum/ember-cli,mohlek/ember-cli,taras/ember-cli,e... | 'use strict';
var assert = require('../helpers/assert');
var Command = require('../../lib/command');
var command;
var called = false;
var ui = {};
beforeEach(function() {
command = new Command({
name: 'fake-command',
run: function() {}
});
command.leek = {
track: function() {
called = true;
... | tests/unit/leek-test.js | 'use strict';
var assert = require('../helpers/assert');
var Command = require('../../lib/command');
var command;
var called = false;
var ui = {};
beforeEach(function() {
command = new Command({
name: 'fake-command',
run: function() {}
});
command.leek = {
track: function() {
called = true;
... | fixed per stefanpenner feedback
| tests/unit/leek-test.js | fixed per stefanpenner feedback | <ide><path>ests/unit/leek-test.js
<ide> var assert = require('../helpers/assert');
<ide> var Command = require('../../lib/command');
<ide> var command;
<del>var called = false;
<add>var called = false;
<ide> var ui = {};
<ide>
<ide> beforeEach(function() { | |
Java | mit | bb675f46fa9a294270215bc28f782ad219237a47 | 0 | cBioPortal/genome-nexus,genome-nexus/genome-nexus,cBioPortal/genome-nexus,genome-nexus/genome-nexus,cBioPortal/genome-nexus | package org.cbioportal.genome_nexus.service.internal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
... | service/src/main/java/org/cbioportal/genome_nexus/service/internal/MyVariantInfoServiceImpl.java | package org.cbioportal.genome_nexus.service.internal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
... | fix my variant info missing in BRCA2 mutations
| service/src/main/java/org/cbioportal/genome_nexus/service/internal/MyVariantInfoServiceImpl.java | fix my variant info missing in BRCA2 mutations | <ide><path>ervice/src/main/java/org/cbioportal/genome_nexus/service/internal/MyVariantInfoServiceImpl.java
<ide> myVariantInfos = this.getMyVariantInfoByMyVariantInfoVariant(queryVariants);
<ide> // manually set the original hgvs variant field
<ide> for (MyVariantInfo myVariantInfo: ... | |
Java | apache-2.0 | 76c809a78b929b7e4a7652a38da57641f0f602fb | 0 | Erudika/scoold,Erudika/scoold,Erudika/scoold,Erudika/scoold | /*
* Copyright 2013-2022 Erudika. https://erudika.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 appli... | src/main/java/com/erudika/scoold/controllers/AdminController.java | /*
* Copyright 2013-2022 Erudika. https://erudika.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 appli... | fixed bug which caused user duplication when importing data from SO
| src/main/java/com/erudika/scoold/controllers/AdminController.java | fixed bug which caused user duplication when importing data from SO | <ide><path>rc/main/java/com/erudika/scoold/controllers/AdminController.java
<ide>
<ide> Para.asyncExecute(() -> {
<ide> Map<String, String> comments2authors = new LinkedHashMap<>();
<del> Map<String, String> accounts2emails = new LinkedHashMap<>();
<add> Map<String, User> accounts2emails = new LinkedHashMap<>... | |
Java | apache-2.0 | 9c34179642aba7aaa88a1d8851efec7e98ede431 | 0 | bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud | package com.planet_ink.coffee_mud.Libraries;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.CMLib.Library;
import com.planet_ink.coffee_mud.core.CMSecurity.DbgFlag;
import com.planet_ink.coffee_mud.core.collections.*;
import com.p... | com/planet_ink/coffee_mud/Libraries/CMMap.java | package com.planet_ink.coffee_mud.Libraries;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.CMLib.Library;
import com.planet_ink.coffee_mud.core.CMSecurity.DbgFlag;
import com.planet_ink.coffee_mud.core.collections.*;
import com.p... |
git-svn-id: svn://192.168.1.10/public/CoffeeMud@21700 0d6f1817-ed0e-0410-87c9-987e46238f29
| com/planet_ink/coffee_mud/Libraries/CMMap.java | <ide><path>om/planet_ink/coffee_mud/Libraries/CMMap.java
<ide> boolean success=true;
<ide> for(final Environmental E : stuffToGo)
<ide> {
<del> setThreadStatus(serviceClient,"expiring "+E.Name());
<add> //setThreadStatus(serviceClient,"expiring "+E.Name()); // just too much -- ms count here
<id... | ||
JavaScript | mit | c6e670940d21f6944dcc7336f5e0409523889792 | 0 | projectweekend/Pi-Sensor-RPC-Service | var os = require( "os" );
var async = require( "async" );
var throng = require( "throng" );
var connections = require( "./shared/connections" );
var utils = require( "./shared/utils" );
var logger = connections.logger( [ "Pi-Sensor-RPC-Service" ] );
var run = function () {
logger.log( "Starting Pi-Sensor-RPC-Ser... | app/main.js | var os = require( "os" );
var async = require( "async" );
var throng = require( "throng" );
var connections = require( "./shared/connections" );
var utils = require( "./shared/utils" );
var logger = connections.logger( [ "Pi-Sensor-RPC-Service" ] );
var run = function () {
logger.log( "Starting Pi-Sensor-RPC-Ser... | Change
| app/main.js | Change | <ide><path>pp/main.js
<ide> var start = new Date();
<ide> while ( !serialResponse && !takingTooLong ) {
<ide> var end = new Date();
<del> takingTooLong = end - start > 500;
<add> takingTooLong = end - start > 2000;
<ide> }
<ide>
<ide> if ( serialRespons... | |
Java | apache-2.0 | fd2f40767a4b8fafa7399dab119d2232632284b9 | 0 | ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma | /*
* The Gemma project
*
* Copyright (c) 2012 University of British Columbia
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | gemma-core/src/main/java/ubic/gemma/loader/expression/geo/DataUpdater.java | /*
* The Gemma project
*
* Copyright (c) 2012 University of British Columbia
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | fix bug in logging.
| gemma-core/src/main/java/ubic/gemma/loader/expression/geo/DataUpdater.java | fix bug in logging. | <ide><path>emma-core/src/main/java/ubic/gemma/loader/expression/geo/DataUpdater.java
<ide> failedMatch++;
<ide> if ( timesWarned < 20 ) {
<ide> log.warn( "No platform match to element named: " + rowName );
<del> timesWarned++;
<ide> ... | |
Java | apache-2.0 | 6305bdc69fec99a60d58592e795ecffecf88e44e | 0 | eitchnet/strolch,eitchnet/strolch,4treesCH/strolch,eitchnet/strolch,4treesCH/strolch,4treesCH/strolch,eitchnet/strolch,4treesCH/strolch | /*
* Copyright 2013 Robert von Burg <eitch@eitchnet.ch>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | src/main/java/ch/eitchnet/xmlpers/impl/DefaultPersistenceTransaction.java | /*
* Copyright 2013 Robert von Burg <eitch@eitchnet.ch>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | [Minor] caught an NPE when the Transaction fails but no cause is set | src/main/java/ch/eitchnet/xmlpers/impl/DefaultPersistenceTransaction.java | [Minor] caught an NPE when the Transaction fails but no cause is set | <ide><path>rc/main/java/ch/eitchnet/xmlpers/impl/DefaultPersistenceTransaction.java
<ide>
<ide> if (this.txResult.getState() == TransactionState.FAILED) {
<ide> String msg = "Failed to commit TX due to underlying exception: {0}"; //$NON-NLS-1$
<del> msg = MessageFormat.format(msg, this.txResult.getFailCause(... | |
Java | apache-2.0 | daf65a59e66d8fc3e64e024e94e61e3197015b30 | 0 | ryano144/intellij-community,wreckJ/intellij-community,supersven/intellij-community,holmes/intellij-community,supersven/intellij-community,semonte/intellij-community,ibinti/intellij-community,MichaelNedzelsky/intellij-community,kool79/intellij-community,tmpgit/intellij-community,suncycheng/intellij-community,izonder/int... | /*
* @author max
*/
package com.intellij.psi.impl.compiled;
import com.intellij.lexer.JavaLexer;
import com.intellij.openapi.extensions.Extensions;
import com.intellij.openapi.util.Comparing;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.pom.java.L... | source/com/intellij/psi/impl/compiled/ClsStubBuilder.java | /*
* @author max
*/
package com.intellij.psi.impl.compiled;
import com.intellij.lexer.JavaLexer;
import com.intellij.openapi.extensions.Extensions;
import com.intellij.openapi.util.Comparing;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.pom.java.L... | IDEADEV-36385
| source/com/intellij/psi/impl/compiled/ClsStubBuilder.java | IDEADEV-36385 | <ide><path>ource/com/intellij/psi/impl/compiled/ClsStubBuilder.java
<ide>
<ide> String returnType;
<ide> List<String> args = new ArrayList<String>();
<add> List<String> throwables = exceptions != null ? new ArrayList<String>() : null;
<ide> boolean parsedViaGenericSignature = false;
<ide> ... | |
Java | epl-1.0 | error: pathspec 'src/KthSmallestElementInBST.java' did not match any file(s) known to git
| 913e13c918c29d822460c90989c0291f0ebacea9 | 1 | cyanstone/LeetCode | import java.util.ArrayList;
import java.util.Stack;
public class KthSmallestElementInBST {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
private class TreeNode{
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) { val = x; }
}
public int KthSmallest(TreeNode r... | src/KthSmallestElementInBST.java | 230. Kth Smallest Element in a BST | src/KthSmallestElementInBST.java | 230. Kth Smallest Element in a BST | <ide><path>rc/KthSmallestElementInBST.java
<add>import java.util.ArrayList;
<add>import java.util.Stack;
<add>
<add>
<add>public class KthSmallestElementInBST {
<add>
<add> public static void main(String[] args) {
<add> // TODO Auto-generated method stub
<add>
<add> }
<add>
<add> private class TreeNode{
<add> int va... | |
Java | apache-2.0 | 7accd9f3f98693c43b27b42ef3c6f087b025767c | 0 | dslomov/bazel,spxtr/bazel,hermione521/bazel,Asana/bazel,hermione521/bazel,damienmg/bazel,davidzchen/bazel,spxtr/bazel,meteorcloudy/bazel,ulfjack/bazel,snnn/bazel,dslomov/bazel,ulfjack/bazel,kchodorow/bazel-1,dslomov/bazel,davidzchen/bazel,dropbox/bazel,kchodorow/bazel-1,kchodorow/bazel,variac/bazel,dslomov/bazel-window... | // Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | src/main/java/com/google/devtools/build/lib/rules/android/AndroidCommon.java | // Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | Dedupe Jar files produced for Android binary targets for desugaring purposes.
--
MOS_MIGRATED_REVID=137305868
| src/main/java/com/google/devtools/build/lib/rules/android/AndroidCommon.java | Dedupe Jar files produced for Android binary targets for desugaring purposes. | <ide><path>rc/main/java/com/google/devtools/build/lib/rules/android/AndroidCommon.java
<ide> private JavaCompilationArgs javaCompilationArgs = JavaCompilationArgs.EMPTY_ARGS;
<ide> private JavaCompilationArgs recursiveJavaCompilationArgs = JavaCompilationArgs.EMPTY_ARGS;
<ide> private JackCompilationHelper jackCo... | |
Java | lgpl-2.1 | 53e30a5e4dabc308c4a0920ac35b9f5e51c370ee | 0 | janissl/languagetool,janissl/languagetool,meg0man/languagetool,jimregan/languagetool,lopescan/languagetool,janissl/languagetool,meg0man/languagetool,lopescan/languagetool,meg0man/languagetool,jimregan/languagetool,janissl/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,janissl/languagetool,lope... | /* LanguageTool, a natural language style checker
* Copyright (C) 2013 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 2.... | languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/atom/AtomFeedCheckerCmd.java | /* LanguageTool, a natural language style checker
* Copyright (C) 2013 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 2.... | catch all exceptions and continue so we don't crash because of network problems
| languagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/atom/AtomFeedCheckerCmd.java | catch all exceptions and continue so we don't crash because of network problems | <ide><path>anguagetool-wikipedia/src/main/java/org/languagetool/dev/wikipedia/atom/AtomFeedCheckerCmd.java
<ide> System.out.println("Sleeping " + sleepTimeMillis + "ms...");
<ide> Thread.sleep(sleepTimeMillis);
<ide> }
<del> } catch (IOException e) {
<del> // e.g. 50x HTTP errors... | |
Java | apache-2.0 | 932818b243b1ca296af27857765ae45b49bb78b6 | 0 | kaen/Terasology,kartikey0303/Terasology,Halamix2/Terasology,CC4401-TeraCity/TeraCity,MarcinSc/Terasology,MovingBlocks/Terasology,dannyzhou98/Terasology,Josharias/Terasology,Halamix2/Terasology,frankpunx/Terasology,samuto/Terasology,Josharias/Terasology,mertserezli/Terasology,indianajohn/Terasology,samuto/Terasology,Fel... | /*
* Copyright 2013 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | engine/src/main/java/org/terasology/game/Game.java | /*
* Copyright 2013 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | Extracted createGAmeManifest and saveGameManifest methods.
| engine/src/main/java/org/terasology/game/Game.java | Extracted createGAmeManifest and saveGameManifest methods. | <ide><path>ngine/src/main/java/org/terasology/game/Game.java
<ide>
<ide> StorageManager storageManager = CoreRegistry.get(StorageManager.class);
<ide> if (storageManager != null) {
<del> BlockManager blockManager = CoreRegistry.get(BlockManager.class);
<del> BiomeManager biomeMana... | |
JavaScript | mit | 7835708907254b2ac3fca475ca9e78ae15ca01f9 | 0 | victor4l/PostIt,victor4l/PostIt | import supertest from 'supertest';
import dotenv from 'dotenv';
import models from '../models';
import app from '../index';
import fixtures from '../fixtures/testFixtures';
dotenv.config();
const request = supertest(app);
describe('PostIt Tests', () => {
describe('Database connection tests', () => {
// Sync da... | server/tests/tests.js | import supertest from 'supertest';
import dotenv from 'dotenv';
import models from '../models';
import app from '../index';
import fixtures from '../fixtures/testFixtures';
dotenv.config();
const request = supertest(app);
describe('PostIt Tests', () => {
describe('Database connection tests', () => {
// Sync da... | modify test suite to make up for file changes
| server/tests/tests.js | modify test suite to make up for file changes | <ide><path>erver/tests/tests.js
<ide> // Delete previous records and populate db with test data
<ide> let groupId;
<ide> const newGroup = fixtures.newGroup;
<add> const newGroup2 = fixtures.newGroup2;
<ide> const newGroupWithMultipleMembers = fixtures.newGroupWithMultipleMembers;
<ide> const newG... | |
Java | apache-2.0 | 01138b8e98fdfd7e1048690ebf2a4eec04e8d3e4 | 0 | karamelchef/karamel,karamelchef/karamel,karamelchef/karamel,karamelchef/karamel,karamelchef/karamel | package se.kth.karamel.webservice;
import icons.TrayUI;
import io.dropwizard.Application;
import io.dropwizard.assets.AssetsBundle;
import io.dropwizard.jetty.MutableServletContextHandler;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import org.apache.commons.cli.CommandLine;
import or... | karamel-ui/src/main/java/se/kth/karamel/webservice/KaramelServiceApplication.java | package se.kth.karamel.webservice;
import icons.TrayUI;
import io.dropwizard.Application;
import io.dropwizard.assets.AssetsBundle;
import io.dropwizard.jetty.MutableServletContextHandler;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import org.apache.commons.cli.CommandLine;
import or... | Register ssh keys for commandline
| karamel-ui/src/main/java/se/kth/karamel/webservice/KaramelServiceApplication.java | Register ssh keys for commandline | <ide><path>aramel-ui/src/main/java/se/kth/karamel/webservice/KaramelServiceApplication.java
<ide> import se.kth.karamel.common.CookbookScaffolder;
<ide> import se.kth.karamel.common.clusterdef.yaml.YamlCluster;
<ide> import se.kth.karamel.common.exception.KaramelException;
<add>import se.kth.karamel.common.util.SshKeyP... | |
Java | apache-2.0 | 98bb530f9263f3bac0737971acc00dfef7ea4c35 | 0 | mixpanel/mixpanel-android,mixpanel/mixpanel-android,mixpanel/mixpanel-android | package com.mixpanel.android.mpmetrics;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.content.ActivityNotFoundException;
import android.con... | src/main/java/com/mixpanel/android/mpmetrics/InAppFragment.java | package com.mixpanel.android.mpmetrics;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.content.ActivityNotFoundException;
import android.con... | Fix crash when committing transaction while activity is being destroyed
| src/main/java/com/mixpanel/android/mpmetrics/InAppFragment.java | Fix crash when committing transaction while activity is being destroyed | <ide><path>rc/main/java/com/mixpanel/android/mpmetrics/InAppFragment.java
<ide> }
<ide>
<ide> private void remove() {
<del> if (mParent != null && !mCleanedUp) {
<add> boolean isDestroyed = Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1 ? mParent.isDestroyed() : false;
<add> i... | |
Java | apache-2.0 | 55546da069c982fb17819be1ccb275626f8c8133 | 0 | javamelody/javamelody,javamelody/javamelody,javamelody/javamelody | /*
* Copyright 2008-2012 by Emeric Vernat
*
* This file is part of Java Melody.
*
* Java Melody 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, or
* ... | javamelody-core/src/main/java/net/bull/javamelody/LabradorRetriever.java | /*
* Copyright 2008-2012 by Emeric Vernat
*
* This file is part of Java Melody.
*
* Java Melody 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, or
* ... | clean-up | javamelody-core/src/main/java/net/bull/javamelody/LabradorRetriever.java | clean-up | <ide><path>avamelody-core/src/main/java/net/bull/javamelody/LabradorRetriever.java
<ide> * Lit l'objet renvoyé dans le flux de réponse.
<ide> * @return Object
<ide> * @param connection URLConnection
<del> * @param inputStream InputStream à utiliser à la place de connection.getInputStream()
<add> * @param input... | |
Java | agpl-3.0 | 7a551217cf3f4a0132c834acfeac1d6565376f58 | 0 | MusesProject/MusesServer,MusesProject/MusesServer | /*
* version 1.0 - MUSES prototype software
* Copyright MUSES project (European Commission FP7) - 2013
*
*/
package eu.musesproject.server.dataminer;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
/*
* #%L
* M... | src/main/java/eu/musesproject/server/dataminer/ParsingUtils.java | /*
* version 1.0 - MUSES prototype software
* Copyright MUSES project (European Commission FP7) - 2013
*
*/
package eu.musesproject.server.dataminer;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
/*
* #%L
* M... | J48 rules are now being parsed
| src/main/java/eu/musesproject/server/dataminer/ParsingUtils.java | J48 rules are now being parsed | <ide><path>rc/main/java/eu/musesproject/server/dataminer/ParsingUtils.java
<ide> String ruleJRip = "\\((\\w+)([\\s\\>\\=\\<]+)([\\w\\.]+)\\)";
<ide> String labelJRip = "\\=\\>\\s\\w+\\=(\\w+)";
<ide> String rulePART = "(\\w+)([\\s\\>\\=\\<]+)(\\w+)\\s?(AND|\\:)?\\s?(\\w*)";
<del> String ruleJ48 = "";
<add> Stri... | |
Java | apache-2.0 | 1cabe82a812be39bb3ebaf0d68f61410ba19e5e9 | 0 | thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck | /*
* Copyright (C) 2002 EBI, GRL
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
*
* This library is dist... | src/org/ensembl/healthcheck/DatabaseToHTML.java | /*
* Copyright (C) 2002 EBI, GRL
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
*
* This library is dist... | Add release 40 to previous list.
| src/org/ensembl/healthcheck/DatabaseToHTML.java | Add release 40 to previous list. | <ide><path>rc/org/ensembl/healthcheck/DatabaseToHTML.java
<ide> print(pw, "<h3>Previous releases</h3>");
<ide> print(pw, "");
<ide> print(pw, "<ul>");
<add> print(pw, "<li><a href='previous/40/index.html'>40</a> (August 2006)</li>");
<ide> print(pw, "<li><a href='previous/39/web_healthcheck_summary.html'>39</a... | |
Java | apache-2.0 | 9d55dd696ec74d71128a5c38deb7af64a2d9a62e | 0 | korpling/ANNIS,zangsir/ANNIS,zangsir/ANNIS,thomaskrause/ANNIS,thomaskrause/ANNIS,thomaskrause/ANNIS,zangsir/ANNIS,thomaskrause/ANNIS,korpling/ANNIS,pixeldrama/ANNIS,pixeldrama/ANNIS,amir-zeldes/ANNIS,thomaskrause/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,amir-zeldes/ANNIS,amir-zeldes/ANNIS,pixeldrama/ANNIS,zangsir/ANNIS,za... | /*
* Copyright 2010 Collaborative Research Centre SFB 632.
*
* 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 req... | Annis-Web/src/main/java/annis/frontend/servlets/visualizers/graph/DotGraphVisualizer.java | /*
* Copyright 2010 Collaborative Research Centre SFB 632.
*
* 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 req... | - output PNG | Annis-Web/src/main/java/annis/frontend/servlets/visualizers/graph/DotGraphVisualizer.java | - output PNG | <ide><path>nnis-Web/src/main/java/annis/frontend/servlets/visualizers/graph/DotGraphVisualizer.java
<ide> public class DotGraphVisualizer extends WriterVisualizer
<ide> {
<ide>
<del> private String outputFormat = "dot";
<add> private String outputFormat = "png";
<ide> private int scale = 50;
<ide> private String... | |
Java | lgpl-2.1 | d157e4f63f9b5e322c40006225439b69eb623e44 | 0 | bcosenza/patus,bcosenza/patus,bcosenza/patus,bcosenza/patus,bcosenza/patus | package stenciltune;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
/**
* Automatic generation of stencil patterns and stencil code.
* Each pattern is a collection of points (2d or 3d) following common stencil pattern,
* such as Laplacian, hypercube, hyperplane and lines.
* Ad... | tune/stencil_tune/src/stenciltune/StencilGenerator.java | package stenciltune;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
/**
* Automatic generation of stencil patterns and stencil code.
* Each pattern is a collection of points (2d or 3d) following common stencil pattern,
* such as Laplacian, hypercube, hyperplane and lines.
* Ad... | trainign code generator: forgot a file
| tune/stencil_tune/src/stenciltune/StencilGenerator.java | trainign code generator: forgot a file | <ide><path>une/stencil_tune/src/stenciltune/StencilGenerator.java
<ide> //StencilPoint.MAX_STENCIL_SIZE = 10;//maxPatternRadius*2+1;
<ide>
<ide> int genBufferNum[] = { 1, 3}; // { 1, 2, 3};
<del> int maxTypeSize = 1; // type size is 0 for 3d-bit types (float and int), or 1 for 64 (double)
<add> int maxTy... | |
Java | apache-2.0 | 43ba8a388d2a1f08a78668243e54896ca2807a99 | 0 | apache/commons-jexl,apache/commons-jexl,apache/commons-jexl | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/test/java/org/apache/commons/jexl3/ScriptCallableTest.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 ... | JEXL:
JEXL-205; check interruption status within loop to detect cancellation
git-svn-id: 4652571f3dffef9654f8145d6bccf468f90ae391@1752424 13f79535-47bb-0310-9956-ffa450edef68
| src/test/java/org/apache/commons/jexl3/ScriptCallableTest.java | JEXL: JEXL-205; check interruption status within loop to detect cancellation | <ide><path>rc/test/java/org/apache/commons/jexl3/ScriptCallableTest.java
<ide> import java.util.concurrent.TimeUnit;
<ide> import java.util.concurrent.TimeoutException;
<ide> import org.apache.commons.jexl3.internal.Script;
<del>import org.apache.commons.logging.Log;
<del>import org.apache.commons.logging.LogFactory;
<... | |
Java | apache-2.0 | 4ca72163d991eb621b0d9fbd4807a65f93561293 | 0 | fitermay/intellij-community,izonder/intellij-community,joewalnes/idea-community,fnouama/intellij-community,idea4bsd/idea4bsd,da1z/intellij-community,apixandru/intellij-community,izonder/intellij-community,idea4bsd/idea4bsd,Distrotech/intellij-community,diorcety/intellij-community,petteyg/intellij-community,dslomov/inte... | /*
* Copyright 2000-2007 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... | util/src/com/intellij/util/containers/MultiMap.java | /*
* Copyright 2000-2007 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... | MultiMap#remove
| util/src/com/intellij/util/containers/MultiMap.java | MultiMap#remove | <ide><path>til/src/com/intellij/util/containers/MultiMap.java
<ide> public void clear() {
<ide> myMap.clear();
<ide> }
<add>
<add> public Collection<V> remove(K key) {
<add> return myMap.remove(key);
<add> }
<ide> } | |
JavaScript | isc | 965c4e9d8b63c2e70b3e69782eead28d5534c511 | 0 | francisbrito/node-restful-qs | 'use strict';
var assert = require('assert');
var querystring = require('querystring');
var assign = require('object-assign');
var chain = require('./lib/helpers/chain');
var except = require('./lib/helpers/except');
var isEitherStringOrObject = require('./lib/helpers/is-either-string-or-object');
var DEFAULT_QUERY ... | index.js | 'use strict';
var assert = require('assert');
var querystring = require('querystring');
var assign = require('object-assign');
var chain = require('./lib/helpers/chain');
var except = require('./lib/helpers/except');
var isEitherStringOrObject = require('./lib/helpers/is-either-string-or-object');
var DEFAULT_QUERY ... | Rename parse `sort` query parameter function.
| index.js | Rename parse `sort` query parameter function. | <ide><path>ndex.js
<ide> var rawQuery;
<ide> var parsedQuery;
<ide> var transformations = [
<del> chain(parseQueryParamAsArray('sort'), transformToSorting),
<add> chain(parseQueryParamAsArray('sort'), parseSortingFrom),
<ide> parseQueryParamAsArray('fields'),
<ide> parsePaginationFrom,
<ide> par... | |
Java | apache-2.0 | 04a6bf507bc323ae069e15813c1b71a90b7145f4 | 0 | p6spy/p6spy,p6spy/p6spy | /**
* P6Spy
*
* Copyright (C) 2002 - 2019 P6Spy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | src/main/java/com/p6spy/engine/spy/option/SpyDotProperties.java | /**
* P6Spy
*
* Copyright (C) 2002 - 2019 P6Spy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | The file.encoding configuration encoding is used by default to read the configuration file, and the encoding is specified through -Dspy.properties.charset (#492)
| src/main/java/com/p6spy/engine/spy/option/SpyDotProperties.java | The file.encoding configuration encoding is used by default to read the configuration file, and the encoding is specified through -Dspy.properties.charset (#492) | <ide><path>rc/main/java/com/p6spy/engine/spy/option/SpyDotProperties.java
<ide>
<ide> import java.io.IOException;
<ide> import java.io.InputStream;
<add>import java.io.InputStreamReader;
<ide> import java.net.URL;
<ide> import java.net.URLConnection;
<add>import java.nio.charset.Charset;
<ide> import java.util.Map;
<i... | |
Java | apache-2.0 | bca3e8f775a14f6e38de7b51655902d728e8f514 | 0 | onepip/weixin-mp-java | /**
*
*/
package org.hamster.weixinmp.util;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.apache.http.Consts;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.Htt... | src/main/java/org/hamster/weixinmp/util/WxUtil.java | /**
*
*/
package org.hamster.weixinmp.util;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.apache.http.Consts;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.Htt... | utf-8 when getting userinfo | src/main/java/org/hamster/weixinmp/util/WxUtil.java | utf-8 when getting userinfo | <ide><path>rc/main/java/org/hamster/weixinmp/util/WxUtil.java
<ide>
<ide> HttpResponse response = client.execute(request);
<ide> HttpEntity entity = response.getEntity();
<del> String respBody = EntityUtils.toString(entity);
<add> String respBody = EntityUtils.toString(entity, "UTF-8");
<ide> if (entity !... | |
Java | apache-2.0 | f7ac518041bcd407190667826bb717b2c3f8f596 | 0 | orangesignal/orangesignal-csv,blqthien/orangesignal-csv,Koichi-Kobayashi/orangesignal-csv | /**
* Copyright (C) 2001-2002 Michel Ishizuka All rights reserved.
*
* 以下の条件に同意するならばソースとバイナリ形式の再配布と使用を
* 変更の有無にかかわらず許可する。
*
* 1.ソースコードの再配布において著作権表示と この条件のリスト
* および下記の声明文を保持しなくてはならない。
*
* 2.バイナリ形式の再配布において著作権表示と この条件のリスト
* および下記の声明文を使用説明書もしくは その他の配布物内に
* 含む資料に記述しなければならない。
*
* こ... | src/main/java/jp/gr/java_conf/dangan/util/lha/CompressMethod.java | /**
* Copyright (C) 2001-2002 Michel Ishizuka All rights reserved.
*
* 以下の条件に同意するならばソースとバイナリ形式の再配布と使用を
* 変更の有無にかかわらず許可する。
*
* 1.ソースコードの再配布において著作権表示と この条件のリスト
* および下記の声明文を保持しなくてはならない。
*
* 2.バイナリ形式の再配布において著作権表示と この条件のリスト
* および下記の声明文を使用説明書もしくは その他の配布物内に
* 含む資料に記述しなければならない。
*
* こ... | source cleanup | src/main/java/jp/gr/java_conf/dangan/util/lha/CompressMethod.java | source cleanup | <ide><path>rc/main/java/jp/gr/java_conf/dangan/util/lha/CompressMethod.java
<ide> * @return 辞書サイズ
<ide> */
<ide> public static int toDictionarySize(final String method) {
<del> if (CompressMethod.LZS.equalsIgnoreCase(method)) {
<add> if (LZS.equalsIgnoreCase(method)) {
<ide> return 2048;
<del> } else if (Com... | |
Java | apache-2.0 | 85fee8dc240b141163b1ecbbe03528945541d775 | 0 | krzysztof-magosa/encog-java-core,spradnyesh/encog-java-core,SpenceSouth/encog-java-core,danilodesousacubas/encog-java-core,SpenceSouth/encog-java-core,spradnyesh/encog-java-core,danilodesousacubas/encog-java-core,krzysztof-magosa/encog-java-core,ThiagoGarciaAlves/encog-java-core,Crespo911/encog-java-core,Crespo911/enco... | /*
* Encog(tm) Core v2.5 - Java Version
* http://www.heatonresearch.com/encog/
* http://code.google.com/p/encog-java/
* Copyright 2008-2010 Heaton Research, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | src/org/encog/neural/networks/training/cross/CrossValidationKFold.java | /*
* Encog(tm) Core v2.5 - Java Version
* http://www.heatonresearch.com/encog/
* http://code.google.com/p/encog-java/
* Copyright 2008-2010 Heaton Research, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | Removed debug statement
git-svn-id: f699b99be54c313e643266d5dd560bc939300b59@2260 f90f6e9a-ac51-0410-b353-d1b83c6f6923
| src/org/encog/neural/networks/training/cross/CrossValidationKFold.java | Removed debug statement | <ide><path>rc/org/encog/neural/networks/training/cross/CrossValidationKFold.java
<ide> // evaluate with the validation fold
<ide> getFolded().setCurrentFold(valFold);
<ide> double e = this.flatNetwork.calculateError(getFolded());
<del> System.out.println("Fold " + valFold + ", " + e);
<add> //System.out... | |
Java | mit | 5e21737636fd749507bcf51fa8498b1374332780 | 0 | elliottsj/ftw-android | package com.afollestad.silk.cache;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Environment;
import android.os.Handler;
import android.util.Log;
import java.io.*;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
/**
* @author Aidan Follesta... | library/src/com/afollestad/silk/cache/SilkCacheManagerBase.java | package com.afollestad.silk.cache;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Environment;
import android.os.Handler;
import android.util.Log;
import java.io.*;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
/**
* @author Aidan Follesta... | Updates.
| library/src/com/afollestad/silk/cache/SilkCacheManagerBase.java | Updates. | <ide><path>ibrary/src/com/afollestad/silk/cache/SilkCacheManagerBase.java
<ide> long dateTime = prefs.getLong(getCacheFile().getName(), 0);
<ide> long now = Calendar.getInstance().getTimeInMillis();
<ide> return dateTime <= now;
<add> }
<add>
<add> /**
<add> * Checks whether or not an ... | |
JavaScript | mit | 9616e9b3cb10fc2e0b8d3244abbfb4f0810c198c | 0 | TurtleRover/Turtle-Rover-Mission-Control,TurtleRover/Turtle-Rover-Mission-Control,TurtleRover/Turtle-Rover-Mission-Control,TurtleRover/Turtle-Rover-Mission-Control,TurtleRover/Turtle-Rover-Mission-Control,TurtleRover/Turtle-Rover-Mission-Control | import { h } from 'hyperapp'
import nipplejs from 'nipplejs'
import {throttle} from 'lodash'
export const Joystick = ({mode, motors}) =>
<div class={(mode==='drive') ? 'joystick' : 'joystick joystick-hide'} oncreate={(el) => joystick(el, motors)}>
<img class="joystick_image" src={require("../../../img/ui/r... | client/src/js/view/components/joystick.js | import { h } from 'hyperapp'
import nipplejs from 'nipplejs'
export const Joystick = ({mode, motors}) =>
<div class={(mode==='drive') ? 'joystick' : 'joystick joystick-hide'} oncreate={(el) => joystick(el, motors)}>
<img class="joystick_image" src={require("../../../img/ui/right-krzyz.svg")}/>
</div>
... | add throttling to joystick
| client/src/js/view/components/joystick.js | add throttling to joystick | <ide><path>lient/src/js/view/components/joystick.js
<ide> import { h } from 'hyperapp'
<ide> import nipplejs from 'nipplejs'
<del>
<add>import {throttle} from 'lodash'
<ide>
<ide> export const Joystick = ({mode, motors}) =>
<ide> <div class={(mode==='drive') ? 'joystick' : 'joystick joystick-hide'} oncreate={(el) ... | |
Java | apache-2.0 | 5435a4a0d35f7ba21590bb1415f12651ca0d02b2 | 0 | ChinaQuants/OG-Platform,jerome79/OG-Platform,McLeodMoores/starling,jerome79/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,nssales/OG-Platform,jeorme/OG-Platform,jerome79/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,C... | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.web.bundle;
import java.util.Collections;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap... | projects/OG-Web/src/main/java/com/opengamma/web/bundle/BundleManager.java | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.web.bundle;
import java.util.Collections;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import com.opengamma.util... | Add toString to BundleManager for debug purpose
| projects/OG-Web/src/main/java/com/opengamma/web/bundle/BundleManager.java | Add toString to BundleManager for debug purpose | <ide><path>rojects/OG-Web/src/main/java/com/opengamma/web/bundle/BundleManager.java
<ide>
<ide> import java.util.Collections;
<ide> import java.util.Map;
<add>import java.util.Map.Entry;
<ide> import java.util.Set;
<ide> import java.util.concurrent.ConcurrentHashMap;
<add>
<add>import org.apache.commons.lang.builder.T... | |
Java | apache-2.0 | c61152202c8e9959e5c09b45ec44e83e8fd140e1 | 0 | hmunfru/fiware-paas,Fiware/cloud.PaaS,Fiware/cloud.PaaS,telefonicaid/fiware-paas,telefonicaid/fiware-paas,hmunfru/fiware-paas,telefonicaid/fiware-paas,hmunfru/fiware-paas,Fiware/cloud.PaaS | /**
* (c) Copyright 2013 Telefonica, I+D. Printed in Spain (Europe). All Rights Reserved.<br>
* The copyright to the software program(s) is property of Telefonica I+D. The program(s) may be used and or copied only
* with the express written consent of Telefonica I+D or in accordance with the terms and conditions ... | rest-api/src/main/java/com/telefonica/euro_iaas/paasmanager/rest/resources/EnvironmentResourceImpl.java | /**
* (c) Copyright 2013 Telefonica, I+D. Printed in Spain (Europe). All Rights Reserved.<br>
* The copyright to the software program(s) is property of Telefonica I+D. The program(s) may be used and or copied only
* with the express written consent of Telefonica I+D or in accordance with the terms and conditions ... | adding credentials to ClaudiaData before validations to ensure a full request with envDto including tierDto, productReleaseDtos works
| rest-api/src/main/java/com/telefonica/euro_iaas/paasmanager/rest/resources/EnvironmentResourceImpl.java | adding credentials to ClaudiaData before validations to ensure a full request with envDto including tierDto, productReleaseDtos works | <ide><path>est-api/src/main/java/com/telefonica/euro_iaas/paasmanager/rest/resources/EnvironmentResourceImpl.java
<ide>
<ide> // try
<ide> // {
<add> addCredentialsToClaudiaData(claudiaData);
<ide> environmentResourceValidator.validateCreate(claudiaData, environmentDto, vdc, systemProper... | |
Java | apache-2.0 | 682ab5dae2525f2c5a3890dd4e56cceb3e36179e | 0 | DarkPhoenixs/message-queue-client-framework | /*
* Copyright 2015-2016 Dark Phoenixs (Open-Source Organization).
*
* 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 requ... | src/main/java/org/darkphoenixs/kafka/producer/AbstractProducer.java | /*
* Copyright 2015-2016 Dark Phoenixs (Open-Source Organization).
*
* 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 requ... | fix issue
| src/main/java/org/darkphoenixs/kafka/producer/AbstractProducer.java | fix issue | <ide><path>rc/main/java/org/darkphoenixs/kafka/producer/AbstractProducer.java
<ide>
<ide> logger.debug("Send Success, ProducerKey : " + this.getProducerKey()
<ide> + " , Message : " + message);
<del>
<ide> }
<ide>
<ide> /**
<ide> public void sendWithKey(K key, V message) throws MQE... | |
Java | bsd-3-clause | 1ebbe4567eb4c79cb5809b3584ab9ddb675bd90f | 0 | NCIP/catissue-core,krishagni/openspecimen,asamgir/openspecimen,krishagni/openspecimen,NCIP/catissue-core,krishagni/openspecimen,asamgir/openspecimen,NCIP/catissue-core,asamgir/openspecimen | /*
* Created on Aug 10, 2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package edu.wustl.catissuecore.exception;
/**
* @author kapil_kaveeshwar
*
* TODO To change the template for this generated type comment go to
... | WEB-INF/src/edu/wustl/catissuecore/exception/AssignDataException.java | /*
* Created on Aug 10, 2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package edu.wustl.catissuecore.exception;
/**
* @author kapil_kaveeshwar
*
* TODO To change the template for this generated type comment go to
... | *** empty log message ***
SVN-Revision: 1021
| WEB-INF/src/edu/wustl/catissuecore/exception/AssignDataException.java | *** empty log message *** | <ide><path>EB-INF/src/edu/wustl/catissuecore/exception/AssignDataException.java
<ide> */
<ide> public class AssignDataException extends Exception
<ide> {
<del>
<add> public AssignDataException()
<add> {
<add>
<add> }
<add> public AssignDataException(Exception e)
<add> {
<add>
<add> }
<ide> } | |
Java | lgpl-2.1 | 854723d72bf7417cc707a081e3c608c4fb1729e1 | 0 | patczar/exist,ambs/exist,windauer/exist,adamretter/exist,hungerburg/exist,RemiKoutcherawy/exist,joewiz/exist,dizzzz/exist,wshager/exist,patczar/exist,ambs/exist,lcahlander/exist,patczar/exist,windauer/exist,adamretter/exist,ambs/exist,adamretter/exist,lcahlander/exist,jensopetersen/exist,olvidalo/exist,wolfgangmm/exist... | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-03 Wolfgang M. Meier
* wolfgang@exist-db.org
* http://exist.sourceforge.net
*
* 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 S... | src/org/exist/xquery/XQueryContext.java | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-03 Wolfgang M. Meier
* wolfgang@exist-db.org
* http://exist.sourceforge.net
*
* 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 S... | Improved namespaces declarations error messages.
svn path=/trunk/eXist-1.0/; revision=1951
| src/org/exist/xquery/XQueryContext.java | Improved namespaces declarations error messages. | <ide><path>rc/org/exist/xquery/XQueryContext.java
<ide> if(uri == null)
<ide> uri = "";
<ide> if (prefix.equals("xml") || prefix.equals("xmlns"))
<del> throw new XPathException("err:XQST0070: Namespace predefined prefix: \"" + prefix + "\" is already bound");
<add> throw new XPathException("err:XQST0070: Nam... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.