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 | epl-1.0 | a1dcecd2cc209db1a6371f56c578eb1a3e9f1256 | 0 | kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display... | /*******************************************************************************
* Copyright (c) 2015-2018 Oak Ridge National Laboratory.
* 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 distributi... | org.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/widgets/plots/XYVTypeDataProvider.java | /*******************************************************************************
* Copyright (c) 2015-2018 Oak Ridge National Laboratory.
* 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 distributi... | XYPlot: Fix NPE with missing error data | org.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/widgets/plots/XYVTypeDataProvider.java | XYPlot: Fix NPE with missing error data | <ide><path>rg.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/widgets/plots/XYVTypeDataProvider.java
<ide> public XYVTypeDataProvider(ListNumber x_data, ListNumber y_data, ListNumber error_data)
<ide> {
<ide> // In principle, error_data should have 1... | |
JavaScript | mit | 2b18076ddd008a0e864350467d0be04442a1a3ee | 0 | benelsen/luxapi | var express = require('express'),
app = express();
// Allow CORS
app.all('/*', function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "X-Requested-With");
next();
});
// vdl
var vdl = require('./vdl');
app.get('/vdl/parking.json', vdl.parkin... | server.js | var express = require('express');
var app = express();
// Allow CORS
app.all('/*', function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "X-Requested-With");
next();
});
// vdl
var vdl = require('./vdl');
app.get('/vdl/parking.json', vdl.parki... | -whitespace
| server.js | -whitespace | <ide><path>erver.js
<del>var express = require('express');
<del>
<del>var app = express();
<add>var express = require('express'),
<add> app = express();
<ide>
<ide> // Allow CORS
<ide> app.all('/*', function(req, res, next) { | |
Java | apache-2.0 | eb3307de61e4419d7ad56528906e3568f9958ca6 | 0 | MathieuDuponchelle/gdx,Wisienkas/libgdx,kagehak/libgdx,hyvas/libgdx,sinistersnare/libgdx,katiepino/libgdx,billgame/libgdx,titovmaxim/libgdx,309746069/libgdx,KrisLee/libgdx,stinsonga/libgdx,stinsonga/libgdx,TheAks999/libgdx,SidneyXu/libgdx,Xhanim/libgdx,andyvand/libgdx,alireza-hosseini/libgdx,nave966/libgdx,ttencate/lib... | /*******************************************************************************
* Copyright 2010 Mario Zechner (contact@badlogicgames.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... | backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglApplication.java | /*******************************************************************************
* Copyright 2010 Mario Zechner (contact@badlogicgames.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... | [fixed] everything gets loaded in the EDT now, swing sucks, jogl sucks everything sucks. The reason the tests worked but the demos didn't is that the test first opens a freaking swing jframe which will load jawt.so and mjawt.so magically.
| backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglApplication.java | [fixed] everything gets loaded in the EDT now, swing sucks, jogl sucks everything sucks. The reason the tests worked but the demos didn't is that the test first opens a freaking swing jframe which will load jawt.so and mjawt.so magically. | <ide><path>ackends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglApplication.java
<ide> import java.awt.event.WindowEvent;
<ide>
<ide> import javax.swing.JFrame;
<add>import javax.swing.SwingUtilities;
<ide>
<ide> import com.badlogic.gdx.Application;
<ide> import com.badlogic.gdx.ApplicationListener;
<ide> ... | |
Java | apache-2.0 | e0ae82e61ae19cda6d8e4fc3cade75cae7dd7e46 | 0 | bladecoder/bladecoder-adventure-engine,bladecoder/bladecoder-adventure-engine | package com.bladecoder.engine.ink;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.ResourceBundle;
import com.badlogic.gdx.fil... | blade-engine/src/com/bladecoder/engine/ink/InkManager.java | package com.bladecoder.engine.ink;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.ResourceBundle;
import com.badlogic.gdx.fil... | Delete commented text.
| blade-engine/src/com/bladecoder/engine/ink/InkManager.java | Delete commented text. | <ide><path>lade-engine/src/com/bladecoder/engine/ink/InkManager.java
<ide> }
<ide>
<ide> if (!params.containsKey("actor") && w.getCurrentScene().getPlayer() != null) {
<del> // params.put("actor", Scene.VAR_PLAYER);
<del>
<ide> if (!params.containsKey("type")) {
<ide> params.put("type", Type.SUBTITLE.toSt... | |
Java | apache-2.0 | 1b6da11549beb256dfcf4668f4d5f987f57cbc8f | 0 | folio-org/okapi,funkymalc/okapi,funkymalc/okapi,julianladisch/okapi-acquisitions-poc,julianladisch/okapi-acquisitions-poc,folio-org/okapi,julianladisch/okapi-acquisitions-poc | /*
* Copyright (c) 2015-2016, Index Data
* All rights reserved.
* See the file LICENSE for details.
*/
package okapi.service;
import okapi.bean.ModuleDescriptor;
import okapi.bean.ModuleInstance;
import okapi.bean.Modules;
import okapi.bean.Ports;
import okapi.bean.ProcessModuleHandle;
import io.vertx.core.Vertx;
... | okapi-core/src/main/java/okapi/service/ModuleService.java | /*
* Copyright (c) 2015-2016, Index Data
* All rights reserved.
* See the file LICENSE for details.
*/
package okapi.service;
import okapi.bean.ModuleDescriptor;
import okapi.bean.ModuleInstance;
import okapi.bean.Modules;
import okapi.bean.Ports;
import okapi.bean.ProcessModuleHandle;
import okapi.bean.Tenant;
im... | Remove unused inports
| okapi-core/src/main/java/okapi/service/ModuleService.java | Remove unused inports | <ide><path>kapi-core/src/main/java/okapi/service/ModuleService.java
<ide> import okapi.bean.Modules;
<ide> import okapi.bean.Ports;
<ide> import okapi.bean.ProcessModuleHandle;
<del>import okapi.bean.Tenant;
<ide> import io.vertx.core.Vertx;
<del>import io.vertx.core.buffer.Buffer;
<del>import io.vertx.core.http.HttpCl... | |
Java | apache-2.0 | 79a54b2c44a7ed0e40025b8a001ab7308d1e1d97 | 0 | phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida | package ca.corefacility.bioinformatics.irida.ria.config.thymeleaf.webpacker.processor;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import org.thymeleaf.context.ITemplateContext;
import org.thymeleaf.context.WebEngineContext;
import org.thymelea... | src/main/java/ca/corefacility/bioinformatics/irida/ria/config/thymeleaf/webpacker/processor/WebpackerJavascriptElementTagProcessor.java | package ca.corefacility.bioinformatics.irida.ria.config.thymeleaf.webpacker.processor;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import org.thymeleaf.context.ITemplateContext;
import org.thymeleaf.context.WebEngineContext;
import org.thymelea... | Fixed issue with broken i18n paths
| src/main/java/ca/corefacility/bioinformatics/irida/ria/config/thymeleaf/webpacker/processor/WebpackerJavascriptElementTagProcessor.java | Fixed issue with broken i18n paths | <ide><path>rc/main/java/ca/corefacility/bioinformatics/irida/ria/config/thymeleaf/webpacker/processor/WebpackerJavascriptElementTagProcessor.java
<ide> private static final String INTERNATIONALIZATION_ATTR = "th:replace";
<ide> private static final String INTERNATIONALIZATION_TAG = "th:block";
<ide> private static f... | |
Java | mit | c9c18d6efb41f1ca1e67712d90da3859662d5405 | 0 | judovana/jenkins-scm-koji-plugin,judovana/jenkins-scm-koji-plugin,judovana/jenkins-scm-koji-plugin | /*
* The MIT License
*
* Copyright 2016 jvanek.
*
* 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, ... | fake-koji/src/main/java/org/fakekoji/core/TagsProvider.java | /*
* The MIT License
*
* Copyright 2016 jvanek.
*
* 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, ... | Qucik hack to make rhel7 tags working
| fake-koji/src/main/java/org/fakekoji/core/TagsProvider.java | Qucik hack to make rhel7 tags working | <ide><path>ake-koji/src/main/java/org/fakekoji/core/TagsProvider.java
<ide> }
<ide>
<ide> static String getRhel7Base(int i) {
<del> return "rhel-" + (i) + ".X-candidate";
<add> return "rhel-" + (i) + ".0-candidate";
<ide> }
<ide>
<ide> static String[] getSuplementaryRhel6LikeTag() { | |
JavaScript | apache-2.0 | 05b34af64b7ede16ad089d5f859f854588f58f31 | 0 | codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client | 'use strict';
const electron = require('electron');
const fs = require('fs');
const menuTemplate = require('./menu.js');
// Copy config file to appData if no config file exists in appData
function copyConfigFile(destPath, appDataPath) {
if (!fs.existsSync(appDataPath)) fs.mkdirSync(appDataPath);
if (!fs.exi... | main.js | 'use strict';
const electron = require('electron');
const fs = require('fs');
const menuTemplate = require('./menu.js');
// Copy config file to appData if no config file exists in appData
function copyConfigFile(destPath, appDataPath) {
if (!fs.existsSync(appDataPath)) fs.mkdirSync(appDataPath);
if (!fs.exi... | Adjust minWidth to prevent lineBreak in sidebar tabs on conflict
| main.js | Adjust minWidth to prevent lineBreak in sidebar tabs on conflict | <ide><path>ain.js
<ide> mainWindow = new electron.BrowserWindow({
<ide> width: screenWidth >= 1680 ? 1680 : 1280,
<ide> height: screenHeight >= 1050 ? 1050 : 800,
<del> minWidth: 1000,
<add> minWidth: 1088,
<ide> minHeight: 600,
<ide> webPreferences: {
<ide> ... | |
JavaScript | mit | 4bb03207fc49d67c57925db07f7d4699325ba052 | 0 | pisi/Reel | /**
@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@ @@@@@@@@
@@@@@@@ @@@@@@@
@@@@@@@ @@@@@@@
@@@@@@@ @@@@@@@
@@@@@@@@ @ @@@@@@@@
@@@@@@@@@ @@@ @@@@@@@@@
@@@@@@@@@@@@@@ @@@@@@@@@@@
@@@@@@@@@@@@@ @@@@@@@
... | jquery.reel.js | /**
@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@ @@@@@@@@
@@@@@@@ @@@@@@@
@@@@@@@ @@@@@@@
@@@@@@@ @@@@@@@
@@@@@@@@ @ @@@@@@@@
@@@@@@@@@ @@@ @@@@@@@@@
@@@@@@@@@@@@@@ @@@@@@@@@@@
@@@@@@@@@@@@@ @@@@@@@
... | Private `panned` should always be a number
| jquery.reel.js | Private `panned` should always be a number | <ide><path>query.reel.js
<ide> $target= $(ev.target),
<ide> $link= ($target.is('a') ? $target : $target.parents('a')),
<ide> href= $link.attr('href')
<del> href && (panned= true);
<add> href && (panned= 10);
<ide> ... | |
Java | bsd-2-clause | d11bdf66f0a97524510e1104b931fc6b42086317 | 0 | runelite/runelite,runelite/runelite,Sethtroll/runelite,runelite/runelite,Sethtroll/runelite | /*
* Copyright (c) 2017, Seth <Sethtroll3@gmail.com>
* Copyright (c) 2018, Jordan Atwood <jordan.atwood423@gmail.com>
* Copyright (c) 2019, winterdaze
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions... | runelite-client/src/main/java/net/runelite/client/plugins/timers/TimersPlugin.java | /*
* Copyright (c) 2017, Seth <Sethtroll3@gmail.com>
* Copyright (c) 2018, Jordan Atwood <jordan.atwood423@gmail.com>
* Copyright (c) 2019, winterdaze
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions... | timers: add world placed to cannon timer tooltip
| runelite-client/src/main/java/net/runelite/client/plugins/timers/TimersPlugin.java | timers: add world placed to cannon timer tooltip | <ide><path>unelite-client/src/main/java/net/runelite/client/plugins/timers/TimersPlugin.java
<ide>
<ide> if (config.showCannon() && (event.getMessage().equals(CANNON_FURNACE_MESSAGE) || event.getMessage().contains(CANNON_REPAIR_MESSAGE)))
<ide> {
<del> createGameTimer(CANNON);
<add> TimerTimer cannonTimer = cr... | |
Java | apache-2.0 | 7522cefe9ea838dd35464334c4cf87a92d2a2dbe | 0 | quanticc/sentry,quanticc/sentry,quanticc/sentry | package top.quantic.sentry.config;
import org.quartz.spi.JobFactory;
import org.springframework.beans.factory.config.PropertiesFactoryBean;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import... | src/main/java/top/quantic/sentry/config/SchedulerConfiguration.java | package top.quantic.sentry.config;
import org.quartz.spi.JobFactory;
import org.springframework.beans.factory.config.PropertiesFactoryBean;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import... | Use quartz.properties from filesystem
| src/main/java/top/quantic/sentry/config/SchedulerConfiguration.java | Use quartz.properties from filesystem | <ide><path>rc/main/java/top/quantic/sentry/config/SchedulerConfiguration.java
<ide> import org.springframework.context.ApplicationContext;
<ide> import org.springframework.context.annotation.Bean;
<ide> import org.springframework.context.annotation.Configuration;
<del>import org.springframework.core.io.ClassPathResourc... | |
Java | bsd-3-clause | 58442bb99ce7081019bd63df0b4d188733683870 | 0 | ndexbio/ndex-common | /**
* Copyright (c) 2013, 2015, The Regents of the University of California, The Cytoscape Consortium
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code m... | src/main/java/org/ndexbio/common/models/dao/orientdb/NetworkDAO.java | /**
* Copyright (c) 2013, 2015, The Regents of the University of California, The Cytoscape Consortium
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code m... | Logging info was wrong. | src/main/java/org/ndexbio/common/models/dao/orientdb/NetworkDAO.java | Logging info was wrong. | <ide><path>rc/main/java/org/ndexbio/common/models/dao/orientdb/NetworkDAO.java
<ide> graph.removeEdge(e);
<ide> break;
<ide> } catch(ONeedRetryException ex) {
<del> logger.warning("Retry adding edge between account and network: " + ex.getMessage());
<del> // networkdoc.... | |
Java | apache-2.0 | fb30153d9994a04e4a65b7d3ba05373261b95359 | 0 | jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2002-2011 Ausenco Engineering Canada Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (a... | src/main/java/com/jaamsim/basicsim/Simulation.java | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2002-2011 Ausenco Engineering Canada Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (a... | JS: Set default text for Simulation ReportDirectory to Configuration File Directory
Signed-off-by: Stephen Wong <6f34db11dd2258ec4ffa799eb0d7827f906cb1c6@ausenco.com>
| src/main/java/com/jaamsim/basicsim/Simulation.java | JS: Set default text for Simulation ReportDirectory to Configuration File Directory | <ide><path>rc/main/java/com/jaamsim/basicsim/Simulation.java
<ide> printReport = new BooleanInput("PrintReport", "Key Inputs", false);
<ide>
<ide> reportDirectory = new DirInput("ReportDirectory", "Key Inputs", null);
<add> reportDirectory.setDefaultText("Configuration File Directory");
<ide>
<ide> tickLengthI... | |
Java | mit | 6dbccf315b38612defbc1cea99de0a54528f357f | 0 | GlowstonePlusPlus/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus | package net.glowstone.util.linkstone;
import java.io.File;
import net.glowstone.linkstone.runtime.LinkstoneRuntimeData;
import net.glowstone.linkstone.runtime.boxing.BoxPatchVisitor;
import net.glowstone.linkstone.runtime.direct.DirectFieldAccessReplaceVisitor;
import net.glowstone.linkstone.runtime.inithook.ClassInit... | src/main/java/net/glowstone/util/linkstone/LinkstonePluginLoader.java | package net.glowstone.util.linkstone;
import java.io.File;
import net.glowstone.linkstone.runtime.LinkstoneRuntimeData;
import net.glowstone.linkstone.runtime.boxing.BoxPatchVisitor;
import net.glowstone.linkstone.runtime.direct.DirectFieldAccessReplaceVisitor;
import net.glowstone.linkstone.runtime.inithook.ClassInit... | possibly fix Linkstone error
| src/main/java/net/glowstone/util/linkstone/LinkstonePluginLoader.java | possibly fix Linkstone error | <ide><path>rc/main/java/net/glowstone/util/linkstone/LinkstonePluginLoader.java
<ide> LinkstoneRuntimeData.setPluginClassLoader(new ClassLoader() {
<ide> @Override
<ide> protected Class<?> findClass(String name) throws ClassNotFoundException {
<del> return getClassByName(n... | |
Java | epl-1.0 | e784d8963f468975a8f75bbc5e262d2d062771fa | 0 | stzilli/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua,stzilli/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua,stzilli/kapua,LeoNerdoG/kapua | /*******************************************************************************
* Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this... | console/src/main/java/org/eclipse/kapua/app/console/servlet/KapuaHttpServlet.java | /*******************************************************************************
* Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this... | Apply code formatter and cleanup profile, clean up | console/src/main/java/org/eclipse/kapua/app/console/servlet/KapuaHttpServlet.java | Apply code formatter and cleanup profile, clean up | <ide><path>onsole/src/main/java/org/eclipse/kapua/app/console/servlet/KapuaHttpServlet.java
<ide> import org.slf4j.Logger;
<ide> import org.slf4j.LoggerFactory;
<ide>
<del>public class KapuaHttpServlet extends HttpServlet
<del>{
<del> private static final long serialVersionUID = 8120495078076069807L;
<del> p... | |
Java | agpl-3.0 | 50f181877a76472a32fc0b9e0dffc7b02d936823 | 0 | elki-project/elki,elki-project/elki,elki-project/elki | package de.lmu.ifi.dbs.algorithm.clustering;
import de.lmu.ifi.dbs.algorithm.AbstractAlgorithm;
import de.lmu.ifi.dbs.algorithm.Algorithm;
import de.lmu.ifi.dbs.algorithm.result.clustering.ClustersPlusNoise;
import de.lmu.ifi.dbs.data.RealVector;
import de.lmu.ifi.dbs.database.AssociationID;
import de.lmu.ifi.dbs.data... | src/de/lmu/ifi/dbs/algorithm/clustering/ProjectedDBSCAN.java | package de.lmu.ifi.dbs.algorithm.clustering;
import de.lmu.ifi.dbs.algorithm.AbstractAlgorithm;
import de.lmu.ifi.dbs.algorithm.Algorithm;
import de.lmu.ifi.dbs.algorithm.result.clustering.ClustersPlusNoise;
import de.lmu.ifi.dbs.data.RealVector;
import de.lmu.ifi.dbs.database.AssociationID;
import de.lmu.ifi.dbs.data... | bugfixing GRMPF
| src/de/lmu/ifi/dbs/algorithm/clustering/ProjectedDBSCAN.java | bugfixing GRMPF | <ide><path>rc/de/lmu/ifi/dbs/algorithm/clustering/ProjectedDBSCAN.java
<ide> import de.lmu.ifi.dbs.database.Database;
<ide> import de.lmu.ifi.dbs.distance.DoubleDistance;
<ide> import de.lmu.ifi.dbs.distance.LocallyWeightedDistanceFunction;
<add>import de.lmu.ifi.dbs.logging.ProgressLogRecord;
<ide> import de.lmu.ifi.d... | |
Java | apache-2.0 | c4d9a4c82b926c7795b0b21b0d7558f005434a20 | 0 | resmo/cloudstack,mufaddalq/cloudstack-datera-driver,wido/cloudstack,GabrielBrascher/cloudstack,argv0/cloudstack,argv0/cloudstack,GabrielBrascher/cloudstack,cinderella/incubator-cloudstack,resmo/cloudstack,wido/cloudstack,resmo/cloudstack,resmo/cloudstack,cinderella/incubator-cloudstack,jcshen007/cloudstack,wido/cloudst... | /**
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It 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, e... | server/src/com/cloud/cluster/agentlb/ClusterBasedAgentLoadBalancerPlanner.java | /**
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It 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, e... | Agent LB: never get a part of the hosts from the xen cluster; skip the cluster if it has more hosts than we need
Reviewed-by: Alex Huang
| server/src/com/cloud/cluster/agentlb/ClusterBasedAgentLoadBalancerPlanner.java | Agent LB: never get a part of the hosts from the xen cluster; skip the cluster if it has more hosts than we need Reviewed-by: Alex Huang | <ide><path>erver/src/com/cloud/cluster/agentlb/ClusterBasedAgentLoadBalancerPlanner.java
<ide> int hostsLeft = directHosts.size();
<ide> List<HostVO> hostsToReturn = new ArrayList<HostVO>();
<ide>
<del> s_logger.debug("Management server " + msId + " can give away " + hostsToGive + " as i... | |
Java | lgpl-2.1 | e3c0cb3caec5c688f87c63f2e9e7c94f80bb587b | 0 | CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine |
/*
* jETeL/Clover - Java based ETL application framework.
* Copyright (C) 2002-04 David Pavlis <david_pavlis@hotmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software ... | cloveretl.engine/src/org/jetel/metadata/DataRecordMetadataXMLReaderWriter.java |
/*
* jETeL/Clover - Java based ETL application framework.
* Copyright (C) 2002-04 David Pavlis <david_pavlis@hotmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software ... | EOF delimiter
git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@3832 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
| cloveretl.engine/src/org/jetel/metadata/DataRecordMetadataXMLReaderWriter.java | EOF delimiter | <ide><path>loveretl.engine/src/org/jetel/metadata/DataRecordMetadataXMLReaderWriter.java
<ide> private static final String RECORD_SIZE_ATTR = "recordSize";
<ide> public static final String RECORD_DELIMITER_ATTR = "recordDelimiter";
<ide> private static final String DELIMITER_ATTR = "delimiter";
<add> private ... | |
JavaScript | bsd-3-clause | 60146cd243bb09a6127631f0dba699f6ca051fdd | 0 | scsibug/read52,scsibug/read52 | /*
* jQuery Plugin : jConfirmAction
*
* by Hidayat Sagita
* http://www.webstuffshare.com
* Licensed Under GPL version 2 license.
*
*/
/**
* Modifications to support more advanced 'onclick'-like handlers passed in through yesFunction.
* Greg Heartsfield <scsibug@imap.cc> 12-29-10
*/
(function($){
jQuery... | static/js/jconfirmaction.jquery.js | /*
* jQuery Plugin : jConfirmAction
*
* by Hidayat Sagita
* http://www.webstuffshare.com
* Licensed Under GPL version 2 license.
*
*/
(function($){
jQuery.fn.jConfirmAction = function (options) {
// Some jConfirmAction options (limited to customize language) :
// question : a text for your question.
... | Modified jConfirmAction to support onclick-like handlers.
| static/js/jconfirmaction.jquery.js | Modified jConfirmAction to support onclick-like handlers. | <ide><path>tatic/js/jconfirmaction.jquery.js
<ide> * Licensed Under GPL version 2 license.
<ide> *
<ide> */
<add>
<add>/**
<add> * Modifications to support more advanced 'onclick'-like handlers passed in through yesFunction.
<add> * Greg Heartsfield <scsibug@imap.cc> 12-29-10
<add> */
<add>
<ide> (function($){
<id... | |
Java | apache-2.0 | 3ec8de700f5e637ae368c44099ae636cf7788755 | 0 | WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules | /*
* Copyright (c) 2012-2014 LabKey Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | WNPRC_EHR/src/org/labkey/wnprc_ehr/table/WNPRC_EHRCustomizer.java | /*
* Copyright (c) 2012-2014 LabKey Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | Make the vendor id swap case insensitive
| WNPRC_EHR/src/org/labkey/wnprc_ehr/table/WNPRC_EHRCustomizer.java | Make the vendor id swap case insensitive | <ide><path>NPRC_EHR/src/org/labkey/wnprc_ehr/table/WNPRC_EHRCustomizer.java
<ide> "FROM " +
<ide> "studydataset." + arrival.getName() + " a, studydataset." + arrival.getName() + " b " +
<ide> " WHERE " +
<del> ... | |
Java | apache-2.0 | 26ccbc49beea5bc3b07232fcb432d91ea5e733fa | 0 | HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase | /**
* 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... | hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsWithACL.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... | HBASE-19949 TestRSGroupsWithACL fails with ExceptionInInitializerError
| hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsWithACL.java | HBASE-19949 TestRSGroupsWithACL fails with ExceptionInInitializerError | <ide><path>base-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsWithACL.java
<ide> import org.apache.hadoop.hbase.security.access.Permission;
<ide> import org.apache.hadoop.hbase.security.access.SecureTestUtil;
<ide> import org.apache.hadoop.hbase.security.access.TableAuthManager;
<add>import org.apac... | |
Java | mit | b2b8d737a2b184afe0b14d9ce293a967f036698d | 0 | nrinaudo/scala-csv,nrinaudo/tabulate | /*
* Copyright 2016 Nicolas Rinaudo
*
* 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... | jackson/src/main/java/kantan/csv/engine/jackson/JacksonCsv.java | /*
* Copyright 2016 Nicolas Rinaudo
*
* 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... | Appease unidoc by using complete class names rather than relying on imports to bring them in scope.
| jackson/src/main/java/kantan/csv/engine/jackson/JacksonCsv.java | Appease unidoc by using complete class names rather than relying on imports to bring them in scope. | <ide><path>ackson/src/main/java/kantan/csv/engine/jackson/JacksonCsv.java
<ide>
<ide> import com.fasterxml.jackson.databind.MappingIterator;
<ide> import com.fasterxml.jackson.databind.SequenceWriter;
<del>import com.fasterxml.jackson.dataformat.csv.CsvGenerator;
<ide> import com.fasterxml.jackson.dataformat.csv.CsvMa... | |
Java | apache-2.0 | 37c1d067436f03347ccc7a69eada0bc5fd6a8558 | 0 | amithadke/drill,parthchandra/incubator-drill,vkorukanti/drill,norrislee/incubator-drill,yufeldman/incubator-drill,Serhii-Harnyk/drill,activitystream/drill,adeneche/incubator-drill,cwestin/incubator-drill,akumarb2010/incubator-drill,caijieming-baidu/drill,puneetjaiswal/drill,vvysotskyi/drill,mapr-demos/drill-pcap-format... | /**
* 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... | exec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/AggPrelBase.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... | Fix DRILL-791: In Phase 1of2 use the agg expr ordinal and create new AggregateCall for non-COUNT functions.
| exec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/AggPrelBase.java | Fix DRILL-791: In Phase 1of2 use the agg expr ordinal and create new AggregateCall for non-COUNT functions. | <ide><path>xec/java-exec/src/main/java/org/apache/drill/exec/planner/physical/AggPrelBase.java
<ide>
<ide> phase2AggCallList.add(newAggCall);
<ide> } else {
<del> phase2AggCallList.add(aggCall.e);
<add> AggregateCall newAggCall =
<add> new AggregateCall(
<add> ... | |
JavaScript | mit | 75b197017f5445d71a91d1613c69180e2499b973 | 0 | pex-gl/pex-renderer,pex-gl/pex-renderer | const Signal = require('signals')
const vec3 = require('pex-math/vec3')
const vec4 = require('pex-math/vec4')
const mat4 = require('pex-math/mat4')
const aabb = require('pex-geom/aabb')
function vec4set4 (v, x, y, z, w) {
v[0] = x
v[1] = y
v[2] = z
v[3] = w
return v
}
// TODO remove, should in AABB
function... | transform.js | const Signal = require('signals')
const vec3 = require('pex-math/vec3')
const mat4 = require('pex-math/mat4')
const aabb = require('pex-geom/aabb')
// TODO remove, should in AABB
function emptyAABB (a) {
a[0][0] = Infinity
a[0][1] = Infinity
a[0][2] = Infinity
a[1][0] = -Infinity
a[1][1] = -Infinity
a[1][2... | Reuse data for bounding box calculation | transform.js | Reuse data for bounding box calculation | <ide><path>ransform.js
<ide> const Signal = require('signals')
<ide> const vec3 = require('pex-math/vec3')
<add>const vec4 = require('pex-math/vec4')
<ide> const mat4 = require('pex-math/mat4')
<ide> const aabb = require('pex-geom/aabb')
<add>
<add>function vec4set4 (v, x, y, z, w) {
<add> v[0] = x
<add> v[1] = y
<ad... | |
Java | apache-2.0 | 4be2a6d5781a91a8ca59d40325024fdf03bcfe74 | 0 | dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android | package org.commcare.dalvik.activities;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.database.DataSetObserver;
import a... | app/src/org/commcare/dalvik/activities/EntitySelectActivity.java | package org.commcare.dalvik.activities;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.database.DataSetObserver;
import a... | Bug fix: LOCATION_RESULT
| app/src/org/commcare/dalvik/activities/EntitySelectActivity.java | Bug fix: LOCATION_RESULT | <ide><path>pp/src/org/commcare/dalvik/activities/EntitySelectActivity.java
<ide> }
<ide> case LOCATION_REQUEST:
<ide> if (resultCode == RESULT_OK) {
<del> hereFunctionHandler.setLocationString(FormEntryActivity.LOCATION_RESULT);
<add> her... | |
Java | apache-2.0 | 3e895c6e9549b48856598a8ea949e1e2d904732c | 0 | chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq | /**
*
* 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 ... | activemq-camel/src/main/java/org/apache/activemq/camel/component/CamelEndpointLoader.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 ... | fix for: https://issues.apache.org/jira/browse/AMQ-3139
git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@1074300 13f79535-47bb-0310-9956-ffa450edef68
| activemq-camel/src/main/java/org/apache/activemq/camel/component/CamelEndpointLoader.java | fix for: https://issues.apache.org/jira/browse/AMQ-3139 | <ide><path>ctivemq-camel/src/main/java/org/apache/activemq/camel/component/CamelEndpointLoader.java
<ide> /**
<ide> * A helper bean which populates a {@link CamelContext} with ActiveMQ Queue endpoints
<ide> *
<del> *
<add> *
<ide> * @org.apache.xbean.XBean
<ide> */
<ide> public class CamelEndpointLoader implements... | |
Java | apache-2.0 | 937fccafab996e2769471f5fc23e5f25b2c7513a | 0 | baszero/yanel,wyona/yanel,baszero/yanel,baszero/yanel,wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel,baszero/yanel,baszero/yanel,baszero/yanel | package org.wyona.yanel.servlet.security.impl;
import org.wyona.yanel.core.map.Map;
import org.wyona.yanel.core.map.Realm;
import org.wyona.yanel.servlet.IdentityMap;
import org.wyona.yanel.servlet.YanelServlet;
import org.wyona.yanel.core.api.security.WebAuthenticator;
import org.wyona.security.core.api.AccessManage... | src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java | package org.wyona.yanel.servlet.security.impl;
import org.wyona.yanel.core.map.Map;
import org.wyona.yanel.core.map.Realm;
import org.wyona.yanel.servlet.IdentityMap;
import org.wyona.yanel.servlet.YanelServlet;
import org.wyona.yanel.core.api.security.WebAuthenticator;
import org.wyona.security.core.api.AccessManage... | create user with openid as user id and add to identity map
| src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java | create user with openid as user id and add to identity map | <ide><path>rc/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java
<ide> import org.wyona.security.core.ExpiredIdentityException;
<ide> import org.wyona.security.core.api.Identity;
<ide> import org.wyona.security.core.api.User;
<add>import org.wyona.security.core.api.UserManager;
<ide>... | |
Java | apache-2.0 | 73a12aa34d4494f87df6a03a6465c020f54a777e | 0 | MagicWiz/log4j2,lburgazzoli/apache-logging-log4j2,apache/logging-log4j2,GFriedrich/logging-log4j2,lqbweb/logging-log4j2,lburgazzoli/apache-logging-log4j2,xnslong/logging-log4j2,jinxuan/logging-log4j2,jinxuan/logging-log4j2,neuro-sys/logging-log4j2,ChetnaChaudhari/logging-log4j2,GFriedrich/logging-log4j2,MagicWiz/log4j2... | /*
* 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... | log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginBuilder.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... | Only use plugin visitor value if non-null.
- Makes behavior in factory method version match up better with builder class version.
- Allows for multiple annotations on a single item where only one of them may return a value (e.g., for LOG4J2-825).
| log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginBuilder.java | Only use plugin visitor value if non-null. | <ide><path>og4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginBuilder.java
<ide> final PluginVisitor<? extends Annotation> visitor = PluginVisitors.findVisitor(
<ide> a.annotationType());
<ide> if (visitor != null) {
<del> ... | |
JavaScript | mit | 19f587f279a1c7e60ba43f04f956cd333add4251 | 0 | OmarElGabry/miniPHP,OmarElGabry/miniPHP | /*
* Document : main.js
* Author : Omar El Gabry <omar.elgabry.93@gmail.com>
* Description: Main Javascript file for the application.
* It handles all Ajax calls, Events, and DOM Manipulations
*
*/
/*
* Configuration Variables
* An Object with key-value paris assigned in footer.php
*
... | public/js/main.js | /*
* Document : main.js
* Author : Omar El Gabry <omar.elgabry.93@gmail.com>
* Description: Main Javascript file for the application.
* It handles all Ajax calls, Events, and DOM Manipulations
*
*/
/*
* Configuration Variables
* An Object with key-value paris assigned in footer.php
*
... | #8 Fix Login tabs events
Tabs at login page were removed by mistake | public/js/main.js | #8 Fix Login tabs events | <ide><path>ublic/js/main.js
<ide> */
<ide> login: {
<ide> init: function(){
<add> events.login.tabs();
<add> },
<add> tabs: function(){
<add> $("#form-login #link-forgot-password, #form-forgot-password #link-login").click(function() {
<add>
<add> ... | |
JavaScript | agpl-3.0 | 9c6e6a9858f9dcc636a54cb964e5ddb56254aae2 | 0 | atelier-cartographique/waend,atelier-cartographique/waend,atelier-cartographique/waend | /*
* app/lib/commands/widgets/ValueSelect.js
*
*
* Copyright (C) 2015 Pierre Marchand <pierremarc07@gmail.com>
*
* License in LICENSE file at the root of the repository.
*
*/
var _ = require('underscore'),
rbush = require('rbush'),
O = require('../../../../lib/object').Object;
function Value (val, ... | app/lib/commands/widgets/ValueSelect.js | /*
* app/lib/commands/widgets/ValueSelect.js
*
*
* Copyright (C) 2015 Pierre Marchand <pierremarc07@gmail.com>
*
* License in LICENSE file at the root of the repository.
*
*/
var _ = require('underscore'),
rbush = require('rbush'),
O = require('../../../../lib/object').Object;
function Value (val, ... | valueselect new proto
| app/lib/commands/widgets/ValueSelect.js | valueselect new proto | <ide><path>pp/lib/commands/widgets/ValueSelect.js
<ide> O = require('../../../../lib/object').Object;
<ide>
<ide>
<del>function Value (val, size) {
<add>function Value (val, size, align) {
<ide> this.value = val;
<ide> this.size = size;
<add> this.align = align || 'center';
<ide> }
<ide>
<del>Value.pr... | |
Java | apache-2.0 | 2e39ac2cdd4c5442196523cc92d913b0f319d7bb | 0 | learning-layers/LivingDocumentsServer,learning-layers/LivingDocumentsServer,learning-layers/LivingDocumentsServer | /**
* Code contributed to the Learning Layers project
* http://www.learning-layers.eu
* Development is partly funded by the FP7 Programme of the European
* Commission under Grant Agreement FP7-ICT-318209.
* Copyright (c) 2014, Karlsruhe University of Applied Sciences.
* For a list of contributors see the AUTHORS ... | ld-content/src/test/java/de/hska/ld/content/controller/FolderControllerIntegrationTest.java | /**
* Code contributed to the Learning Layers project
* http://www.learning-layers.eu
* Development is partly funded by the FP7 Programme of the European
* Commission under Grant Agreement FP7-ICT-318209.
* Copyright (c) 2014, Karlsruhe University of Applied Sciences.
* For a list of contributors see the AUTHORS ... | - added toDo comment for johannes
| ld-content/src/test/java/de/hska/ld/content/controller/FolderControllerIntegrationTest.java | - added toDo comment for johannes | <ide><path>d-content/src/test/java/de/hska/ld/content/controller/FolderControllerIntegrationTest.java
<ide> import de.hska.ld.content.dto.FolderDto;
<ide> import de.hska.ld.content.persistence.domain.Document;
<ide> import de.hska.ld.content.persistence.domain.Folder;
<del>import de.hska.ld.content.persistence.domain.T... | |
Java | apache-2.0 | 3f2a9e515e415636ba2b41eae66b95b5a2a60e4b | 0 | coxjc/penn-pong,coxjc/penn-pong | /**
* CIS 120 Game HW
* (c) University of Pennsylvania
* @version 2.0, Mar 2013
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
/**
* GameCourt
*
* This class hold... | GameCourt.java | /**
* CIS 120 Game HW
* (c) University of Pennsylvania
* @version 2.0, Mar 2013
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
/**
* GameCourt
*
* This class hold... | SUBJ: Remove Mushroom
MSG:
1) Remove stupid mushroom from the GameBoard
| GameCourt.java | SUBJ: Remove Mushroom MSG: 1) Remove stupid mushroom from the GameBoard | <ide><path>ameCourt.java
<ide> private Rectangle paddle_left;
<ide> private Rectangle paddle_right;
<ide> private Circle snitch; // the Golden Snitch, bounces
<del> private Poison poison; // the Poison Mushroom, doesn't move
<ide> private JLabel status; // Current status text (i.e. Running...)
<ide> ... | |
Java | apache-2.0 | b87d3b4891fe098d9a6ed48a2ecbd0f37b6f78c5 | 0 | serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2016-2016 Karl Griesser (fullref@gmail.com)
* Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published... | plugins/org.jkiss.dbeaver.ext.exasol/src/org/jkiss/dbeaver/ext/exasol/model/ExasolScript.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2016-2016 Karl Griesser (fullref@gmail.com)
* Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published... | Hide SQL Text Field -> is show in DDL
Former-commit-id: 0b8d9c3aad24d1c18b9492c3da3ff98a48849048 | plugins/org.jkiss.dbeaver.ext.exasol/src/org/jkiss/dbeaver/ext/exasol/model/ExasolScript.java | Hide SQL Text Field -> is show in DDL | <ide><path>lugins/org.jkiss.dbeaver.ext.exasol/src/org/jkiss/dbeaver/ext/exasol/model/ExasolScript.java
<ide> }
<ide>
<ide> @NotNull
<del> @Property(viewable = false, order = 15)
<add> @Property(hidden = true)
<ide> public String getSql() {
<ide> return this.scriptSQL;
<ide> } | |
JavaScript | bsd-3-clause | 2e7d9cab9b876e87015503d8a168444ea437bbb2 | 0 | monarch-initiative/monarch-app,kshefchek/monarch-app,jmcmurry/monarch-app,jmcmurry/monarch-app,monarch-initiative/monarch-app,kshefchek/monarch-app,DoctorBud/monarch-app,kshefchek/monarch-app,jmcmurry/monarch-app,jmcmurry/monarch-app,monarch-initiative/monarch-app,monarch-initiative/monarch-app,DoctorBud/monarch-app,mo... | /*
* Package: datagraph.js
*
* Namespace: monarch.bbop.datagraph
*
*/
// Module and namespace checking.
if (typeof bbop == 'undefined') { var bbop = {};}
if (typeof bbop.monarch == 'undefined') { bbop.monarch = {};}
bbop.monarch.datagraph = function(config){
if (config == null || typeof config == 'un... | widgets/datagraph/js/datagraph.js | /*
* Package: datagraph.js
*
* Namespace: monarch.bbop.datagraph
*
*/
// Module and namespace checking.
if (typeof bbop == 'undefined') { var bbop = {};}
if (typeof bbop.monarch == 'undefined') { bbop.monarch = {};}
bbop.monarch.datagraph = function(config){
if (config == null || typeof config == 'un... | datagraph refactor transition/grouped transitions | widgets/datagraph/js/datagraph.js | datagraph refactor transition/grouped transitions | <ide><path>idgets/datagraph/js/datagraph.js
<ide> .attr("height", graphConfig.y0.rangeBand())
<ide> .attr("y", function(d) { return graphConfig.y1(d.name); })
<ide>
<del> rect.on("mouseover", function(d){
<del>
<del> d3.select(this)
<add> rect.on("mouseover", function(d){... | |
JavaScript | apache-2.0 | e95f331c95326e79b59affcd2157eba011614862 | 0 | Kegsay/github-pull-review,Kegsay/github-pull-review,Kegsay/github-pull-review | "use strict";
var Comment = require("./models/comment");
var User = require("./models/user");
var Commit = require("./models/commit");
var FileDiff = require("./models/file-diff");
var Patch = require("./models/patch");
var Ref = require("./models/ref");
var Repo = require("./models/repo");
var LineComment = require(".... | lib/logic/api-mapper.js | "use strict";
var Comment = require("./models/comment");
var User = require("./models/user");
var Commit = require("./models/commit");
var FileDiff = require("./models/file-diff");
var Patch = require("./models/patch");
var Ref = require("./models/ref");
var Repo = require("./models/repo");
var LineComment = require(".... | Use a slightly more sane URL
| lib/logic/api-mapper.js | Use a slightly more sane URL | <ide><path>ib/logic/api-mapper.js
<ide> if (!obj.author) {
<ide> author = {
<ide> login: `${obj.commit.author.name} <${obj.commit.author.email}>`,
<del> avatar_url: "https://i2.wp.com/assets-cdn.github.com/images/gravatars/gravatar-user-420.png?ssl=1",
<add> avatar_url: "ht... | |
Java | lgpl-2.1 | 06eeb75ded9096b14f73c5a8c046b760276b0a92 | 0 | RemiKoutcherawy/exist,opax/exist,patczar/exist,zwobit/exist,joewiz/exist,ambs/exist,dizzzz/exist,hungerburg/exist,zwobit/exist,windauer/exist,zwobit/exist,zwobit/exist,kohsah/exist,wshager/exist,adamretter/exist,wshager/exist,windauer/exist,jensopetersen/exist,wshager/exist,jessealama/exist,eXist-db/exist,olvidalo/exis... | /*
* eXist Open Source Native XML Database
* Copyright (C) 2000-04, Wolfgang M. Meier (wolfgang@exist-db.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
* as published by the Free Software Foundation; either version... | src/org/exist/xquery/LocationStep.java | /*
* eXist Open Source Native XML Database
* Copyright (C) 2000-04, Wolfgang M. Meier (wolfgang@exist-db.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
* as published by the Free Software Foundation; either version... | Improved following/preceding sibling axis selection.
svn path=/branches/DLN/eXist-1.0/; revision=3186
| src/org/exist/xquery/LocationStep.java | Improved following/preceding sibling axis selection. | <ide><path>rc/org/exist/xquery/LocationStep.java
<ide> import org.exist.dom.NodeProxy;
<ide> import org.exist.dom.NodeSet;
<ide> import org.exist.dom.NodeSetHelper;
<add>import org.exist.dom.NodeVisitor;
<ide> import org.exist.dom.StoredNode;
<ide> import org.exist.dom.VirtualNodeSet;
<ide> import org.exist.numbering.N... | |
Java | lgpl-2.1 | 085991f604bd07bafaa1b47d6137483d4b0f868d | 0 | OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs | /////////////////////////////////////////////////////////////////////////////
// This file is part of the "OPeNDAP Web Coverage Service Project."
//
// Copyright (c) 2010 OPeNDAP, Inc.
//
// Authors:
// Haibo Liu <haibo@iri.columbia.edu>
// Nathan David Potter <ndp@opendap.org>
// Benno Blumenthal <benno@... | src/opendap/semantics/IRISail/RdfImporter.java | /////////////////////////////////////////////////////////////////////////////
// This file is part of the "OPeNDAP Web Coverage Service Project."
//
// Copyright (c) 2010 OPeNDAP, Inc.
//
// Authors:
// Haibo Liu <haibo@iri.columbia.edu>
// Nathan David Potter <ndp@opendap.org>
// Benno Blumenthal <benno@... | document
| src/opendap/semantics/IRISail/RdfImporter.java | document | <ide><path>rc/opendap/semantics/IRISail/RdfImporter.java
<ide> /**
<ide> * Find and import all needed RDF documents into the repository.
<ide> *
<del> * @param repository
<del> * @param doNotImportUrls
<del> * @return
<add> * @param repository - the RDF store.
<add> * @param doNotImpor... | |
Java | apache-2.0 | 715c34cd73cf695b7958f6aeeb219dd609f88c5c | 0 | davidwatkins73/waltz-dev,davidwatkins73/waltz-dev,davidwatkins73/waltz-dev,davidwatkins73/waltz-dev | package org.finos.waltz.model.bulk_upload;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.finos.waltz.model.EntityKind;
import org.finos.waltz.model.EntityReference;
import org.finos.waltz.model.command.Command;
import org.... | waltz-model/src/main/java/org/finos/waltz/model/bulk_upload/BulkUploadCommand.java | package org.finos.waltz.model.bulk_upload;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.finos.waltz.model.EntityKind;
import org.finos.waltz.model.EntityReference;
import org.immutables.value.Value;
import java.util.List;... | Fixing build | waltz-model/src/main/java/org/finos/waltz/model/bulk_upload/BulkUploadCommand.java | Fixing build | <ide><path>altz-model/src/main/java/org/finos/waltz/model/bulk_upload/BulkUploadCommand.java
<ide> import com.fasterxml.jackson.databind.annotation.JsonSerialize;
<ide> import org.finos.waltz.model.EntityKind;
<ide> import org.finos.waltz.model.EntityReference;
<add>import org.finos.waltz.model.command.Command;
<add>
<... | |
Java | apache-2.0 | 573be48ce0fbb7f11f0d26462289b50f6fca1f34 | 0 | vsilaev/tascalate-concurrent | /**
* Copyright 2015-2020 Valery Silaev (http://vsilaev.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... | src/main/java/net/tascalate/concurrent/var/ContextTrampoline.java | /**
* Copyright 2015-2020 Valery Silaev (http://vsilaev.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... | minor fix in ContextTrampoline
| src/main/java/net/tascalate/concurrent/var/ContextTrampoline.java | minor fix in ContextTrampoline | <ide><path>rc/main/java/net/tascalate/concurrent/var/ContextTrampoline.java
<ide>
<ide> @Override
<ide> public TaskExecutorService bind(TaskExecutorService executorService, Propagation propagation) {
<del> return super.bind(executorService, propagation);
<add> return executorServi... | |
JavaScript | mit | c2759937e3304c1b4f32a239d90e6a0da3ef1a22 | 0 | jujaga/ice-lotto-meteor,jujaga/ice-lotto-meteor,charlieman/ice-lotto-meteor,charlieman/ice-lotto-meteor | isAdmin = function (user) {
user = (typeof user === 'undefined') ? Meteor.user() : user;
return !!user && !!user.profile && user.profile.admin === true;
};
isAdminById = function (userId) {
var user = Meteor.users.findOne(userId);
return isAdmin(user);
};
isVerified = function(user) {
return !!user && !!use... | lib/permissions.js | isAdmin = function (user) {
user = (typeof user === 'undefined') ? Meteor.user() : user;
return !!user && !!user.profile && user.profile.admin === true;
};
isAdminById = function (userId) {
var user = Meteor.users.findOne(userId);
return isAdmin(user);
};
isVerified = function(user) {
return !!user && !!use... | Check for the current user if none is passed to the function
| lib/permissions.js | Check for the current user if none is passed to the function | <ide><path>ib/permissions.js
<ide> };
<ide>
<ide> isSuperAdmin = function(user) {
<add> user = (typeof user === 'undefined') ? Meteor.user() : user;
<ide> return !!user && !!user.profile && user.profile.superadmin === true;
<ide> }; | |
Java | apache-2.0 | c271dfbae5d12cecca07f05463fedd4ae22de115 | 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/Action.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
* ... | correction warning findbugs | javamelody-core/src/main/java/net/bull/javamelody/Action.java | correction warning findbugs | <ide><path>avamelody-core/src/main/java/net/bull/javamelody/Action.java
<ide> path = file.getParent();
<ide> }
<ide> } else {
<del> file.mkdirs();
<add> if (!file.mkdirs()) {
<add> throw new IllegalStateException("Can't create directory " + file.getPath());
<add> }
<ide> path = heap... | |
Java | apache-2.0 | c64a748243632802520af8efcc25cc99b646b6e4 | 0 | xquery/marklogic-sesame,supriyantomaftuh/marklogic-sesame,marklogic/marklogic-sesame,xquery/marklogic-sesame,supriyantomaftuh/marklogic-sesame,supriyantomaftuh/marklogic-sesame,marklogic/marklogic-sesame,marklogic/marklogic-sesame,xquery/marklogic-sesame | package com.marklogic.semantics.sesame;
import com.marklogic.client.document.XMLDocumentManager;
import com.marklogic.client.io.StringHandle;
import com.marklogic.client.query.QueryManager;
import com.marklogic.client.semantics.Capability;
import com.marklogic.client.semantics.GraphManager;
import com.marklogic.seman... | marklogic-sesame/src/test/java/com/marklogic/semantics/sesame/MarkLogicGraphPermsTest.java | package com.marklogic.semantics.sesame;
import com.marklogic.client.document.XMLDocumentManager;
import com.marklogic.client.io.StringHandle;
import com.marklogic.client.query.QueryManager;
import com.marklogic.client.semantics.Capability;
import com.marklogic.client.semantics.GraphManager;
import com.marklogic.seman... | Tests for graph perms
| marklogic-sesame/src/test/java/com/marklogic/semantics/sesame/MarkLogicGraphPermsTest.java | Tests for graph perms | <ide><path>arklogic-sesame/src/test/java/com/marklogic/semantics/sesame/MarkLogicGraphPermsTest.java
<ide> import com.marklogic.client.semantics.Capability;
<ide> import com.marklogic.client.semantics.GraphManager;
<ide> import com.marklogic.semantics.sesame.query.MarkLogicUpdateQuery;
<del>import org.junit.After;
<del... | |
Java | lgpl-2.1 | 281b2e2cf1bc8e2dddd53029a0b26a7010749a9c | 0 | wildfly/wildfly,wildfly/wildfly,pferraro/wildfly,golovnin/wildfly,tadamski/wildfly,xasx/wildfly,wildfly/wildfly,jstourac/wildfly,pferraro/wildfly,rhusar/wildfly,tomazzupan/wildfly,tadamski/wildfly,tadamski/wildfly,xasx/wildfly,pferraro/wildfly,pferraro/wildfly,tomazzupan/wildfly,rhusar/wildfly,xasx/wildfly,iweiss/wildf... | /*
*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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... | undertow/src/main/java/org/wildfly/extension/undertow/AccessLogService.java | /*
*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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... | WFLY-5648 Access log message fails to be written to recreated access log on Windows
| undertow/src/main/java/org/wildfly/extension/undertow/AccessLogService.java | WFLY-5648 Access log message fails to be written to recreated access log on Windows | <ide><path>ndertow/src/main/java/org/wildfly/extension/undertow/AccessLogService.java
<ide> import org.jboss.msc.service.StopContext;
<ide> import org.jboss.msc.value.InjectedValue;
<ide> import org.wildfly.extension.undertow.logging.UndertowLogger;
<add>import org.xnio.IoUtils;
<ide> import org.xnio.XnioWorker;
<ide> ... | |
JavaScript | mit | 7b50508d12b842dee98450c09722dd4342ed9f4a | 0 | MayukhKundu/Pokemon-Domain,yashagl/yash-showdown,Tesarand/Pokemon-Showdown,LightningStormServer/Lightning-Storm,SilverTactic/Showdown-Boilerplate,jd4564/Pokemon-Showdown,hayleysworld/harmonia,MayukhKundu/Mudkip-Server,KaitoV4X/Showdown,JennyPRO/Jenny,Breakfastqueen/advanced,Irraquated/Pokemon-Showdown,JellalTheMage/Jel... | exports.BattleFormatsData = {
bulbasaur: {
randomBattleMoves: ["sleeppowder","gigadrain","hiddenpowerfire","hiddenpowerice","sludgebomb","powerwhip","leechseed","synthesis"],
randomDoubleBattleMoves: ["sleeppowder","gigadrain","hiddenpowerfire","hiddenpowerice","sludgebomb","powerwhip","protect"],
eventPokemon: ... | data/formats-data.js | exports.BattleFormatsData = {
bulbasaur: {
randomBattleMoves: ["sleeppowder","gigadrain","hiddenpowerfire","hiddenpowerice","sludgebomb","powerwhip","leechseed","synthesis"],
randomDoubleBattleMoves: ["sleeppowder","gigadrain","hiddenpowerfire","hiddenpowerice","sludgebomb","powerwhip","protect"],
eventPokemon: ... | Update Random Battle moves
Reverted some from 03150fd7c039482e79eedfe06c85dfa83acb2344 and added a
few changes.
| data/formats-data.js | Update Random Battle moves | <ide><path>ata/formats-data.js
<ide> tier: "RU"
<ide> },
<ide> kangaskhan: {
<del> randomBattleMoves: ["return","suckerpunch","earthquake","poweruppunch","drainpunch","crunch","fakeout"],
<add> randomBattleMoves: ["return","suckerpunch","earthquake","drainpunch","crunch","fakeout"],
<ide> randomDoubleBattleMove... | |
Java | mit | b0001cab8ba69ef65d255f6ad563a2a07a002a8d | 0 | wrapp/WebImage-Android,wrapp/WebImage-Android | /*
* Copyright (c) 2011 Bohemian Wrappsody AB
*
* 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, merg... | src/com/wrapp/android/webimage/ImageCache.java | /*
* Copyright (c) 2011 Bohemian Wrappsody AB
*
* 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, merg... | Making methods public for static access
| src/com/wrapp/android/webimage/ImageCache.java | Making methods public for static access | <ide><path>rc/com/wrapp/android/webimage/ImageCache.java
<ide> public class ImageCache {
<ide> private static final long ONE_DAY_IN_SEC = 24 * 60 * 60;
<ide> private static final long CACHE_RECHECK_AGE_IN_SEC = ONE_DAY_IN_SEC;
<del> private static final long CACHE_RECHECK_AGE_IN_MS = CACHE_RECHECK_AGE_IN_SEC * 100... | |
Java | mit | e9fc05a0c1f24b0a4076c144627fbbaba30d8ffb | 0 | GlobalTechnology/gma-android | package com.expidev.gcmapp.service;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.SQLException;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.content.LocalBroadcastManager;
import android... | app/src/main/java/com/expidev/gcmapp/service/MeasurementsService.java | package com.expidev.gcmapp.service;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.SQLException;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.content.LocalBroadcastManager;
import android... | Save the current time in the database for measurements and details
| app/src/main/java/com/expidev/gcmapp/service/MeasurementsService.java | Save the current time in the database for measurements and details | <ide><path>pp/src/main/java/com/expidev/gcmapp/service/MeasurementsService.java
<ide> import java.text.SimpleDateFormat;
<ide> import java.util.ArrayList;
<ide> import java.util.Calendar;
<add>import java.util.Date;
<ide> import java.util.List;
<ide> import java.util.Locale;
<ide>
<ide> // update measureme... | |
Java | apache-2.0 | 980fac46eb580e5f8b11a20dab25e8e99f697d21 | 0 | lmdbjava/lmdbjava,phraktle/lmdbjava | /*
* Copyright 2016 The LmdbJava Project, http://lmdbjava.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | src/test/java/org/lmdbjava/DbiTest.java | /*
* Copyright 2016 The LmdbJava Project, http://lmdbjava.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Make DbiTest of reserve a little clearer
| src/test/java/org/lmdbjava/DbiTest.java | Make DbiTest of reserve a little clearer | <ide><path>rc/test/java/org/lmdbjava/DbiTest.java
<ide> package org.lmdbjava;
<ide>
<ide> import java.io.File;
<add>import static java.lang.Integer.MAX_VALUE;
<ide> import java.nio.ByteBuffer;
<ide> import static java.nio.ByteBuffer.allocateDirect;
<ide> import static java.util.Collections.nCopies;
<ide> public void... | |
Java | apache-2.0 | 32ec15da348f163110041ac85842ca1ce9112547 | 0 | GiovanniPaoloGibilisco/spark-log-processor,GiovanniPaoloGibilisco/spark-log-processor,GiovanniPaoloGibilisco/spark-log-processor | package it.polimi.spark;
import it.polimi.spark.dag.RDDnode;
import it.polimi.spark.dag.Stagenode;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.... | sparkloggerparser/src/main/java/it/polimi/spark/LoggerParser.java | package it.polimi.spark;
import it.polimi.spark.dag.RDDnode;
import it.polimi.spark.dag.Stagenode;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.... | [Parser]
added export of general app info (useful for scripting) | sparkloggerparser/src/main/java/it/polimi/spark/LoggerParser.java | [Parser] added export of general app info (useful for scripting) | <ide><path>parkloggerparser/src/main/java/it/polimi/spark/LoggerParser.java
<ide> logger.warn(
<ide> "The application could not be added to the database ",
<ide> e);
<add> }finally{
<add> saveApplicationInfo(application.getClusterName(), application.getAppID(), application.getAppName(), config.dbUs... | |
Java | apache-2.0 | f9c8a8dba785a6c9dc8163c541f2b0c46111e122 | 0 | aygalinc/Context-SOCM,aygalinc/Context-SOCM | package fr.liglab.adele.cream.annotations.entity;
import fr.liglab.adele.cream.annotations.behavior.Behavior;
import fr.liglab.adele.cream.annotations.internal.BehaviorReference;
import fr.liglab.adele.cream.utils.CustomInvocationHandler;
import fr.liglab.adele.cream.utils.SuccessorStrategy;
import org.apache.felix.ip... | cream-core/src/main/java/fr/liglab/adele/cream/annotations/entity/ContextProvideStrategy.java | package fr.liglab.adele.cream.annotations.entity;
import fr.liglab.adele.cream.annotations.behavior.Behavior;
import fr.liglab.adele.cream.annotations.internal.BehaviorReference;
import fr.liglab.adele.cream.utils.CustomInvocationHandler;
import fr.liglab.adele.cream.utils.SuccessorStrategy;
import org.apache.felix.ip... | Add try catch if import package of context entity does not allowed to create a proxy , it swtiches on a singleton strategy
| cream-core/src/main/java/fr/liglab/adele/cream/annotations/entity/ContextProvideStrategy.java | Add try catch if import package of context entity does not allowed to create a proxy , it swtiches on a singleton strategy | <ide><path>ream-core/src/main/java/fr/liglab/adele/cream/annotations/entity/ContextProvideStrategy.java
<ide> import org.apache.felix.ipojo.handlers.providedservice.CreationStrategy;
<ide> import org.osgi.framework.Bundle;
<ide> import org.osgi.framework.ServiceRegistration;
<add>import org.slf4j.Logger;
<add>import or... | |
Java | unlicense | 7b86245783c9da1f6a8ec91aa794c72ba740bcb1 | 0 | danielricci/Chess | /**
* Daniel Ricci <thedanny09@gmail.com>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
... | Chess/src/game/components/BoardComponent.java | /**
* Daniel Ricci <thedanny09@gmail.com>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
... | #fixes 117
- Fixed a bug where the king could move out of check by performing a
castle. The king can no longer castle when in check | Chess/src/game/components/BoardComponent.java | #fixes 117 | <ide><path>hess/src/game/components/BoardComponent.java
<ide> }
<ide>
<ide> // If the current tile has an entity and it can be used to castle
<del> if(tileModel.getEntity() != null && tileModel.getEntity().getIsCastlableFromCandidate()) {
<add> if(tileModel.getEntity() != null && ... | |
Java | apache-2.0 | 08f890e2c327cdf7bae4331fa83ab3d0f578c940 | 0 | lolocripto/wikokit,componavt/wikokit,componavt/wikokit,lolocripto/wikokit,componavt/wikokit,componavt/wikokit,lolocripto/wikokit,componavt/wikokit,lolocripto/wikokit,lolocripto/wikokit,componavt/wikokit | /* ShortestPathRelation.java - Distance calculations.
*
* Copyright (c) 2009 Andrew Krizhanovsky <andrew.krizhanovsky at gmail.com>
* Distributed under GNU Public License.
*/
package wigraph.experiment;
import wigraph.PathSearcher;
import wigraph.DistanceData;
import wigraph.LoadRelations;
import wikipedia.sql.C... | wigraph/src/wigraph/experiment/ShortestPathEnViaRu353.java | /* ShortestPathRelation.java - Distance calculations.
*
* Copyright (c) 2009 Andrew Krizhanovsky <andrew.krizhanovsky at gmail.com>
* Distributed under GNU Public License.
*/
package wigraph.experiment;
import wigraph.PathSearcher;
import wigraph.DistanceData;
import wigraph.LoadRelations;
import wikipedia.sql.C... | + small changes | wigraph/src/wigraph/experiment/ShortestPathEnViaRu353.java | + small changes | <ide><path>igraph/src/wigraph/experiment/ShortestPathEnViaRu353.java
<ide> for(i=320; i<wordsim353.data.size(); i ++) { WordSim w = wordsim353.data.get(i);
<ide> String word1 = w.word1;
<ide> String word2 = w.word2;
<del> //word1 = "noon"; // computer plane smart Jerusa... | |
Java | mit | a8fc16a72c9d32afffbe301ef7cbfccf66e01676 | 0 | CodeKingdomsTeam/SpongeVanilla,kenzierocks/SpongeVanilla,DDoS/SpongeVanilla,DDoS/SpongeVanilla,CodeKingdomsTeam/SpongeVanilla,kenzierocks/SpongeVanilla | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | src/main/java/org/spongepowered/vanilla/mixin/world/MixinWorld.java | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | Surrogate setBlockState to fix LVT error in production.
Signed-off-by: Chris Sanders <becb1b07b5e7418402924748493938777e4ce438@outlook.com>
| src/main/java/org/spongepowered/vanilla/mixin/world/MixinWorld.java | Surrogate setBlockState to fix LVT error in production. | <ide><path>rc/main/java/org/spongepowered/vanilla/mixin/world/MixinWorld.java
<ide> }
<ide> }
<ide>
<add> @Surrogate
<add> public void callMarkAndNotifyBlock(BlockPos pos, IBlockState newState, int flags, CallbackInfoReturnable<Boolean> cir, Chunk chunk, Block block,
<add> IBlockState iblo... | |
JavaScript | apache-2.0 | 4fb2a8e021d65f5a7b5dfc4b26ca007226ceb6d1 | 0 | radicalbit/ambari,arenadata/ambari,sekikn/ambari,sekikn/ambari,sekikn/ambari,alexryndin/ambari,alexryndin/ambari,sekikn/ambari,sekikn/ambari,radicalbit/ambari,arenadata/ambari,radicalbit/ambari,alexryndin/ambari,alexryndin/ambari,radicalbit/ambari,sekikn/ambari,sekikn/ambari,alexryndin/ambari,alexryndin/ambari,arenadat... | /**
* 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-admin/src/main/resources/ui/admin-web/app/scripts/controllers/ambariViews/ViewsEditCtrl.js | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | AMBARI-7893 Slider View: Updating view params in UI breaks masked params. (atkach)
| ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/ambariViews/ViewsEditCtrl.js | AMBARI-7893 Slider View: Updating view params in UI breaks masked params. (atkach) | <ide><path>mbari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/ambariViews/ViewsEditCtrl.js
<ide> 'description': $scope.instance.ViewInstanceInfo.description
<ide> };
<ide>
<del> $scope.configuration = angular.copy($scope.instance.ViewInstanceInfo.properties);
<del> for(var conf... | |
Java | bsd-2-clause | a98d833d56d8a4ef3bf88ed35ba5931b4d8f083c | 0 | laffer1/justjournal,laffer1/justjournal,laffer1/justjournal,laffer1/justjournal | package com.justjournal;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.Filter;
import javax.servlet.Filt... | src/main/java/com/justjournal/CrawlFilter.java | package com.justjournal;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.Filter;
import javax.servlet.Filt... | lower the timeout so the process is a little faster for crawlers.
| src/main/java/com/justjournal/CrawlFilter.java | lower the timeout so the process is a little faster for crawlers. | <ide><path>rc/main/java/com/justjournal/CrawlFilter.java
<ide> String pageName = pageNameSb.toString();
<ide> HtmlPage page = webClient.getPage(pageName);
<ide> webClient.waitForBackgroundJavaScriptStartingBefore(2000);
<del> webClient.waitForBackgroundJavaScript(10000);
<... | |
Java | apache-2.0 | 11274e0b741b6b014f1fa87f40553c1aa228a9a8 | 0 | chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq | /**
* 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... | activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.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... | resolve https://issues.apache.org/activemq/browse/AMQ-2493 - patch applied with thanks
git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@880696 13f79535-47bb-0310-9956-ffa450edef68
| activemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java | resolve https://issues.apache.org/activemq/browse/AMQ-2493 - patch applied with thanks | <ide><path>ctivemq-core/src/main/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapter.java
<ide> adapter = finder.newInstance(dirverName);
<ide> LOG.info("Database " + kind + " driver override recognized for : [" + dirverName + "] - adapter: " + adapter.getClass());
<ide> ... | |
Java | apache-2.0 | 82d071f75c8fb9b1423c212ad073ece6e7b04ee9 | 0 | ecsec/open-ecard,ecsec/open-ecard,ecsec/open-ecard | /****************************************************************************
* Copyright (C) 2013-2018 HS Coburg.
* All rights reserved.
* Contact: ecsec GmbH (info@ecsec.de)
*
* This file is part of the Open eCard App.
*
* GNU General Public License Usage
* This file may be used under the terms of the GNU Gen... | addons/tr03112/src/main/java/org/openecard/addons/activate/ActivateAction.java | /****************************************************************************
* Copyright (C) 2013-2018 HS Coburg.
* All rights reserved.
* Contact: ecsec GmbH (info@ecsec.de)
*
* This file is part of the Open eCard App.
*
* GNU General Public License Usage
* This file may be used under the terms of the GNU Gen... | Ensure iOS overlay disappears upon completion
| addons/tr03112/src/main/java/org/openecard/addons/activate/ActivateAction.java | Ensure iOS overlay disappears upon completion | <ide><path>ddons/tr03112/src/main/java/org/openecard/addons/activate/ActivateAction.java
<ide>
<ide> package org.openecard.addons.activate;
<ide>
<add>import iso.std.iso_iec._24727.tech.schema.PowerDownDevices;
<ide> import java.util.List;
<ide> import java.util.Map;
<ide> import java.util.concurrent.ExecutionExcepti... | |
Java | apache-2.0 | 4f0f68f74dd4abd9f4695020acba60fb5ab7bb9e | 0 | OpenHFT/Chronicle-Queue,OpenHFT/Chronicle-Queue | package net.openhft.chronicle.queue.impl.single;
import net.openhft.chronicle.core.Maths;
import net.openhft.chronicle.core.values.LongValue;
import net.openhft.chronicle.wire.Sequence;
class RollCycleEncodeSequence implements Sequence {
private final LongValue sequenceValue;
private int cycleShift = 0;
... | src/main/java/net/openhft/chronicle/queue/impl/single/RollCycleEncodeSequence.java | package net.openhft.chronicle.queue.impl.single;
import net.openhft.chronicle.core.Maths;
import net.openhft.chronicle.core.values.LongValue;
import net.openhft.chronicle.wire.Sequence;
class RollCycleEncodeSequence implements Sequence {
private final LongValue sequenceValue;
private int cycleShift = 0;
... | comments and constants
| src/main/java/net/openhft/chronicle/queue/impl/single/RollCycleEncodeSequence.java | comments and constants | <ide><path>rc/main/java/net/openhft/chronicle/queue/impl/single/RollCycleEncodeSequence.java
<ide> * <p>
<ide> * This method will only return a valid sequence number of the write position if the write position is the
<ide> * last write position in the queue. YOU CAN NOT USE THIS METHOD TO LOOK UP RANDOM ... | |
Java | mit | error: pathspec 'src/test/java/org/sqldroid/DriverUnitTest.java' did not match any file(s) known to git
| 1f6c8f3d21c440ef843941aaf6e7c3e401102b4b | 1 | dperiwal/SQLDroid,SQLDroid/SQLDroid,SQLDroid/SQLDroid,dperiwal/SQLDroid | package org.sqldroid;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.... | src/test/java/org/sqldroid/DriverUnitTest.java | Port existing tests to Robolectric | src/test/java/org/sqldroid/DriverUnitTest.java | Port existing tests to Robolectric | <ide><path>rc/test/java/org/sqldroid/DriverUnitTest.java
<add>package org.sqldroid;
<add>
<add>import java.io.ByteArrayInputStream;
<add>import java.io.File;
<add>import java.sql.Blob;
<add>import java.sql.Connection;
<add>import java.sql.Driver;
<add>import java.sql.DriverManager;
<add>import java.sql.PreparedStatemen... | |
Java | mit | 188c8a75f33346591b466878e214a75986bf65e2 | 0 | Tookmund/ConwaysLife | // Created to test the difference between SparseMatrix and standard Array
public class ArrayMatrix<anyType> implements Matrixable<anyType>, Cloneable
{
private Object[][] ar;
private char bl = '-';
public ArrayMatrix(int r, int c)
{
ar = new Object[r][c];
}
private ArrayMat... | ArrayMatrix.java | // Created to test the difference between SparseMatrix and standard Array
// Not used
public class ArrayMatrix<anyType> implements Matrixable<anyType>, Cloneable
{
private Object[][] ar;
private char bl = '-';
public ArrayMatrix(int r, int c)
{
ar = new Object[r][c];
}
priva... | ArrayMatrix: Now used so remove not used comment
| ArrayMatrix.java | ArrayMatrix: Now used so remove not used comment | <ide><path>rrayMatrix.java
<ide> // Created to test the difference between SparseMatrix and standard Array
<del>// Not used
<add>
<ide> public class ArrayMatrix<anyType> implements Matrixable<anyType>, Cloneable
<ide> {
<ide> private Object[][] ar; | |
Java | bsd-2-clause | 9e34438d8907532deeee3a98a97ff506ca7fe1b2 | 0 | biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej | //
// Prefs.java
//
/*
ImageJ software for multidimensional image processing and analysis.
Copyright (c) 2010, ImageJDev.org.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of so... | core/core/src/main/java/imagej/util/Prefs.java | //
// Prefs.java
//
/*
ImageJ software for multidimensional image processing and analysis.
Copyright (c) 2010, ImageJDev.org.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of so... | add clearAll() method
This used to be revision r4373.
| core/core/src/main/java/imagej/util/Prefs.java | add clearAll() method | <ide><path>ore/core/src/main/java/imagej/util/Prefs.java
<ide> prefs(c).putLong(key(c, name), value);
<ide> }
<ide>
<del> public static void
<del> clear(final Class<?> c)
<add> public static void clear(final Class<?> c)
<ide> {
<ide> try { prefs(c).clear(); } catch (BackingStoreException e) {/**/}
<add> }
<add>... | |
Java | mit | 3185ea3484cd3c643e8d48c2c10bb5f6d79794b1 | 0 | dbwiddis/oshi,hazendaz/oshi | /**
* MIT License
*
* Copyright (c) 2010 - 2021 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors
*
* 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 withou... | oshi-core/src/main/java/oshi/software/os/windows/WindowsOSProcess.java | /**
* MIT License
*
* Copyright (c) 2010 - 2021 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors
*
* 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 withou... | Instrument queryUserInfo for debugging | oshi-core/src/main/java/oshi/software/os/windows/WindowsOSProcess.java | Instrument queryUserInfo for debugging | <ide><path>shi-core/src/main/java/oshi/software/os/windows/WindowsOSProcess.java
<ide> import org.slf4j.Logger;
<ide> import org.slf4j.LoggerFactory;
<ide>
<add>import com.sun.jna.Native;
<ide> import com.sun.jna.Pointer; // NOSONAR squid:S1191
<ide> import com.sun.jna.platform.win32.Advapi32;
<ide> import com.sun.jna... | |
JavaScript | mit | 906caebb3f3bc542904a94846e778aa8d71c0575 | 0 | roytoo/jquery,jquery/jquery,jquery/jquery,jquery/jquery,roytoo/jquery,roytoo/jquery | (function() {
if ( !jQuery.fn.width ) {
return;
}
module("dimensions", { teardown: moduleTeardown });
function pass( val ) {
return val;
}
function fn( val ) {
return function() {
return val;
};
}
/*
======== local reference =======
pass and fn can be used to test passing functions to setters
See testWidt... | test/unit/dimensions.js | (function() {
if ( !jQuery.fn.width ) {
return;
}
module("dimensions", { teardown: moduleTeardown });
function pass( val ) {
return val;
}
function fn( val ) {
return function() {
return val;
};
}
/*
======== local reference =======
pass and fn can be used to test passing functions to setters
See testWidt... | Tests: Tilt at a few style guide windmills
Ref 3c13f4c6297566a71102c2362347987f6d6a636e
| test/unit/dimensions.js | Tests: Tilt at a few style guide windmills | <ide><path>est/unit/dimensions.js
<ide> });
<ide>
<ide> test("innerWidth()", function() {
<del> expect(6);
<add> expect( 6 );
<ide>
<ide> var $div, div,
<ide> $win = jQuery( window ),
<ide> equal( jQuery( window ).innerWidth(), $win.width(), "Test on window" );
<ide> equal( jQuery( document ).innerWidth(), $doc.... | |
Java | apache-2.0 | eae821ea38ddf4bef983d170b0fe40b15dfd47bb | 0 | dflemstr/helios,molindo/helios,skinzer/helios,molindo/helios,udomsak/helios,mattnworb/helios,DagensNyheter/helios,dflemstr/helios,udomsak/helios,DagensNyheter/helios,skinzer/helios,mattnworb/helios,spotify/helios,gtonic/helios,skinzer/helios,mbruggmann/helios,gtonic/helios,spotify/helios,stewnorriss/helios,kidaa/helios... | /*
* Copyright (c) 2014 Spotify AB.
*
* 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,... | helios-testing/src/main/java/com/spotify/helios/testing/TemporaryJobs.java | /*
* Copyright (c) 2014 Spotify AB.
*
* 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,... | TemporaryJobs: fix executor cleanup on job failure
* Run after() and before() on main thread instead of test thread.
* call after() in a finally to ensure that the executor is terminated. | helios-testing/src/main/java/com/spotify/helios/testing/TemporaryJobs.java | TemporaryJobs: fix executor cleanup on job failure | <ide><path>elios-testing/src/main/java/com/spotify/helios/testing/TemporaryJobs.java
<ide> return new Statement() {
<ide> @Override
<ide> public void evaluate() throws Throwable {
<del>
<del> // Run the actual test on a thread
<del> final Future<Object> future = executor.submit(new Callabl... | |
Java | apache-2.0 | 3efb3a279e18d02f9bce5b6ad53708f411be91ad | 0 | shimib/scala,felixmulder/scala,felixmulder/scala,slothspot/scala,martijnhoekstra/scala,slothspot/scala,lrytz/scala,lrytz/scala,lrytz/scala,martijnhoekstra/scala,jvican/scala,slothspot/scala,felixmulder/scala,scala/scala,shimib/scala,jvican/scala,slothspot/scala,shimib/scala,martijnhoekstra/scala,lrytz/scala,felixmulder... | /* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
\* ... | sources/scalac/transformer/AddConstructors.java | /* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
\* ... | - Fixed early initialization of module variable...
- Fixed early initialization of module variables (there are still
problems with some local modules).
| sources/scalac/transformer/AddConstructors.java | - Fixed early initialization of module variable... | <ide><path>ources/scalac/transformer/AddConstructors.java
<ide>
<ide> // inline initialization of module values
<ide> if (forINT && treeSym.isModuleClass()) {
<del> constrBody.add(
<del> gen.Assign(
<del> gen.mkRef(tree.pos, treeSym.module()),
<... | |
Java | apache-2.0 | 6aca74452eb798b4d39dfbd431ce40a996dc586c | 0 | samie/vaadin-ga-tracker | package org.vaadin.googleanalytics.tracking.demo;
import com.vaadin.annotations.VaadinServletConfiguration;
import org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker;
import com.vaadin.navigator.Navigator;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadi... | demo/src/main/java/org/vaadin/googleanalytics/tracking/demo/GoogleAnalyticsTrackerDemo.java | package org.vaadin.googleanalytics.tracking.demo;
import com.vaadin.annotations.VaadinServletConfiguration;
import org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker;
import com.vaadin.navigator.Navigator;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadi... | Better examples on page tracking and event tracking.
| demo/src/main/java/org/vaadin/googleanalytics/tracking/demo/GoogleAnalyticsTrackerDemo.java | Better examples on page tracking and event tracking. | <ide><path>emo/src/main/java/org/vaadin/googleanalytics/tracking/demo/GoogleAnalyticsTrackerDemo.java
<ide> // tracker.trackPageview(pageId) separately when tracking is needed.
<ide> getNavigator().addViewChangeListener(tracker);
<ide>
<del> // Track
<del> tracker.trackEvent("someCategory... | |
JavaScript | mit | 6f0e06f409845213c82ba598c06a550b6b2b80ce | 0 | CorruptedHelix/Pokemon-Showdown,Pikachuun/Joimmon-Showdown,CorruptedHelix/Pokemon-Showdown,Pikachuun/Joimmon-Showdown | exports.BattlePokedex = {
bulbasaur:{num:1,species:"Bulbasaur",types:["Grass","Poison"],genderRatio:{M:0.875,F:0.125},baseStats:{hp:45,atk:49,def:49,spa:65,spd:65,spe:45},abilities:{0:"Aftermath",1:"Adaptability"},heightm:0.7,weightkg:6.9,color:"Green",evos:["ivysaur"],eggGroups:["Monster","Plant"]},
ivysaur:{num:2,spe... | mods/wonkymons/pokedex.js | exports.BattlePokedex = {
bulbasaur:{num:1,species:"Bulbasaur",types:["Grass","Poison"],genderRatio:{M:0.875,F:0.125},baseStats:{hp:45,atk:49,def:49,spa:65,spd:65,spe:45},abilities:{0:"Aftermath",1:"Adaptability"},heightm:0.7,weightkg:6.9,color:"Green",evos:["ivysaur"],eggGroups:["Monster","Plant"]},
ivysaur:{num:2,spe... | Update Wonkymons | mods/wonkymons/pokedex.js | Update Wonkymons | <ide><path>ods/wonkymons/pokedex.js
<ide> fearow:{num:22,species:"Fearow",types:["Normal","Flying"],baseStats:{hp:65,atk:90,def:65,spa:61,spd:61,spe:100},abilities:{0:"Clear Body",1:"Trace"},heightm:1.2,weightkg:38,color:"Brown",prevo:"spearow",evoLevel:20,eggGroups:["Flying"]},
<ide> ekans:{num:23,species:"Ekans",type... | |
Java | apache-2.0 | bf50517f7fb01c850ce0e68bf97a95f88875c8f2 | 0 | BlackSourceLabs/BlackNectar-Service,BlackSourceLabs/BlackNectar-Service | /*
* Copyright 2017 BlackSource, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | src/test/java/tech/blacksource/blacknectar/service/data/SQLImageRepositoryIT.java | /*
* Copyright 2017 BlackSource, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | #53 - Cleans things up a little | src/test/java/tech/blacksource/blacknectar/service/data/SQLImageRepositoryIT.java | #53 - Cleans things up a little | <ide><path>rc/test/java/tech/blacksource/blacknectar/service/data/SQLImageRepositoryIT.java
<ide> assertThrows(() -> instance.getImage(storeId, imageId)).isInstanceOf(DoesNotExistException.class);
<ide> }
<ide>
<del>
<ide> @Test
<ide> @SuppressWarnings("unchecked")
<ide> public void testGetImag... | |
Java | apache-2.0 | 4c789b75f34d720d373085a2e57afd3608648655 | 0 | diffplug/spotless,jbduncan/spotless,gaborbernat/spotless,nedtwigg/spotless,diffplug/spotless,gdecaso/spotless,diffplug/spotless,diffplug/spotless,diffplug/spotless,gdecaso/spotless,nedtwigg/spotless,jbduncan/spotless,diffplug/spotless,gaborbernat/spotless,jbduncan/spotless | package com.diffplug.gradle.spotless.java;
import java.util.List;
import org.gradle.api.GradleException;
import org.gradle.api.internal.file.UnionFileCollection;
import org.gradle.api.plugins.JavaPluginConvention;
import org.gradle.api.tasks.SourceSet;
import com.diffplug.gradle.spotless.FormatExtension;
import com.... | src/main/java/com/diffplug/gradle/spotless/java/JavaExtension.java | package com.diffplug.gradle.spotless.java;
import java.util.List;
import org.gradle.api.GradleException;
import org.gradle.api.internal.file.UnionFileCollection;
import org.gradle.api.plugins.JavaPluginConvention;
import org.gradle.api.tasks.SourceSet;
import com.diffplug.gradle.spotless.FormatExtension;
import com.... | Improved the error message in the JavaExtension plugin. | src/main/java/com/diffplug/gradle/spotless/java/JavaExtension.java | Improved the error message in the JavaExtension plugin. | <ide><path>rc/main/java/com/diffplug/gradle/spotless/java/JavaExtension.java
<ide> if (target == null) {
<ide> JavaPluginConvention javaPlugin = getProject().getConvention().getPlugin(JavaPluginConvention.class);
<ide> if (javaPlugin == null) {
<del> throw new GradleException("Must apply the java plugin befo... | |
Java | epl-1.0 | 13839c9314e5b28b07e2ad102a36304c9d33efbd | 0 | boniatillo-com/PhaserEditor,boniatillo-com/PhaserEditor,boniatillo-com/PhaserEditor,boniatillo-com/PhaserEditor,boniatillo-com/PhaserEditor,boniatillo-com/PhaserEditor | // The MIT License (MIT)
//
// Copyright (c) 2015, 2018 Arian Fornaris
//
// 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... | source/v2/phasereditor/phasereditor.scene.ui.editor/src/phasereditor/scene/ui/editor/properties/ScenePropertySection.java | // The MIT License (MIT)
//
// Copyright (c) 2015, 2018 Arian Fornaris
//
// 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... | Fixes scene editor properties bug. | source/v2/phasereditor/phasereditor.scene.ui.editor/src/phasereditor/scene/ui/editor/properties/ScenePropertySection.java | Fixes scene editor properties bug. | <ide><path>ource/v2/phasereditor/phasereditor.scene.ui.editor/src/phasereditor/scene/ui/editor/properties/ScenePropertySection.java
<ide> @Override
<ide> protected void accept(boolean value) {
<ide> wrapOperation(() -> accept2(value));
<del> getEditor().setDirty(value);
<add> getEditor().setDirty(true);
<ide... | |
Java | agpl-3.0 | a9efa547076c7cd1af9e09c45c7d45ddbd4b585e | 0 | mnlipp/jgrapes,mnlipp/jgrapes | /*
* JGrapes Event Driven Framework
* Copyright (C) 2017 Michael N. Lipp
*
* 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 ... | HttpServerDemo/src/org/jgrapes/http/demo/httpserver/HelloWorldPortlet.java | /*
* JGrapes Event Driven Framework
* Copyright (C) 2017 Michael N. Lipp
*
* 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 ... | Removed superfluous import. | HttpServerDemo/src/org/jgrapes/http/demo/httpserver/HelloWorldPortlet.java | Removed superfluous import. | <ide><path>ttpServerDemo/src/org/jgrapes/http/demo/httpserver/HelloWorldPortlet.java
<ide> import org.jgrapes.portal.events.AddPortletResources;
<ide> import org.jgrapes.portal.events.PortalReady;
<ide> import org.jgrapes.portal.events.RenderPortletFromProvider;
<del>import org.jgrapes.portal.events.RenderPortletFromSt... | |
Java | bsd-3-clause | ed907e5d9aeeb19fec8787430ff3cf8f5766cf39 | 0 | erasche/Apollo,erasche/Apollo,erasche/Apollo,erasche/Apollo,erasche/Apollo | package org.bbop.apollo.gwt.client;
import com.google.gwt.cell.client.*;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.builder.shared.DivBuilder;
import com.google.gwt.dom.builder.shared.TableCellBuilder;
import com.google.gwt.dom.builder.shared.TableRowBuilder;
import com.google.gwt.dom.client.Styl... | src/gwt/org/bbop/apollo/gwt/client/AnnotatorPanel.java | package org.bbop.apollo.gwt.client;
import com.google.gwt.cell.client.*;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.builder.shared.DivBuilder;
import com.google.gwt.dom.builder.shared.TableCellBuilder;
import com.google.gwt.dom.builder.shared.TableRowBuilder;
import com.google.gwt.dom.client.Styl... | #239 - ref seq placeholder
| src/gwt/org/bbop/apollo/gwt/client/AnnotatorPanel.java | #239 - ref seq placeholder | <ide><path>rc/gwt/org/bbop/apollo/gwt/client/AnnotatorPanel.java
<ide> public AnnotatorPanel() {
<ide> pager = new SimplePager(SimplePager.TextLocation.CENTER);
<ide> sequenceList = new SuggestBox(sequenceOracle);
<add> sequenceList.getElement().setAttribute("placeHolder", "All Reference Sequ... | |
Java | agpl-3.0 | cfb7cbb0fcb3391a3283314ed7f7ef4333088c0b | 0 | aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms,aihua/opennms | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | features/events/traps/src/main/java/org/opennms/netmgt/trapd/TrapDTO.java | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | HZN-965: Adjust xml element name to match the other attributes/elements
| features/events/traps/src/main/java/org/opennms/netmgt/trapd/TrapDTO.java | HZN-965: Adjust xml element name to match the other attributes/elements | <ide><path>eatures/events/traps/src/main/java/org/opennms/netmgt/trapd/TrapDTO.java
<ide> private int pduLength;
<ide> @XmlElement(name = "creation-time")
<ide> private long creationTime;
<del> @XmlElement(name = "rawMessage")
<add> @XmlElement(name = "raw-message")
<ide> private byte[] rawMessage;
<ide> @XmlEleme... | |
Java | mpl-2.0 | 3bd44ba25fe4cc31d816c5ffd8798b60b78e378b | 0 | GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app | package org.openlca.app.editors.processes.allocation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.UUID;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.Tabl... | olca-app/src/org/openlca/app/editors/processes/allocation/CausalFactorTable.java | package org.openlca.app.editors.processes.allocation;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.UUID;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.Tabl... | move `render` and `dispose` into the column object
| olca-app/src/org/openlca/app/editors/processes/allocation/CausalFactorTable.java | move `render` and `dispose` into the column object | <ide><path>lca-app/src/org/openlca/app/editors/processes/allocation/CausalFactorTable.java
<ide>
<ide> private final ProcessEditor editor;
<ide> private final AllocationPage page;
<del>
<del> // When comments are available, each column has a respective comment column
<del> // on the right-side
<ide> private final b... | |
Java | apache-2.0 | 31c185f1fa36322465f7b4341e9777f8d74d12de | 0 | ivakegg/accumulo,joshelser/accumulo,apache/accumulo,milleruntime/accumulo,joshelser/accumulo,apache/accumulo,mikewalch/accumulo,ctubbsii/accumulo,wjsl/jaredcumulo,adamjshook/accumulo,wjsl/jaredcumulo,dhutchis/accumulo,adamjshook/accumulo,mikewalch/accumulo,ivakegg/accumulo,dhutchis/accumulo,apache/accumulo,dhutchis/acc... | /*
* 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 ... | core/src/main/java/org/apache/accumulo/core/client/impl/ConnectorImpl.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 ... | ACCUMULO-259 - had unmerged stuff in the javadocs
git-svn-id: f2032a8f7e7e147e9bd2f47faaf2ba5297dc4bdd@1442437 13f79535-47bb-0310-9956-ffa450edef68
| core/src/main/java/org/apache/accumulo/core/client/impl/ConnectorImpl.java | ACCUMULO-259 - had unmerged stuff in the javadocs | <ide><path>ore/src/main/java/org/apache/accumulo/core/client/impl/ConnectorImpl.java
<ide> *
<ide> * Use {@link Instance#getConnector(String, byte[])}
<ide> *
<del><<<<<<< .working
<del>=======
<ide> * @param instance
<ide> * @param user
<ide> * @param password
<ide> * @throws AccumuloException
<... | |
Java | apache-2.0 | 256840c632be26bd7ab9dc98c860169abd335fe2 | 0 | swift-lang/swift-t,blue42u/swift-t,basheersubei/swift-t,basheersubei/swift-t,blue42u/swift-t,swift-lang/swift-t,basheersubei/swift-t,JohnPJenkins/swift-t,basheersubei/swift-t,swift-lang/swift-t,basheersubei/swift-t,blue42u/swift-t,JohnPJenkins/swift-t,swift-lang/swift-t,swift-lang/swift-t,blue42u/swift-t,blue42u/swift-... | /*
* Copyright 2013 University of Chicago and Argonne National Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | code/src/exm/stc/ic/WrapUtil.java | /*
* Copyright 2013 University of Chicago and Argonne National Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | WIP on runtime code to recursively wait on structs
git-svn-id: 47705994653588c662f4ea400dfe88107361c0e2@14286 dc4e9af1-7f46-4ead-bba6-71afc04862de
| code/src/exm/stc/ic/WrapUtil.java | WIP on runtime code to recursively wait on structs | <ide><path>ode/src/exm/stc/ic/WrapUtil.java
<ide> import exm.stc.common.lang.Arg;
<ide> import exm.stc.common.lang.Operators.BuiltinOpcode;
<ide> import exm.stc.common.lang.Types;
<del>import exm.stc.common.lang.Types.StructType;
<del>import exm.stc.common.lang.Types.StructType.StructField;
<ide> import exm.stc.common.... | |
JavaScript | mit | c770232c716ca50016799f17e55841136d31b217 | 0 | alextreppass/backbone-component,yammer/backbone-component,alextreppass/backbone-component,yammer/backbone-component | // Backbone.Component
// ==================
//
// A thin layer on top of Backbone's view class to add nested child views.
Backbone.Component = Backbone.View.extend({
// Override constructor so Components can use `initialize` normally.
constructor: function() {
this._setup();
Backbone.View.apply(this, argu... | backbone-component.js | // Backbone.Component
// ==================
//
// A thin layer on top of Backbone's view class to add nested child views.
Backbone.Component = Backbone.View.extend({
// Override constructor so Components can use `initialize` normally.
constructor: function() {
this._setup();
Backbone.View.apply(this, argu... | silly style guide
| backbone-component.js | silly style guide | <ide><path>ackbone-component.js
<ide> return true;
<ide> }
<ide> // MSIE 11
<del> return (!(window.ActiveXObject) && "ActiveXObject" in window);
<add> return (!(window.ActiveXObject) && 'ActiveXObject' in window);
<ide> })()
<ide>
<ide> }); | |
Java | agpl-3.0 | 5c8dea2a3ff189afcf83f1adae955808e119b346 | 0 | raiedsiddiqui/tapcm,raiedsiddiqui/tapcm,raiedsiddiqui/tapcm | package org.tapestry.controller;
import org.springframework.stereotype.Controller;
import org.springframework.security.authentication.encoding.ShaPasswordEncoder;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestM... | src/main/java/org/tapestry/controller/TapestryController.java | package org.tapestry.controller;
import org.springframework.stereotype.Controller;
import org.springframework.security.authentication.encoding.ShaPasswordEncoder;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestM... | Prevent breaking when email is not set
| src/main/java/org/tapestry/controller/TapestryController.java | Prevent breaking when email is not set | <ide><path>rc/main/java/org/tapestry/controller/TapestryController.java
<ide>
<ide> //Mail-related settings;
<ide> private Properties props;
<del> private String mailAddress;
<add> private String mailAddress = "";
<ide> private Session session;
<ide>
<ide> /**
<ide> String mailPort ... | |
Java | bsd-2-clause | 5f84854ace9517263ecda088f608e53754cff89e | 0 | imagej/ij1-patcher | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2014 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... | src/main/java/net/imagej/patcher/LegacyExtensions.java | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2014 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... | LegacyExtensions: update open path
When intercepting open signatures, if a hook returns a String value we
will now interpret that as the file path. This way, if a user selects a
path via a file chooser in IJ2, they shouldn't have to select it again
in IJ1.
| src/main/java/net/imagej/patcher/LegacyExtensions.java | LegacyExtensions: update open path | <ide><path>rc/main/java/net/imagej/patcher/LegacyExtensions.java
<ide> hacker.insertAtTopOfMethod("ij.IJ",
<ide> "public static void open(java.lang.String path)",
<ide> "Object result = ij.IJ._hooks.interceptFileOpen($1);" +
<del> "if (result != null) return;");
<add> "if (result != null) {" +
<add> "if... | |
JavaScript | mit | 0861ffda8af9e6598728607b29fc21561cd9d49a | 0 | jakubgarfield/expenses,jakubgarfield/expenses,jakubgarfield/expenses | import React, { Component } from 'react';
import ExpenseList from './ExpenseList.js';
import ExpenseForm from './ExpenseForm.js';
import LoadingBar from "./LoadingBar.js"
import './App.css';
class App extends Component {
constructor() {
super();
this.clientId = '826265862385-p41e559ccssujlfsf49ppmo0gktkf6co... | src/App.js | import React, { Component } from 'react';
import ExpenseList from './ExpenseList.js';
import ExpenseForm from './ExpenseForm.js';
import LoadingBar from "./LoadingBar.js"
import './App.css';
class App extends Component {
constructor() {
super();
this.clientId = '826265862385-p41e559ccssujlfsf49ppmo0gktkf6co... | Fix mapping of accounts and expenses
| src/App.js | Fix mapping of accounts and expenses | <ide><path>rc/App.js
<ide> .batchGet({ spreadsheetId: this.spreadsheetId, ranges: ["Data!A2:A50", "Data!E2:E50", "Expenses!A2:F"] })
<ide> .then(response => {
<ide> this.setState({
<del> accounts: response.result.valueRanges[0].values,
<del> categories: response.result.valueRanges[... | |
Java | lgpl-2.1 | 9ff27df4fa2518dab737996cfe2bb776462a6778 | 0 | johnscancella/spotbugs,sewe/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,sewe/spotbugs | /*
* FindBugs - Find Bugs in Java programs
* Copyright (C) 2005, University of Maryland
*
* 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 (... | findbugs/src/java/edu/umd/cs/findbugs/detect/NoteDirectlyRelevantTypeQualifiers.java | /*
* FindBugs - Find Bugs in Java programs
* Copyright (C) 2005, University of Maryland
*
* 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 (... | minor simplification
git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@9662 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
| findbugs/src/java/edu/umd/cs/findbugs/detect/NoteDirectlyRelevantTypeQualifiers.java | minor simplification | <ide><path>indbugs/src/java/edu/umd/cs/findbugs/detect/NoteDirectlyRelevantTypeQualifiers.java
<ide> import edu.umd.cs.findbugs.Detector;
<ide> import edu.umd.cs.findbugs.NonReportingDetector;
<ide> import edu.umd.cs.findbugs.SystemProperties;
<add>import edu.umd.cs.findbugs.ba.AnalysisContext;
<ide> import edu.umd.cs.... | |
Java | mit | 9ffdfc0913685c3d8d2078b322d6aeb52e34b6d0 | 0 | FredMaris/touist,touist/touist,FredMaris/touist,touist/touist,touist/touist,olzd/touist,olzd/touist,FredMaris/touist,touist/touist,olzd/touist | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gui.TranslatorLatex;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.F... | touist-gui/src/gui/TranslatorLatex/TranslationLatex.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gui.TranslatorLatex;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.F... | #59 Fixed | touist-gui/src/gui/TranslatorLatex/TranslationLatex.java | #59 Fixed | <ide><path>ouist-gui/src/gui/TranslatorLatex/TranslationLatex.java
<ide>
<ide>
<ide> public TranslationLatex(String touistl) throws Exception {
<del> parser p = new parser(new Lexi(new StringReader(touistl)));
<del> latexFormula = p.parse().value.toString();
<add> if(touistl.length() ... | |
Java | apache-2.0 | bf2bc8f9fe43759a5dd05829457d93d54e8c8c0c | 0 | h2ri/ChatSecureAndroid,bonashen/ChatSecureAndroid,31H0B1eV/ChatSecureAndroid,guardianproject/ChatSecureAndroid,31H0B1eV/ChatSecureAndroid,prembasumatary/ChatSecureAndroid,Heart2009/ChatSecureAndroid,10045125/ChatSecureAndroid,anvayarai/my-ChatSecure,prembasumatary/ChatSecureAndroid,maheshwarishivam/ChatSecureAndroid,h2... | /*
* Copyright (C) 2007-2008 Esmertec AG. Copyright (C) 2007-2008 The Android Open
* Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/license... | src/info/guardianproject/otr/app/im/service/ContactListManagerAdapter.java | /*
* Copyright (C) 2007-2008 Esmertec AG. Copyright (C) 2007-2008 The Android Open
* Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/license... | only show notification if main window is broadcast is not available
| src/info/guardianproject/otr/app/im/service/ContactListManagerAdapter.java | only show notification if main window is broadcast is not available | <ide><path>rc/info/guardianproject/otr/app/im/service/ContactListManagerAdapter.java
<ide> Uri uri = insertOrUpdateSubscription(username, nickname,
<ide> Imps.Contacts.SUBSCRIPTION_TYPE_FROM,
<ide> Imps.Contacts.SUBSCRIPTION_STATUS_SUBSCRIBE_PENDING);
<del> ... | |
Java | apache-2.0 | 6b3f2629fafe5e9c1fe7d6b12c97eb8e53621fa6 | 0 | shimniok/WheelEncoderGenerator | /*
* Copyright 2021 mes.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | src/main/java/com/botthoughts/wheelencodergenerator/PrimaryController.java | /*
* Copyright 2021 mes.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | consolidated logic for prompting to save before continuing | src/main/java/com/botthoughts/wheelencodergenerator/PrimaryController.java | consolidated logic for prompting to save before continuing | <ide><path>rc/main/java/com/botthoughts/wheelencodergenerator/PrimaryController.java
<ide> return res;
<ide> }
<ide>
<add> /**
<add> * Checks if current file needs saving and if so, prompts user to save with Yes/No/Cancel,
<add> * returning a boolean representing whether the calling method should continue... | |
JavaScript | apache-2.0 | 738ec450f30cb963526bd42bdb915a7bb2f312b1 | 0 | ninjadev/nin,ninjadev/nin,ninjadev/nin | const React = require('react');
const e = React.createElement;
class Connection extends React.Component {
constructor() {
super();
this.state = {
showDeleteButton: true
};
}
delete() {
this.props.editor.removeConnection(
this.props.fromPath,
this.props.toPath,);
}
render(... | nin/frontend/app/scripts/components/editor/Connection.js | const React = require('react');
const e = React.createElement;
class Connection extends React.Component {
constructor() {
super();
this.state = {
showDeleteButton: true
};
}
delete() {
this.props.editor.removeConnection(
this.props.fromPath,
this.props.toPath,);
}
render(... | Update editor Connection to use JSX
| nin/frontend/app/scripts/components/editor/Connection.js | Update editor Connection to use JSX | <ide><path>in/frontend/app/scripts/components/editor/Connection.js
<ide> const midX = this.props.connection.from.x + dX / 2;
<ide> const midY = this.props.connection.from.y + dY / 2;
<ide> const intensity = Math.abs(Math.cos(Math.atan(dX/dY)));
<del> const attributes = {
<del> d: `M${this.props.conn... | |
Java | mit | error: pathspec 'CodeArchive/src/com/relaxedcomplexity/classcomposition/src/com/relaxedcomplexity/classcomposition/inheritance/Brand.java' did not match any file(s) known to git
| 2390dd974e21d4b8b4cdc0ba0945edd254cdb3ab | 1 | jdmedlock/CodeArchive,jdmedlock/CodeArchive | /**
*
*/
package com.relaxedcomplexity.classcomposition.inheritance;
/**
* @author Jim Medlock
*
*/
public enum Brand {
ACER("Acer"),
APPLE("Apple"),
DELL("Dell"),
HP("Hewett Packard"),
LENOVO("Lenovo"),
SONY("Sony");
private String brandName = null;
/*
* Constructor: Create a brand and associated ... | CodeArchive/src/com/relaxedcomplexity/classcomposition/src/com/relaxedcomplexity/classcomposition/inheritance/Brand.java | Added Brand class | CodeArchive/src/com/relaxedcomplexity/classcomposition/src/com/relaxedcomplexity/classcomposition/inheritance/Brand.java | Added Brand class | <ide><path>odeArchive/src/com/relaxedcomplexity/classcomposition/src/com/relaxedcomplexity/classcomposition/inheritance/Brand.java
<add>/**
<add> *
<add> */
<add>package com.relaxedcomplexity.classcomposition.inheritance;
<add>
<add>/**
<add> * @author Jim Medlock
<add> *
<add> */
<add>public enum Brand {
<add> ACER("... | |
Java | agpl-3.0 | 8b6e25bf1974adea3e65b7fafce0c9cb5d21ccee | 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 | 559737c8-2e62-11e5-9284-b827eb9e62be | hello.java | 5591a434-2e62-11e5-9284-b827eb9e62be | 559737c8-2e62-11e5-9284-b827eb9e62be | hello.java | 559737c8-2e62-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>5591a434-2e62-11e5-9284-b827eb9e62be
<add>559737c8-2e62-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | dde273bcc699f45da84209a2152c9f062abe096a | 0 | philipz/pinpoint,sbcoba/pinpoint,PerfGeeks/pinpoint,gspandy/pinpoint,hcapitaine/pinpoint,minwoo-jung/pinpoint,KRDeNaT/pinpoint,KRDeNaT/pinpoint,coupang/pinpoint,PerfGeeks/pinpoint,dawidmalina/pinpoint,nstopkimsk/pinpoint,cit-lab/pinpoint,PerfGeeks/pinpoint,barneykim/pinpoint,emeroad/pinpoint,cijung/pinpoint,andyspan/pi... | package com.nhn.pinpoint.thrift.io;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.util.Arrays;
/**
* @author emeroad
*/
public class UnsafeByteArrayOutputStream extends ByteArrayOutputStream {
private static ... | thrift/src/main/java/com/navercorp/pinpoint/thrift/io/UnsafeByteArrayOutputStream.java | package com.nhn.pinpoint.thrift.io;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.util.Arrays;
/**
* @author emeroad
*/
public class UnsafeByteArrayOutputStream extends ByteArrayOutputStream {
/**
* Create... | [#26] fix findbug issue
| thrift/src/main/java/com/navercorp/pinpoint/thrift/io/UnsafeByteArrayOutputStream.java | [#26] fix findbug issue | <ide><path>hrift/src/main/java/com/navercorp/pinpoint/thrift/io/UnsafeByteArrayOutputStream.java
<ide> */
<ide> public class UnsafeByteArrayOutputStream extends ByteArrayOutputStream {
<ide>
<add> private static final String UTF8 = "UTF8";
<ide>
<ide> /**
<ide> * Creates a new byte array output stream. The buffer... | |
JavaScript | mit | 85fb02aa55d918e5dc8b59f8273936671b7a52a0 | 0 | Baptouuuu/Sy,Baptouuuu/Sy | module.exports = function (grunt) {
var generator = [
'src/Lib/Generator/Interface.js',
'src/Lib/Generator/UUID.js'
],
logger = [
'src/Lib/Logger/Interface.js',
'src/Lib/Logger/Handler/Interface.js',
'src/Lib/Logger/Handler/Console.js',
... | Gruntfile.js | module.exports = function (grunt) {
var generator = [
'src/Lib/Generator/Interface.js',
'src/Lib/Generator/UUID.js'
],
logger = [
'src/Lib/Logger/Interface.js',
'src/Lib/Logger/Handler/Interface.js',
'src/Lib/Logger/Handler/Console.js',
... | #33 added the new event file to files in gruntfile
| Gruntfile.js | #33 added the new event file to files in gruntfile | <ide><path>runtfile.js
<ide> 'src/AppState/State.js',
<ide> 'src/AppState/StateHandler.js',
<ide> 'src/AppState/AppStateEvent.js',
<add> 'src/AppState/RouteNotFoundEvent.js',
<ide> 'src/AppState/UrlMatcher.js',
<ide> ],
<ide> framework = [ | |
Java | apache-2.0 | b0add7ea57c5021de223afe8676a20daeb3eefe3 | 0 | EvilMcJerkface/Aeron,galderz/Aeron,galderz/Aeron,real-logic/Aeron,real-logic/Aeron,mikeb01/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,galderz/Aeron,galderz/Aeron,real-logic/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron | /*
* Copyright 2014-2018 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | aeron-cluster/src/main/java/io/aeron/cluster/service/ClientSession.java | /*
* Copyright 2014-2018 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | [Java] Perform checks before mutating state and provide the session id to help with debugging.
| aeron-cluster/src/main/java/io/aeron/cluster/service/ClientSession.java | [Java] Perform checks before mutating state and provide the session id to help with debugging. | <ide><path>eron-cluster/src/main/java/io/aeron/cluster/service/ClientSession.java
<ide> return MOCKED_OFFER;
<ide> }
<ide>
<add> if (null == responsePublication)
<add> {
<add> throw new IllegalStateException("ClientSession not connected id=" + id);
<add> }
<add>
<ide... | |
JavaScript | mit | 7888a1b65d6c5d18b42bb0b7a3e74a527dea4ec4 | 0 | DrummerHead/gmail-chrono-archive | var addressesAndExpiration = [
{
address : "messages-noreply@linkedin.com",
days : 3
},
{
address : "no-reply@slack.com",
days : 5
},
{
address : "info@twitter.com",
days : 5
},
{
address : "info@meetup.com",
days : 5
},
{
address : "digest-noreply@quora.com",
d... | main.js | var addressesAndExpiration = [
{
address : "messages-noreply@linkedin.com",
days : 3
},
{
address : "no-reply@slack.com",
days : 5
},
{
address : "info@twitter.com",
days : 5
},
{
address : "info@meetup.com",
days : 5
},
{
address : "digest-noreply@quora.com",
d... | Change constant naming to variable
| main.js | Change constant naming to variable | <ide><path>ain.js
<ide> ];
<ide>
<ide> var MILIS_PER_DAY = 1000 * 60 * 60 * 24;
<del>var NOW_DATE = new Date();
<add>var nowDate = new Date();
<ide>
<ide> function isMailContained(sample, mail){
<ide> return (function(sample, mail){
<ide> }
<ide>
<ide> function haveNDaysPassed(days, date){
<del> return date.getTi... | |
Java | mpl-2.0 | d5e43bed6c2aec93fb95b0a18fb46516d9dfa39a | 0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core | /*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: JavaWindowPeerFake.java,v $
*
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2007-08-30 13:57:57 $
*
* The Contents of this file are made avai... | bean/com/sun/star/comp/beans/JavaWindowPeerFake.java | /*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: JavaWindowPeerFake.java,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-07 22:00:04 $
*
* The Contents of this file are made avai... | INTEGRATION: CWS c12v002_SRC680 (1.3.32); FILE MERGED
2007/04/02 09:25:33 jl 1.3.32.2: #t6453597# LocalOfficeWindow has now a method getWrappedWindowHandle
2007/03/12 14:27:42 jl 1.3.32.1: #t6453597# XSystemDependentWindowPeer.getWindowhandle return a sequences<NamedValue> now which indicates i OOo should use XEmbed
| bean/com/sun/star/comp/beans/JavaWindowPeerFake.java | INTEGRATION: CWS c12v002_SRC680 (1.3.32); FILE MERGED 2007/04/02 09:25:33 jl 1.3.32.2: #t6453597# LocalOfficeWindow has now a method getWrappedWindowHandle 2007/03/12 14:27:42 jl 1.3.32.1: #t6453597# XSystemDependentWindowPeer.getWindowhandle return a sequences<NamedValue> now which indicates i OOo should use XEmbed | <ide><path>ean/com/sun/star/comp/beans/JavaWindowPeerFake.java
<ide> *
<ide> * $RCSfile: JavaWindowPeerFake.java,v $
<ide> *
<del> * $Revision: 1.3 $
<add> * $Revision: 1.4 $
<ide> *
<del> * last change: $Author: rt $ $Date: 2005-09-07 22:00:04 $
<add> * last change: $Author: vg $ $Date: 2007-08-30 13:57:57 $
... | |
JavaScript | mit | b5078aa5182e92f193aaceee54b61c3329f56c07 | 0 | mhoffman/CatAppBrowser,mhoffman/CatAppBrowser | /*
* HomePage
*
* This is the first thing users see of our App, at the '/' route
*/
import React from 'react';
import { isMobile } from 'react-device-detect';
import Helmet from 'react-helmet';
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';
import Paper from 'material-u... | app/containers/HomePage/index.js | /*
* HomePage
*
* This is the first thing users see of our App, at the '/' route
*/
import React from 'react';
import { isMobile } from 'react-device-detect';
import Helmet from 'react-helmet';
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';
import Paper from 'material-u... | syntax update
| app/containers/HomePage/index.js | syntax update | <ide><path>pp/containers/HomePage/index.js
<ide> </H1>
<ide> <div className={this.state.truncated ? this.props.classes.truncated : this.props.classes.expanded}>
<ide> <div>
<del> Catalysis-Hub.org is a web-platform for sharing data and software for computa... | |
Java | apache-2.0 | dd6b89a1ec5ee2c4503a2a51097bcb0000c46c3e | 0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus | package io.quarkus.gradle.tasks;
import java.nio.file.Path;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.gradle.api.GradleException;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.Optional;
import org.gradle.api.tasks.TaskAction;
import or... | devtools/gradle/src/main/java/io/quarkus/gradle/tasks/QuarkusNative.java | package io.quarkus.gradle.tasks;
import java.nio.file.Path;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.gradle.api.GradleException;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.Optional;
import org.gradle.api.tasks.TaskAction;
import or... | Remove containerRuntime default value from Gradle plugin | devtools/gradle/src/main/java/io/quarkus/gradle/tasks/QuarkusNative.java | Remove containerRuntime default value from Gradle plugin | <ide><path>evtools/gradle/src/main/java/io/quarkus/gradle/tasks/QuarkusNative.java
<ide>
<ide> private String nativeImageXmx;
<ide>
<del> private String containerRuntime = "docker";
<add> private String containerRuntime;
<ide>
<ide> private String containerRuntimeOptions;
<ide> | |
Java | apache-2.0 | 9e5b850dfb81b8c9b690b5414a5fc6e6f0581d1b | 0 | jenkinsci/ez-templates-plugin,arpitgold/ez-templates,Brantone/ez-templates,Brantone/ez-templates,jet47/ez-templates,JoelJ/ez-templates,jenkinsci/ez-templates-plugin,jenkinsci/ez-templates-plugin,Brantone/ez-templates,arpitgold/ez-templates,JoelJ/ez-templates,JoelJ/ez-templates,jet47/ez-templates,arpitgold/ez-templates,... | package com.joelj.jenkins.eztemplates.utils;
import com.joelj.jenkins.eztemplates.TemplateImplementationProperty;
import com.joelj.jenkins.eztemplates.TemplateProperty;
import hudson.model.*;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import java.io.BufferedReader;
import java.... | src/main/java/com/joelj/jenkins/eztemplates/utils/TemplateUtils.java | package com.joelj.jenkins.eztemplates.utils;
import com.joelj.jenkins.eztemplates.TemplateImplementationProperty;
import com.joelj.jenkins.eztemplates.TemplateProperty;
import hudson.model.*;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import java.io.BufferedReader;
import java.... | only log when there's something to log about
| src/main/java/com/joelj/jenkins/eztemplates/utils/TemplateUtils.java | only log when there's something to log about | <ide><path>rc/main/java/com/joelj/jenkins/eztemplates/utils/TemplateUtils.java
<ide> }
<ide> }
<ide>
<del> if(LOG.isLoggable(Level.INFO)) {
<add> if(LOG.isLoggable(Level.INFO) && oldImplementationParameters != null && oldImplementationParameters.size() > 0) {
<ide> LOG.info("Throwing away parameters: ");
<id... | |
JavaScript | apache-2.0 | ff7b04c5bf1fb895b38832fb69594b36c1b091f2 | 0 | Victory/vPromise | (function () {
'use strict';
function debug() {
//console.log(arguments);
}
function skip() {}
var states = {
PENDING: 0,
FULFILLED: 1,
REJECTED: 2
};
var vPromise = function (fn) {
this._state = states.PENDING;
this.value = null;
this._resolveChain = [];
var that = thi... | vPromise.js | (function () {
'use strict';
function debug() {
//console.log(arguments);
}
function skip() {}
var states = {
PENDING: 0,
FULFILLED: 1,
REJECTED: 2
};
var vPromise = function (fn) {
this._state = states.PENDING;
this.value = null;
var that = this;
var onFulfilled = fun... | Get 2.2.6.1 to pass
| vPromise.js | Get 2.2.6.1 to pass | <ide><path>Promise.js
<ide> var vPromise = function (fn) {
<ide> this._state = states.PENDING;
<ide> this.value = null;
<add> this._resolveChain = [];
<ide> var that = this;
<ide>
<ide> var onFulfilled = function (resolve) {
<ide> if (that._state !== states.PENDING) {
<ide> r... | |
Java | mit | e79e13435545aa4435a298c5f5077d00503d5737 | 0 | noogotte/UsefulCommands | package fr.noogotte.useful_commands.command;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.Player;
import fr.aumgn.bukkitutils.command.Command;
import fr.aumgn.bukkitutils.command.CommandArgs;
import fr.aumgn.bukkitutils.command.NestedCommands;
im... | src/main/java/fr/noogotte/useful_commands/command/WorldCommands.java | package fr.noogotte.useful_commands.command;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.Player;
import fr.aumgn.bukkitutils.command.Command;
import fr.aumgn.bukkitutils.command.CommandArgs;
import fr.aumgn.bukkitutils.command.NestedCommands;
im... | fix message for /time and /weather command | src/main/java/fr/noogotte/useful_commands/command/WorldCommands.java | fix message for /time and /weather command | <ide><path>rc/main/java/fr/noogotte/useful_commands/command/WorldCommands.java
<ide> world.setTime(20 * 60);
<ide> player.sendMessage(ChatColor.GOLD
<ide> + "Vous avez mis le jour dans "
<del> + ChatColor.AQUA + player.getWorld().getName());
<add> ... | |
Java | mit | 432617700e89969f3d94b6b1d052b97ef4d04fd4 | 0 | jenniferlarsson/KD405A_Jennifer_L,jenniferlarsson/KD405A_Jennifer_L,jenniferlarsson/KD405A_Jennifer_L | package se.mah.ke.jenniferlarsson;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.table.DefaultTableModel;
import com.jgoodies.forms.layout.ColumnSpec;
import com.jgoodies.forms.layout.FormLayou... | Assignment_1/src/se/mah/ke/jenniferlarsson/Main.java | package se.mah.ke.jenniferlarsson;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.table.DefaultTableModel;
import com.jgoodies.forms.layout.ColumnSpec;
import com.jgoodies.forms.layout.FormLayou... | la till bilder
| Assignment_1/src/se/mah/ke/jenniferlarsson/Main.java | la till bilder | <ide><path>ssignment_1/src/se/mah/ke/jenniferlarsson/Main.java
<ide> import java.awt.GridBagLayout;
<ide> import java.awt.GridBagConstraints;
<ide> import java.awt.Insets;
<add>import javax.swing.ImageIcon;
<add>import java.awt.Color;
<ide>
<ide> public class Main extends JFrame {
<ide>
<ide> { "Bert Nilsson" ... | |
Java | bsd-3-clause | 2c70b57f45922af9701766417dbc4aa87d3e30a1 | 0 | NCIP/catissue-advanced-query,NCIP/catissue-advanced-query |
package edu.wustl.query.util.querysuite;
import java.util.List;
import edu.wustl.common.beans.SessionDataBean;
import edu.wustl.common.exception.BizLogicException;
import edu.wustl.common.factory.AbstractBizLogicFactory;
import edu.wustl.common.hibernate.HibernateCleanser;
import edu.wustl.common.querysuite... | WEB-INF/src/edu/wustl/query/util/querysuite/DefinedQueryUtil.java |
package edu.wustl.query.util.querysuite;
import java.util.List;
import edu.wustl.common.beans.SessionDataBean;
import edu.wustl.common.exception.BizLogicException;
import edu.wustl.common.factory.AbstractBizLogicFactory;
import edu.wustl.common.hibernate.HibernateCleanser;
import edu.wustl.common.querysuite... | Jcsc removed
SVN-Revision: 5718
| WEB-INF/src/edu/wustl/query/util/querysuite/DefinedQueryUtil.java | Jcsc removed | <ide><path>EB-INF/src/edu/wustl/query/util/querysuite/DefinedQueryUtil.java
<ide> * @throws BizLogicException
<ide> * @throws DAOException
<ide> */
<del> public void insertQuery(IQuery query,SessionDataBean sessionDataBean , boolean isShared) throws UserNotAuthorizedException, BizLogicException, DAOException
<ad... | |
Java | apache-2.0 | 565588c13d1712beab7412a783ca3834ac861f55 | 0 | chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq | /**
* 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... | activemq-core/src/test/java/org/apache/activemq/perf/PerfConsumer.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... | check for message order
git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@587091 13f79535-47bb-0310-9956-ffa450edef68
| activemq-core/src/test/java/org/apache/activemq/perf/PerfConsumer.java | check for message order | <ide><path>ctivemq-core/src/test/java/org/apache/activemq/perf/PerfConsumer.java
<ide> public void onMessage(Message msg) {
<ide> rate.increment();
<ide> try {
<del> if (this.audit.isDuplicateMessage(msg)){
<add> if (!this.audit.isInOrder(msg.getJMSMessageID())) {
<add> ... | |
Java | apache-2.0 | f3a805e59d488292dd36ccac70dd3c74364014d7 | 0 | alexjuliansmith/cloudapp-mp2-clone,alexjuliansmith/cloudapp-mp2-clone,alexjuliansmith/cloudapp-mp2-clone | import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.ArrayWritable;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.... | PopularityLeague.java | import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.ArrayWritable;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.... | PopularityLeaguePOC
| PopularityLeague.java | PopularityLeaguePOC | <ide><path>opularityLeague.java
<ide> import org.apache.hadoop.mapreduce.Job;
<ide> import org.apache.hadoop.mapreduce.Mapper;
<ide> import org.apache.hadoop.mapreduce.Reducer;
<add>import org.apache.hadoop.mapreduce.Reducer.Context;
<ide> import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
<ide> import org.a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.