lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
JavaScript
bsd-3-clause
b826cbd3ac9fc4d0e3139432509a4189f1b591f4
0
vsoch/Papaya,vsoch/Papaya,okrad/Papaya,okrad/Papaya,okrad/Papaya,vsoch/Papaya,anarkhede/Papaya,anarkhede/Papaya,anarkhede/Papaya
/*! * Copyright (c) 2012-2013, RII-UTHSCSA * All rights reserved. * * THIS PRODUCT IS NOT FOR CLINICAL USE. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * - Redistributions of source code must retain the a...
lib/daikon.js
/*! * Copyright (c) 2012-2013, RII-UTHSCSA * All rights reserved. * * THIS PRODUCT IS NOT FOR CLINICAL USE. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * - Redistributions of source code must retain the a...
new build of daikon
lib/daikon.js
new build of daikon
<ide><path>ib/daikon.js <ide> /*** Imports ***/ <ide> var daikon = daikon || {}; <ide> daikon.Dictionary = daikon.Dictionary || {}; <add>daikon.Utils = daikon.Utils || ((typeof require !== 'undefined') ? require('./utilities.js') : null); <ide> <ide> <ide> /*** Static Pseudo-constants ***/ <ide> <del>daikon.Dictiona...
Java
apache-2.0
275a9c8ec05e631235a8b39eb5bf9ca23a25b064
0
yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine...
package org.ovirt.engine.core.bll.tasks; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import org.ovirt.engine.core.bll.CommandBase; import org.ovirt.engine.core.bll.CommandMultiAsyncTasks; import org.ovirt.engine.core.bll.CommandsFactory; import org.ovirt.engine.core.bll.job.ExecutionCo...
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandAsyncTask.java
package org.ovirt.engine.core.bll.tasks; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import org.ovirt.engine.core.bll.CommandBase; import org.ovirt.engine.core.bll.CommandMultiAsyncTasks; import org.ovirt.engine.core.bll.CommandsFactory; import org.ovirt.engine.core.bll.job.ExecutionCo...
engine: Remove dead code Change-Id: Ibf02a0fc5229c0ca3223e0c2911ce8f24f391ecf Signed-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc51b720@redhat.com>
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandAsyncTask.java
engine: Remove dead code
<ide><path>ackend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandAsyncTask.java <ide> } <ide> } <ide> <del> private VdcActionType getEndActionType(AsyncTask dbAsyncTask) { <del> VdcActionType commandType = dbAsyncTask.getActionParameters().getCommandType(); <del> ...
Java
apache-2.0
2989fbfaf03eaf40a147395c00ea25dba70ecdd3
0
budioktaviyan/sikerang-android
package id.sikerang.mobile.utils; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.util.Log; /** * @author Budi Oktaviyan Suryanto (budioktaviyans@gmail.com) */ public final c...
src/main/java/id/sikerang/mobile/utils/LocationTracker.java
package id.sikerang.mobile.utils; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.util.Log; /** * @author Budi Oktaviyan Suryanto (budioktaviyans@gmail.com) */ public final c...
Fix location manager to switch on/off gps on demand
src/main/java/id/sikerang/mobile/utils/LocationTracker.java
Fix location manager to switch on/off gps on demand
<ide><path>rc/main/java/id/sikerang/mobile/utils/LocationTracker.java <ide> mLatitude = mLocation.getLatitude(); <ide> mLongitude = mLocation.getLongitude(); <ide> } <add> locationManager.removeUpdates(this); <ide> } ...
Java
apache-2.0
e7899ffec59f9c5e2de4772a3f20740ebbf02bbc
0
CS-SI/Rugged,CS-SI/Rugged
/* Copyright 2013-2014 CS Systèmes d'Information * Licensed to CS Systèmes d'Information (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Versi...
src/main/java/org/orekit/rugged/core/duvenhage/DuvenhageAlgorithm.java
/* Copyright 2013-2014 CS Systèmes d'Information * Licensed to CS Systèmes d'Information (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Versi...
Fixed virtual "wall" appearing at tiles boundaries.
src/main/java/org/orekit/rugged/core/duvenhage/DuvenhageAlgorithm.java
Fixed virtual "wall" appearing at tiles boundaries.
<ide><path>rc/main/java/org/orekit/rugged/core/duvenhage/DuvenhageAlgorithm.java <ide> current = ellipsoid.transform(forward, ellipsoid.getBodyFrame(), null); <ide> tile = cache.getTile(current.getLatitude(), current.getLongitude()); <ide> <del> if (tile.inter...
Java
apache-2.0
7ae8ba78321c16178576baa5d42dec871c6f20d6
0
EvilMcJerkface/Aeron,real-logic/Aeron,real-logic/Aeron,real-logic/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron
/* * Copyright 2014-2020 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
aeron-system-tests/src/test/java/io/aeron/NameReResolutionTest.java
/* * Copyright 2014-2020 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
[Java] Flip order of parameters in CSV config to match order of parameters in calling function.
aeron-system-tests/src/test/java/io/aeron/NameReResolutionTest.java
[Java] Flip order of parameters in CSV config to match order of parameters in calling function.
<ide><path>eron-system-tests/src/test/java/io/aeron/NameReResolutionTest.java <ide> private static final String SUBSCRIPTION_MDS_URI = "aeron:udp?control-mode=manual"; <ide> <ide> private static final String STUB_LOOKUP_CONFIGURATION = <del> ENDPOINT_PARAM_NAME + "," + ENDPOINT_NAME + ",localhost:24326,...
Java
apache-2.0
ef93ba060a3895e22a93291b0a5706b0b44ae6be
0
xkr47/vertx-acme4j,xkr47/vertx-acme4j,xkr47/vertx-acme4j
/* * Copyright 2016-2017 Nitor Creations Oy, Jonas Berlin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
src/main/java/io/nitor/vertx/acme4j/tls/AcmeManager.java
/* * Copyright 2016-2017 Nitor Creations Oy, Jonas Berlin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Describe failures & ensure DB dir is created
src/main/java/io/nitor/vertx/acme4j/tls/AcmeManager.java
Describe failures & ensure DB dir is created
<ide><path>rc/main/java/io/nitor/vertx/acme4j/tls/AcmeManager.java <ide> // TODO update registration when agreement, contact or others change (save to file what were last used values) <ide> String domainAccountLocationFile = dbPath + accountDbId + '-' + DOMAIN_ACCOUNT_LOCATION_FILE; <ide> ...
JavaScript
mit
d548b04bfccd71827ee9f61240a6bef5c4603448
0
dsauerbrun/climbcation-front,dsauerbrun/climbcation-front
var home = angular.module('app', ['ngToast','ngSanitize','trackScroll','infinite-scroll','ui.bootstrap','helperService','filter-directives','location-list-item-directives','section-form-directive','ngRoute','facebookComments','ezfb','ui.bootstrap','duScroll','customFilters']); home.config( function($routeProvider, $lo...
app/js/app.js
var home = angular.module('app', ['ngToast','ngSanitize','trackScroll','infinite-scroll','ui.bootstrap','helperService','filter-directives','location-list-item-directives','section-form-directive','ngRoute','facebookComments','ezfb','ui.bootstrap','duScroll','customFilters']); home.config( function($routeProvider, $lo...
skyscanner referral
app/js/app.js
skyscanner referral
<ide><path>pp/js/app.js <ide> quote_array = []; <ide> var maxPrice = 0; <ide> $.each(this,function(monthKey,value){ <del> $.each(value, function(dayKey,cost){ <del> quote_array.push([monthKey+'/'+dayKey,cost]) <del> if(cost > maxPrice) <del> maxPrice = cost; <del> }) <add> if (monthKey != 'referra...
JavaScript
mit
39c6fcd678f66fdb2d46d28046d7b35bd4bbf679
0
erasme/erajs
Ui.CanvasElement.extend('Ui.Frame', { fill: undefined, radiusTopLeft: 0, radiusTopRight: 0, radiusBottomLeft: 0, radiusBottomRight: 0, frameWidth: 10, constructor: function(config) { this.fill = new Ui.Color({ r: 0, g: 0, b: 0 }); }, getFrameWidth: function() { return this.frameWidth; }, setFrameWidt...
era/ui/frame.js
Ui.CanvasElement.extend('Ui.Frame', { fill: undefined, radiusTopLeft: 0, radiusTopRight: 0, radiusBottomLeft: 0, radiusBottomRight: 0, frameWidth: 10, constructor: function(config) { this.fill = new Ui.Color({ r: 0, g: 0, b: 0 }); }, getFrameWidth: function() { return this.frameWidth; }, setFrameWidt...
avoid graphical problems with negative radius for Ui.Frame
era/ui/frame.js
avoid graphical problems with negative radius for Ui.Frame
<ide><path>ra/ui/frame.js <ide> <ide> ctx.beginPath(); <ide> ctx.roundRect(0, 0, w, h, topLeft, topRight, bottomRight, bottomLeft); <del> ctx.roundRect(this.frameWidth, this.frameWidth, w-(this.frameWidth*2), h-(this.frameWidth*2), topLeft, topRight, bottomRight, bottomLeft, true); <add> ctx.roundRect(this.frame...
Java
apache-2.0
6c54bd77a5d87a84c5b466bd1976926cc0233e53
0
andrei-viaryshka/pentaho-hadoop-shims,SergeyTravin/pentaho-hadoop-shims,dkincade/pentaho-hadoop-shims,smaring/pentaho-hadoop-shims,pentaho/pentaho-hadoop-shims,mkambol/pentaho-hadoop-shims
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License...
api/src/org/pentaho/hadoop/shim/HadoopConfigurationLocator.java
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License...
[BAD-531] - Need more detailed message on failing HadoopConfigurationLocator loadHadoopConfiguration method invoke
api/src/org/pentaho/hadoop/shim/HadoopConfigurationLocator.java
[BAD-531] - Need more detailed message on failing HadoopConfigurationLocator loadHadoopConfiguration method invoke
<ide><path>pi/src/org/pentaho/hadoop/shim/HadoopConfigurationLocator.java <ide> * <ide> * Pentaho Big Data <ide> * <del> * Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com <add> * Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com <ide> * <ide> **************************************************...
Java
bsd-2-clause
9335417085a6c257b4dd6801f930a15eac189c35
0
nvdb-vegdata/nvdb-api-client,nvdb-vegdata/nvdb-api-client
package no.vegvesen.nvdbapi.client.model; import java.util.Objects; public class Coordinates { private final Projection projection; private final double lat_easting; private final double long_northing; private Coordinates(Projection projection, double lat_easting, double long_northing) { this...
src/main/java/no/vegvesen/nvdbapi/client/model/Coordinates.java
package no.vegvesen.nvdbapi.client.model; import java.util.Objects; public class Coordinates { private final Projection projection; private final double lat_easting; private final double long_northing; private Coordinates(Projection projection, double lat_easting, double long_northing) { this...
NVDB-4762: Fix for Coordinates.utm33
src/main/java/no/vegvesen/nvdbapi/client/model/Coordinates.java
NVDB-4762: Fix for Coordinates.utm33
<ide><path>rc/main/java/no/vegvesen/nvdbapi/client/model/Coordinates.java <ide> } <ide> <ide> public static Coordinates utm33(double easting, double northing) { <del> return new Coordinates(Projection.WGS84, easting, northing); <add> return new Coordinates(Projection.UTM33, easting, northing); <i...
Java
bsd-2-clause
b28bc1e62b8aad1613783ff9dde20b4b5746ccdf
0
RCRS-ADF/sample,RCRS-ADF/sample
package adf.sample.module.complex; import adf.agent.communication.MessageManager; import adf.agent.communication.standard.bundle.MessageUtil; import adf.agent.communication.standard.bundle.information.*; import adf.agent.develop.DevelopData; import adf.agent.info.AgentInfo; import adf.agent.info.ScenarioInfo; import a...
src/adf/sample/module/complex/SampleSearch.java
package adf.sample.module.complex; import adf.agent.communication.MessageManager; import adf.agent.communication.standard.bundle.MessageUtil; import adf.agent.communication.standard.bundle.information.*; import adf.agent.develop.DevelopData; import adf.agent.info.AgentInfo; import adf.agent.info.ScenarioInfo; import a...
update
src/adf/sample/module/complex/SampleSearch.java
update
<ide><path>rc/adf/sample/module/complex/SampleSearch.java <ide> return building1; <ide> } <ide> if(building1.isTemperatureDefined() && building2.isTemperatureDefined()) { <del> return building1.getTemperature() < building2.getTempera...
JavaScript
mit
5ee031da009df266ea2178917f5922425eaaf7dd
0
alexfernandez/deployment
'use strict'; /** * Deploy a software package. * (C) 2013 Alex Fernández. */ // requires var childProcess = require('child_process'); var util = require('util'); var async = require('async'); var testing = require('testing'); var Log = require('log'); // globals var log = new Log('info'); var originalLog = log; ...
lib/deployment.js
'use strict'; /** * Deploy a software package. * (C) 2013 Alex Fernández. */ // requires var childProcess = require('child_process'); var util = require('util'); var async = require('async'); var testing = require('testing'); var Log = require('log'); // globals var log = new Log('info'); var originalLog = log; ...
Correct merge for --detail.
lib/deployment.js
Correct merge for --detail.
<ide><path>ib/deployment.js <ide> tasks.push(getRunnerIn('git fetch', directory)); <ide> tasks.push(getRunnerIn('git log HEAD..@{u} --format=oneline', directory)); <ide> tasks.push(getRunnerIn('git diff HEAD..@{u}', directory)); <del> tasks.push(getRunnerIn('git merge', directory)); <add> tasks.push(getRun...
Java
apache-2.0
48e172fb6cd0a9f086455f1ef758258c711c4395
0
JetBrains/jetpad-mapper,belarusian/jetpad-mapper,timzam/jetpad-mapper
/* * Copyright 2012-2015 JetBrains s.r.o * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
util/base/src/main/java/jetbrains/jetpad/base/Asyncs.java
/* * Copyright 2012-2015 JetBrains s.r.o * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Asycs handle exceptions thrown from argument functions
util/base/src/main/java/jetbrains/jetpad/base/Asyncs.java
Asycs handle exceptions thrown from argument functions
<ide><path>til/base/src/main/java/jetbrains/jetpad/base/Asyncs.java <ide> async.onResult(new Handler<SourceT>() { <ide> @Override <ide> public void handle(SourceT item) { <del> result.success(f.apply(item)); <add> try { <add> result.success(f.apply(item)); <add> } catch (Ex...
Java
apache-2.0
a2233dfc6a03359745385bc38384b60a4cdb2431
0
wcm-io-qa/wcm-io-qa-galenium,wcm-io-qa/wcm-io-qa-galenium,wcm-io-qa/wcm-io-qa-galenium
/* * #%L * wcm.io * %% * Copyright (C) 2020 wcm.io * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
modules/icing/src/main/java/io/wcm/qa/glnm/junit/UsesChrome.java
/* * #%L * wcm.io * %% * Copyright (C) 2020 wcm.io * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
fix(reporting): add screenshot after test to browser interface When doing it from AllureContainerListener the driver was already gone. Behavior can be changed by overriding method in test class or interface.
modules/icing/src/main/java/io/wcm/qa/glnm/junit/UsesChrome.java
fix(reporting): add screenshot after test to browser interface
<ide><path>odules/icing/src/main/java/io/wcm/qa/glnm/junit/UsesChrome.java <ide> import io.github.bonigarcia.seljup.Arguments; <ide> import io.github.bonigarcia.seljup.SeleniumExtension; <ide> import io.wcm.qa.glnm.context.GaleniumContext; <add>import io.wcm.qa.glnm.reporting.GaleniumReportUtil; <ide> <ide> /** <ide> ...
Java
apache-2.0
18a370430c349b5412123badc0ec8eafc4147b16
0
mpujari/ohcount4j,mpujari/ohcount4j,mpujari/ohcount4j,blackducksoftware/ohcount4j,blackducksoftware/ohcount4j,blackducksoftware/ohcount4j,mpujari/ohcount4j,blackducksoftware/ohcount4j,mpujari/ohcount4j,blackducksoftware/ohcount4j,mpujari/ohcount4j
package net.ohloh.ohcount4j; import java.util.ArrayList; import java.util.List; import net.ohloh.ohcount4j.scan.*; public enum Language { /* All languages must be defined here. * * Each language must declare two mandatory properties: * * - The language's official display name (niceName) * - A Scanner s...
src/net/ohloh/ohcount4j/Language.java
package net.ohloh.ohcount4j; import java.util.ArrayList; import java.util.List; import net.ohloh.ohcount4j.scan.*; public enum Language { /* All languages must be defined here. * * Each language must declare two mandatory properties: * * - The language's official display name (niceName) * - A Scanner s...
Added XSL Transformation as a Language that uses XMLScanner
src/net/ohloh/ohcount4j/Language.java
Added XSL Transformation as a Language that uses XMLScanner
<ide><path>rc/net/ohloh/ohcount4j/Language.java <ide> VB("VisualBasic", VisualBasicScanner.class), <ide> VBSCRIPT("VBScript", VisualBasicScanner.class), <ide> XML("XML", XmlScanner.class), <del> XMLSCHEMA("XmlSchema", XmlScanner.class); <add> XMLSCHEMA("XML Schema", XmlScanner.class), <add> XSLT("XSL Transformation"...
Java
lgpl-2.1
3cbec03fb7c87e286fdee4019630540c21d7a1e4
0
samskivert/samskivert,samskivert/samskivert
// // $Id: Label.java,v 1.35 2003/12/09 04:07:16 mdb Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2002 Michael Bayne // // 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 Fr...
projects/samskivert/src/java/com/samskivert/swing/Label.java
// // $Id: Label.java,v 1.34 2003/11/15 03:05:15 mdb Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2002 Michael Bayne // // 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 Fr...
Oh the never-ending tragedy of this Sisyphean effort to get text to render within the bounds in which it claims it will render. It appears that some fonts just render into the negative x direction a bit (for characters like J which apparently sassily stick out to the left of every other goddamned character in the alpha...
projects/samskivert/src/java/com/samskivert/swing/Label.java
Oh the never-ending tragedy of this Sisyphean effort to get text to render within the bounds in which it claims it will render. It appears that some fonts just render into the negative x direction a bit (for characters like J which apparently sassily stick out to the left of every other goddamned character in the alpha...
<ide><path>rojects/samskivert/src/java/com/samskivert/swing/Label.java <ide> // <del>// $Id: Label.java,v 1.34 2003/11/15 03:05:15 mdb Exp $ <add>// $Id: Label.java,v 1.35 2003/12/09 04:07:16 mdb Exp $ <ide> // <ide> // samskivert library - useful routines for java programs <ide> // Copyright (C) 2002 Michael Bayne <id...
JavaScript
mit
14d3c88095ce662e987d8049c4c05c0fd1daa6ce
0
reactjs/reselect,chromakode/reselect,chentsulin/reselect,rackt/reselect,SpainTrain/reselect,reactjs/reselect,faassen/reselect
function defaultValuesEqual(a, b) { return a === b; } // TODO: Reintroduce comment, slightly rewritten export function defaultMemoize(func, valuesEqual = defaultValuesEqual) { let lastArgs = null; let lastResult = null; return (...args) => { if (lastArgs !== null && args.every((valu...
src/index.js
function defaultValuesEqual(a, b) { return a === b; } // TODO: Reintroduce comment, slightly rewritten export function defaultMemoize(func, valuesEqual = defaultValuesEqual) { let lastArgs = null; let lastResult = null; return (...args) => { if (lastArgs !== null && args.every((valu...
Reverts last commit. It's necessary to have at least two parameters in the returning function definition in order to play nice with `react-redux`'s `connect` function.
src/index.js
Reverts last commit.
<ide><path>rc/index.js <ide> const memoizedResultFunc = memoize(selectors.pop(), ...memoizeOptions); <ide> const dependencies = Array.isArray(selectors[0]) ? <ide> selectors[0] : selectors; <del> return (...args) => { <del> const params = dependencies.map(dependency => depe...
Java
apache-2.0
b9bfe560e718d4e7b560822f92bc4f6fc4567397
0
sprater/fcrepo4,barmintor/fcrepo4,nianma/fcrepo4,whikloj/fcrepo4,peichman-umd/fcrepo4,peichman-umd/fcrepo4,yinlinchen/fcrepo4,escowles/fcrepo4,sprater/fcrepo4,ruebot/fcrepo4,yinlinchen/fcrepo4,medusa-project/fcrepo4,ychouloute/fcrepo4,mohideen/fcrepo4,mohideen/fcrepo4,ychouloute/fcrepo4,fcrepo4/fcrepo4,whikloj/fcrepo4,...
package org.fcrepo.generator; import static javax.ws.rs.core.MediaType.TEXT_PLAIN; import static javax.ws.rs.core.MediaType.TEXT_XML; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.List; import javax.inject.Inject; import javax.jcr.NamespaceRegistry; import javax.jcr.RepositoryEx...
fcrepo-generator-rdf/src/main/java/org/fcrepo/generator/DatastreamRdfGenerator.java
package org.fcrepo.generator; import static javax.ws.rs.core.MediaType.TEXT_PLAIN; import static javax.ws.rs.core.MediaType.TEXT_XML; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.List; import javax.inject.Inject; import javax.jcr.NamespaceRegistry; import javax.jcr.RepositoryEx...
Suppressing invalid namespaces
fcrepo-generator-rdf/src/main/java/org/fcrepo/generator/DatastreamRdfGenerator.java
Suppressing invalid namespaces
<ide><path>crepo-generator-rdf/src/main/java/org/fcrepo/generator/DatastreamRdfGenerator.java <ide> ds.getNode().getSession().getWorkspace() <ide> .getNamespaceRegistry(); <ide> for (final String prefix : nReg.getPrefixes()) { <del> writer.recei...
JavaScript
mit
0488492dc166c3c47e2a3e8a4f3f39c0115f6353
0
fczbkk/css-selector-generator,fczbkk/css-selector-generator,fczbkk/css-selector-generator,fczbkk/css-selector-generator
import {assert} from 'chai'; import {getNthOfTypeSelector} from '../src/selector-nth-of-type'; import {getCssSelector} from '../src'; import {constructSelector} from '../src/utilities-selectors.js'; describe('selector - nth-of-type', function () { let root; beforeEach(function () { root = document.body.appen...
test/selector-nth-of-type.spec.js
import {assert} from 'chai'; import {getNthOfTypeSelector} from '../src/selector-nth-of-type'; import {getCssSelector} from '../src'; describe('selector - nth-of-type', function () { let root; beforeEach(function () { root = document.body.appendChild(document.createElement('div')); }); afterEach(functio...
test: adjust test
test/selector-nth-of-type.spec.js
test: adjust test
<ide><path>est/selector-nth-of-type.spec.js <ide> import {assert} from 'chai'; <ide> import {getNthOfTypeSelector} from '../src/selector-nth-of-type'; <ide> import {getCssSelector} from '../src'; <add>import {constructSelector} from '../src/utilities-selectors.js'; <ide> <ide> describe('selector - nth-of-type', functi...
Java
apache-2.0
34f75b0a5d020f8f21d8b53c39d3d584efda047c
0
mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver
// 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...
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.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...
CLOUDSTACK-2933 Added vpc load balancing changes for vmware
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
CLOUDSTACK-2933 Added vpc load balancing changes for vmware
<ide><path>lugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java <ide> return new SetStaticNatRulesAnswer(cmd, results, endResult); <ide> } <ide> <add> protected Answer VPCLoadBalancerConfig(final LoadBalancerConfigCommand cmd) { <add> VmwareManager mgr = getServi...
Java
apache-2.0
f65b50789d460927206eadd290dcc771ecd38d1b
0
jeorme/OG-Platform,jeorme/OG-Platform,jeorme/OG-Platform,McLeodMoores/starling,nssales/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,jeorme/OG-Platform,nssales/OG-Platform,ChinaQuants/OG-Platform,jerome79/OG-Platform,codeaudit/OG-Pl...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.riskfactors; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang.NotImplementedException; import com.google.c...
projects/OG-Financial/src/com/opengamma/financial/analytics/riskfactors/DefaultRiskFactorsGatherer.java
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.riskfactors; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang.NotImplementedException; import com.google.c...
Adding more results to the risk factor results gatherer
projects/OG-Financial/src/com/opengamma/financial/analytics/riskfactors/DefaultRiskFactorsGatherer.java
Adding more results to the risk factor results gatherer
<ide><path>rojects/OG-Financial/src/com/opengamma/financial/analytics/riskfactors/DefaultRiskFactorsGatherer.java <ide> import com.opengamma.engine.value.ValueRequirementNames; <ide> import com.opengamma.engine.view.ViewCalculationConfiguration; <ide> import com.opengamma.financial.analytics.FilteringSummingFunction; <...
Java
apache-2.0
cc2d9057ffb3a9526641136c912551281bdf707e
0
Ralph-VX/LMBS-Editor
package kien.lmbseditor.window.motion; import java.text.DecimalFormat; import javax.swing.JCheckBox; import javax.swing.JFormattedTextField; import javax.swing.JLabel; import kien.lmbseditor.core.motion.SkillMotionCommandBase; import kien.lmbseditor.core.motion.SkillMotionCommandRotation; import net.miginfocom.swing...
src/kien/lmbseditor/window/motion/MotionPropertyDialogRotation.java
package kien.lmbseditor.window.motion; import java.text.DecimalFormat; import javax.swing.JCheckBox; import javax.swing.JFormattedTextField; import javax.swing.JLabel; import kien.lmbseditor.core.motion.SkillMotionCommandBase; import kien.lmbseditor.core.motion.SkillMotionCommandRotation; import net.miginfocom.swing...
Fixed Round Field and Duration field was not work correct.
src/kien/lmbseditor/window/motion/MotionPropertyDialogRotation.java
Fixed Round Field and Duration field was not work correct.
<ide><path>rc/kien/lmbseditor/window/motion/MotionPropertyDialogRotation.java <ide> rotation = ((Number)rotationField.getValue()).intValue(); <ide> dur = ((Number)durationField.getValue()).intValue(); <ide> dir = invertCheck.isSelected() ? 1 : 0; <del> rounds = ((Number)durationField.getValue()).intValue(); <add...
Java
apache-2.0
ffd1988edd9eb6a0351e149cdf7ff0962fec32a8
0
BlurEngine/Blur,BlurEngine/Blur
/* * Copyright 2016 Ali Moghnieh * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
src/main/java/com/blurengine/blur/BlurPlugin.java
/* * Copyright 2016 Ali Moghnieh * * 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...
Use PlayerListeners#defaultSpeeds from common lib to fix restart setting player speed to 0.
src/main/java/com/blurengine/blur/BlurPlugin.java
Use PlayerListeners#defaultSpeeds from common lib to fix restart setting player speed to 0.
<ide><path>rc/main/java/com/blurengine/blur/BlurPlugin.java <ide> import com.supaham.commons.bukkit.SimpleCommonPlugin; <ide> import com.supaham.commons.bukkit.TickerTask; <ide> import com.supaham.commons.bukkit.commands.common.CommonCommands; <add>import com.supaham.commons.bukkit.listeners.PlayerListeners; <ide> impo...
Java
apache-2.0
bb6c3712d2affb21c47407165e3cc1540e2c4c1a
0
emre-aydin/hazelcast,tufangorel/hazelcast,mesutcelik/hazelcast,tufangorel/hazelcast,tkountis/hazelcast,mdogan/hazelcast,emrahkocaman/hazelcast,tkountis/hazelcast,Donnerbart/hazelcast,dbrimley/hazelcast,lmjacksoniii/hazelcast,mdogan/hazelcast,tufangorel/hazelcast,tombujok/hazelcast,lmjacksoniii/hazelcast,dbrimley/hazelc...
/* * Copyright (c) 2008-2010, Hazel Ltd. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
hazelcast/src/main/java/com/hazelcast/impl/Record.java
/* * Copyright (c) 2008-2010, Hazel Ltd. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
fixes Record.equals git-svn-id: 505f71283407c412190d59965c6d67c623df2891@1426 3f8e66b6-ca9d-11dd-a2b5-e5f827957e07
hazelcast/src/main/java/com/hazelcast/impl/Record.java
fixes Record.equals
<ide><path>azelcast/src/main/java/com/hazelcast/impl/Record.java <ide> @Override <ide> public boolean equals(Object o) { <ide> if (this == o) return true; <del> if ((o instanceof Record)) return false; <add> if (!(o instanceof Record)) return false; <ide> Record record = (Record) o...
Java
apache-2.0
7e29ce520bcb3ab4a5275ff2dce49332f66887c6
0
sdgdsffdsfff/hermes,sdgdsffdsfff/hermes,lejingw/hermes,sdgdsffdsfff/hermes,lejingw/hermes,fengshao0907/hermes,fengshao0907/hermes,Tony-Zhang03/hermes,lejingw/hermes,Tony-Zhang03/hermes,fengshao0907/hermes,sdgdsffdsfff/hermes,fengshao0907/hermes,Tony-Zhang03/hermes,Tony-Zhang03/hermes,lejingw/hermes
package com.ctrip.hermes.broker.lease; import java.util.Date; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.ut...
hermes-broker/src/main/java/com/ctrip/hermes/broker/lease/BrokerLeaseContainer.java
package com.ctrip.hermes.broker.lease; import java.util.Date; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.ut...
fix lease renew bug
hermes-broker/src/main/java/com/ctrip/hermes/broker/lease/BrokerLeaseContainer.java
fix lease renew bug
<ide><path>ermes-broker/src/main/java/com/ctrip/hermes/broker/lease/BrokerLeaseContainer.java <ide> if (!lease.isExpired()) { <ide> m_existingLeases.put(key, lease); <ide> <del> long renewDelay = lease.getRemainingTime() - m_config.getLeaseRenewTimeMillsBeforeExpire(); <add> long renewDelay = calRenewDela...
Java
apache-2.0
4c0a5886ca10f60b0efff843dd10d4b12d4c6de9
0
zxhfirefox/netty,silvaran/netty,ninja-/netty,Kalvar/netty,lznhust/netty,afds/netty,Alwayswithme/netty,mikkokar/netty,Mounika-Chirukuri/netty,f7753/netty,ijuma/netty,netty/netty,shenguoquan/netty,lukw00/netty,danny200309/netty,windie/netty,lukehutch/netty,brennangaunce/netty,duqiao/netty,yrcourage/netty,huuthang1993/net...
/* * Copyright 2011 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractDatagramMulticastTest.java
/* * Copyright 2011 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
Make sure multicast tests pass on all os'es
testsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractDatagramMulticastTest.java
Make sure multicast tests pass on all os'es
<ide><path>estsuite/src/test/java/io/netty/testsuite/transport/socket/AbstractDatagramMulticastTest.java <ide> import io.netty.testsuite.util.TestUtils; <ide> import io.netty.util.internal.ExecutorUtil; <ide> <add>import java.net.InetAddress; <ide> import java.net.InetSocketAddress; <ide> import java.net.NetworkInterf...
Java
unlicense
db5fc15363432b11f40208a6b18034cf83248418
0
ktams/CV-Navi,ktams/CV-Navi
/* * KlarTextUI.java * * Created on 20.01.2009, 17:34:06 */ package my.KlarText; import java.awt.Container; import java.awt.Cursor; import java.awt.Dialog.ModalExclusionType; import java.awt.Dimension; import java.awt.Frame; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionLi...
src/my/KlarText/KlarTextUI.java
/* * KlarTextUI.java * * Created on 20.01.2009, 17:34:06 */ package my.KlarText; import java.awt.Container; import java.awt.Cursor; import java.awt.Dialog.ModalExclusionType; import java.awt.Dimension; import java.awt.Frame; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionLi...
Versionsanpassung an 2.8
src/my/KlarText/KlarTextUI.java
Versionsanpassung an 2.8
<ide><path>rc/my/KlarText/KlarTextUI.java <ide> <ide> public class KlarTextUI extends javax.swing.JFrame { <ide> /** Creates new form KlarTextUI */ <del> public int gsVersionMayor = 2; <del> public int gsVersionMinor = 7; <add> public int gsVersionMayor = 2; // Version 2.8 <add> public int ...
Java
mit
82198d98f7fb4f73cfe9530fa1d5791cd668b642
0
iMinusMinus/tao
/** * MIT License * * Copyright (c) 2016 iMinusMinus * * 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,...
src/main/java/ml/iamwhatiam/tao/ddd/CodeGen.java
/** * MIT License * * Copyright (c) 2016 iMinusMinus * * 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,...
codegen refactor
src/main/java/ml/iamwhatiam/tao/ddd/CodeGen.java
codegen refactor
<ide><path>rc/main/java/ml/iamwhatiam/tao/ddd/CodeGen.java <ide> import java.io.FileWriter; <ide> import java.io.StringWriter; <ide> import java.io.Writer; <add>import java.util.ArrayList; <add>import java.util.Arrays; <ide> import java.util.Date; <ide> import java.util.HashMap; <add>import java.util.List; <ide> import...
Java
apache-2.0
454a133dbd748f7e1907922c9e3c7de1b3d043de
0
tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki
/* JSPWiki - a JSP-based WikiWiki clone. Copyright (C) 2005 Janne Jalkanen (Janne.Jalkanen@iki.fi) This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at yo...
src/com/ecyrd/jspwiki/search/LuceneSearchProvider.java
/* JSPWiki - a JSP-based WikiWiki clone. Copyright (C) 2005 Janne Jalkanen (Janne.Jalkanen@iki.fi) This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at yo...
Now actually reads the analyzer class from properties... git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@625749 13f79535-47bb-0310-9956-ffa450edef68
src/com/ecyrd/jspwiki/search/LuceneSearchProvider.java
Now actually reads the analyzer class from properties...
<ide><path>rc/com/ecyrd/jspwiki/search/LuceneSearchProvider.java <ide> int initialDelay = TextUtil.getIntegerProperty( props, PROP_LUCENE_INITIALDELAY, LuceneUpdater.INITIAL_DELAY ); <ide> int indexDelay = TextUtil.getIntegerProperty( props, PROP_LUCENE_INDEXDELAY, LuceneUpdater.INDEX_DELAY ); <ide> ...
Java
agpl-3.0
f6de412f5787fceb223798005368742e0a9ef032
0
deepstupid/sphinx5
/* * Copyright 1999-2002 Carnegie Mellon University. * Portions Copyright 2002 Sun Microsystems, Inc. * Portions Copyright 2002 Mitsubishi Electronic Research Laboratories. * All Rights Reserved. Use is subject to license terms. * * See the file "license.terms" for information on usage and * redistributio...
edu/cmu/sphinx/decoder/linguist/LMGrammar.java
/* * Copyright 1999-2002 Carnegie Mellon University. * Portions Copyright 2002 Sun Microsystems, Inc. * Portions Copyright 2002 Mitsubishi Electronic Research Laboratories. * All Rights Reserved. Use is subject to license terms. * * See the file "license.terms" for information on usage and * redistributio...
Uses Word objects instead of word IDs. git-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@1921 94700074-3cef-4d97-a70e-9c8c206c02f5
edu/cmu/sphinx/decoder/linguist/LMGrammar.java
Uses Word objects instead of word IDs.
<ide><path>du/cmu/sphinx/decoder/linguist/LMGrammar.java <ide> <ide> import edu.cmu.sphinx.util.SphinxProperties; <ide> import edu.cmu.sphinx.util.Timer; <add>import edu.cmu.sphinx.knowledge.dictionary.Word; <ide> import edu.cmu.sphinx.knowledge.language.LanguageModel; <ide> import edu.cmu.sphinx.knowledge.language.Wo...
Java
apache-2.0
0f21a8225604a60244bc7c602b0a7fc52176ac98
0
wschaeferB/autopsy,esaunders/autopsy,esaunders/autopsy,wschaeferB/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,esaunders/autopsy,rcordovano/autopsy,esaunders/autopsy
/* * Autopsy Forensic Browser * * Copyright 2019 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt ain a copy of the License at * * http://w...
Core/src/org/sleuthkit/autopsy/communications/relationships/MediaViewer.java
/* * Autopsy Forensic Browser * * Copyright 2019 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt ain a copy of the License at * * http://w...
Added resetComponent call to setSelectionInfo
Core/src/org/sleuthkit/autopsy/communications/relationships/MediaViewer.java
Added resetComponent call to setSelectionInfo
<ide><path>ore/src/org/sleuthkit/autopsy/communications/relationships/MediaViewer.java <ide> logger.log(Level.WARNING, "Unable to update selection." , ex); <ide> } <ide> <del> if(artifactList.size() == 0) { <del> thumbnailViewer.resetComponent(); <del> } <add> thumbn...
Java
apache-2.0
18a9563b35ced1faa64e41e96170c9631171cf26
0
TremoloSecurity/OpenUnison,TremoloSecurity/OpenUnison,TremoloSecurity/OpenUnison,TremoloSecurity/OpenUnison,TremoloSecurity/OpenUnison
/* Copyright 2015 Tremolo Security, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
unison/unison-server-core/src/main/java/com/tremolosecurity/proxy/SessionManagerImpl.java
/* Copyright 2015 Tremolo Security, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
for #271 added checks for other names
unison/unison-server-core/src/main/java/com/tremolosecurity/proxy/SessionManagerImpl.java
for #271 added checks for other names
<ide><path>nison/unison-server-core/src/main/java/com/tremolosecurity/proxy/SessionManagerImpl.java <ide> // TODO create open session <ide> if (cookies != null) { <ide> for (int i = 0; i < cookies.length; i++) { <del> if (cookies[i].getName().equals("tremoloOpenSession")) { <add> if (cookies[i].g...
Java
epl-1.0
c312471ad197be322b778b0ddef11237ea6e53bc
0
qgears/opensource-utils,qgears/opensource-utils,qgears/opensource-utils,qgears/opensource-utils,qgears/opensource-utils
package hu.qgears.opengl.commons; import hu.qgears.commons.IDisposeable; import hu.qgears.commons.mem.DefaultJavaNativeMemory; import hu.qgears.images.ENativeImageAlphaStorageFormat; import hu.qgears.images.ENativeImageComponentOrder; import hu.qgears.images.NativeImage; import hu.qgears.images.SizeInt; import hu.qgea...
commons/hu.qgears.opengl.commons/src/hu/qgears/opengl/commons/Texture.java
package hu.qgears.opengl.commons; import hu.qgears.commons.IDisposeable; import hu.qgears.commons.mem.DefaultJavaNativeMemory; import hu.qgears.images.ENativeImageAlphaStorageFormat; import hu.qgears.images.ENativeImageComponentOrder; import hu.qgears.images.NativeImage; import hu.qgears.images.SizeInt; import hu.qgea...
fixing 'squid:ClassVariableVisibilityCheck' - breaks API!
commons/hu.qgears.opengl.commons/src/hu/qgears/opengl/commons/Texture.java
fixing 'squid:ClassVariableVisibilityCheck' - breaks API!
<ide><path>ommons/hu.qgears.opengl.commons/src/hu/qgears/opengl/commons/Texture.java <ide> private EBlendFunc blendFunc=EBlendFunc.off; <ide> private boolean disposed = false; <ide> private int width, height; <del> public NativeImage sourceImage; <del> public EMipMapType sourceMipmapType; <del> public ETextureWrapTy...
JavaScript
agpl-3.0
85fdfeccb028ad46d9be7522fd508311aca6d3e2
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
8a8e4c6c-2e64-11e5-9284-b827eb9e62be
helloWorld.js
8a88b554-2e64-11e5-9284-b827eb9e62be
8a8e4c6c-2e64-11e5-9284-b827eb9e62be
helloWorld.js
8a8e4c6c-2e64-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>8a88b554-2e64-11e5-9284-b827eb9e62be <add>8a8e4c6c-2e64-11e5-9284-b827eb9e62be
JavaScript
mit
7e64f642a1d82a7628e4cdf2d518c8dc27c74726
0
stinaq/education,stinaq/education
(function (window, $) { "use strict"; var quizData = []; var buildQuestionMarkup = function (questionItem, index) { return [ '<div class="question-wrapper" id="', index, '">', '<p>', questionItem.question, '</p>', '<div>', '<div>', '<input type="c...
JavaScript/quizapp/quizapp.js
(function (window, $) { "use strict"; var buildQuestionMarkup = function (questionItem, index) { return [ '<div class="question-wrapper" id="', index, '">', '<p>', questionItem.question, '</p>', '<div>', ...
App now shows your answer and the correct answer
JavaScript/quizapp/quizapp.js
App now shows your answer and the correct answer
<ide><path>avaScript/quizapp/quizapp.js <ide> (function (window, $) { <del> "use strict"; <add> "use strict"; <add> var quizData = []; <ide> <del> var buildQuestionMarkup = function (questionItem, index) { <del> return [ <del> '<div class="question-wrapper" id="', index, '">', <del> ...
Java
apache-2.0
ddfeaf9a11fc82cb3b1225a5754285435f2f7fab
0
apache/bookkeeper,apache/bookkeeper,apache/bookkeeper,apache/bookkeeper,apache/bookkeeper,apache/bookkeeper
/** * 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...
bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.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 potential NullPointerException when local book keeper stop on exit Descriptions of the changes in this PR: - Fix potential NullPointerException when local book keeper stop on exit. Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <sijie@apache.org> This closes #2414 from gaoxinge/fix
bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
Fix potential NullPointerException when local book keeper stop on exit
<ide><path>ookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java <ide> <ide> private List<File> runBookies(String dirSuffix) <ide> throws Exception { <del> List<File> tempDirs = new ArrayList<File>(); <add> List<File> tempDirs = new ArrayList<>(); <ide> tr...
Java
apache-2.0
62fe8434a1b172e61a1cb63f31594b6d33067c4b
0
killbill/killbill-adyen-plugin
/* * Copyright 2014-2018 Groupon, Inc * Copyright 2014-2018 The Billing Project, LLC * * The Billing Project licenses this file to you 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...
src/test/java/org/killbill/billing/plugin/adyen/api/TestAdyenPaymentPluginApi.java
/* * Copyright 2014-2018 Groupon, Inc * Copyright 2014-2018 The Billing Project, LLC * * The Billing Project licenses this file to you 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...
Modify test for skipGw
src/test/java/org/killbill/billing/plugin/adyen/api/TestAdyenPaymentPluginApi.java
Modify test for skipGw
<ide><path>rc/test/java/org/killbill/billing/plugin/adyen/api/TestAdyenPaymentPluginApi.java <ide> import org.killbill.billing.plugin.adyen.dao.AdyenDao; <ide> import org.killbill.billing.plugin.adyen.dao.gen.tables.records.AdyenPaymentMethodsRecord; <ide> import org.killbill.billing.plugin.api.PluginProperties; <add>i...
Java
mit
c3a093e4dbc85ff4dac93182a37c67e572903da5
0
Innovimax-SARL/mix-them
package innovimax.mixthem.operation; import innovimax.mixthem.MixException; import innovimax.mixthem.arguments.ParamValue; import innovimax.mixthem.arguments.RuleParam; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.stream.Collectors; /** * <p>Joins...
src/main/java/innovimax/mixthem/operation/DefaultLineJoining.java
package innovimax.mixthem.operation; import innovimax.mixthem.MixException; import innovimax.mixthem.arguments.ParamValue; import innovimax.mixthem.arguments.RuleParam; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.stream.Collectors; /** * <p>Joins...
Update DefaultLineJoining.java
src/main/java/innovimax/mixthem/operation/DefaultLineJoining.java
Update DefaultLineJoining.java
<ide><path>rc/main/java/innovimax/mixthem/operation/DefaultLineJoining.java <ide> this.joinCols = new int[1]; <ide> this.joinCols[0] = JoinOperation.DEFAULT_JOIN_COLUMN.getValue().asInt(); <ide> } <del> System.out.println("COLS="+Arrays.toString(this.joinCols)); <add> //System.out.println("COLS="+Arrays.toStr...
Java
apache-2.0
6a375b8623e10333e656d9b616b33ec845146da0
0
welleby/aftonbladet-analyzer
package org.welleby.web.scrape.aftonbladet; import org.apache.commons.io.FileUtils; import org.apache.commons.io.input.ReversedLinesFileReader; import org.apache.logging.log4j.*; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.net.HttpURLConnection; import java.net.U...
src/main/java/org/welleby/web/scrape/aftonbladet/Application.java
package org.welleby.web.scrape.aftonbladet; import org.apache.commons.io.FileUtils; import org.apache.commons.io.input.ReversedLinesFileReader; import org.apache.logging.log4j.*; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.net.HttpURLConnection; import java.net.U...
Changed the way workingUrl-file is handled. Now it wont throw exception if the file does not exist.
src/main/java/org/welleby/web/scrape/aftonbladet/Application.java
Changed the way workingUrl-file is handled. Now it wont throw exception if the file does not exist.
<ide><path>rc/main/java/org/welleby/web/scrape/aftonbladet/Application.java <ide> <ide> public static void main(String[] args) throws IOException { <ide> workingUrlsFile = new File(URL_FILE); <del> ReversedLinesFileReader fileReader = new ReversedLinesFileReader(workingUrlsFile); <add> <ide>...
Java
bsd-3-clause
3944059a2193cd846ed75c3cd1c737dbff34b718
0
muloem/xins,muloem/xins,muloem/xins
/* * $Id$ */ package org.xins.util.collections.expiry; import java.util.HashMap; import java.util.Map; import org.xins.util.MandatoryArgumentChecker; /** * Expiry folder. Contains values indexed by key. Items in this map will * expire after a predefined amount of time, unless they're access within that * timefra...
src/java-common/org/xins/util/collections/expiry/ExpiryFolder.java
/* * $Id$ */ package org.xins.util.collections.expiry; import java.util.HashMap; import java.util.Map; import org.xins.util.MandatoryArgumentChecker; /** * Expiry folder. Contains values indexed by key. Items in this map will * expire after a predefined amount of time, unless they're access within that * timefra...
Fixed Javadoc comment.
src/java-common/org/xins/util/collections/expiry/ExpiryFolder.java
Fixed Javadoc comment.
<ide><path>rc/java-common/org/xins/util/collections/expiry/ExpiryFolder.java <ide> //------------------------------------------------------------------------- <ide> <ide> /** <del> * Constructs a new <code>ExpiryMap</code>. <add> * Constructs a new <code>ExpiryFolder</code>. <ide> * <ide> * @param ...
Java
mit
873cef3e52c70aa6158080d5db6064868c17ae02
0
cs2103aug2014-t09-4j/main
//@author A0115160X package bakatxt.core; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.joestelmach.natty.DateGroup; import com.joestelmach.natty.Parser; public class BakaParser implements BakaParserInterface { private static final String...
src/bakatxt/core/BakaParser.java
//@author A0115160X package bakatxt.core; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.joestelmach.natty.DateGroup; import com.joestelmach.natty.Parser; public class BakaParser implements BakaParserInterface { private static final String...
Edit one of the existing regex
src/bakatxt/core/BakaParser.java
Edit one of the existing regex
<ide><path>rc/bakatxt/core/BakaParser.java <ide> private static final String DATE_FORMAT_STANDARD = "yyyy-MM-dd"; <ide> private static final String DISABLE_NUMBER_REGEX = "\\d{3,}?"; <ide> private static final String DISABLE_PARSING_REGEX = "(([0-2]\\d[0-5]\\d)|(\\d{1,2}))[^h]"; <del> private static fina...
Java
apache-2.0
3565112ec588b5e1d8280a0ecbaf5eae94bdc094
0
apache/directory-project
/* * 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")...
mina/core/src/main/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionImpl.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")...
DIRMINA-264 - Put the right Service on the remote end. git-svn-id: 5c3b06693d750a6aefbf1081b6b7d57c0165fdb2@446658 13f79535-47bb-0310-9956-ffa450edef68
mina/core/src/main/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionImpl.java
DIRMINA-264 - Put the right Service on the remote end.
<ide><path>ina/core/src/main/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionImpl.java <ide> this.filterChain = new VmPipeFilterChain( this ); <ide> this.pendingDataQueue = new Queue(); <ide> <del> remoteSession = new VmPipeSessionImpl( service, this, remoteEntry ); <add> remot...
Java
bsd-3-clause
c1139647c17fd1790dc030f5c6dd8229277f2749
0
NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc
package edu.northwestern.bioinformatics.studycalendar.domain; import edu.northwestern.bioinformatics.studycalendar.domain.delta.Add; import edu.northwestern.bioinformatics.studycalendar.domain.delta.Amendment; import edu.northwestern.bioinformatics.studycalendar.domain.delta.Revision; import edu.northwestern.bioinform...
src/test/java/edu/northwestern/bioinformatics/studycalendar/domain/Fixtures.java
package edu.northwestern.bioinformatics.studycalendar.domain; import edu.northwestern.bioinformatics.studycalendar.domain.delta.Add; import edu.northwestern.bioinformatics.studycalendar.domain.delta.Amendment; import edu.northwestern.bioinformatics.studycalendar.domain.delta.Revision; import edu.northwestern.bioinform...
Add createSite fixture methods. Related to #516.
src/test/java/edu/northwestern/bioinformatics/studycalendar/domain/Fixtures.java
Add createSite fixture methods. Related to #516.
<ide><path>rc/test/java/edu/northwestern/bioinformatics/studycalendar/domain/Fixtures.java <ide> } <ide> } <ide> <add> public static Site createSite(String name) { <add> return createSite(name, null); <add> } <add> <add> public static Site createSite(String name, String assignedIdentifier) ...
JavaScript
mit
7afb94e972571fc1390f774b3e5a5af8ab0809d4
0
scarwu/Diablo3Calculator,scarwu/Diablo3Calculator
// JavaScript Document 'use strict'; $(function() { var character = { 1: getCookie('character1'), 2: getCookie('character2'), 3: getCookie('character3'), 4: getCookie('character4'), 5: getCookie('character5') }; var order = getCookie('order'); var based = { skill: { damage: 0, critical_c...
js/main.js
// JavaScript Document 'use strict'; $(function() { var character = getCookie('character'); var order = 1; var based = { skill: { damage: 0, critical_chance: 0, critical_damage: 0 }, belt: {}, boots: {}, braces: {}, chest: {}, glovers: {}, helm: {}, pants: {}, shoulders: {}, amulet: {...
Fix cookie overflow bug
js/main.js
Fix cookie overflow bug
<ide><path>s/main.js <ide> 'use strict'; <ide> <ide> $(function() { <del> var character = getCookie('character'); <del> var order = 1; <add> var character = { <add> 1: getCookie('character1'), <add> 2: getCookie('character2'), <add> 3: getCookie('character3'), <add> 4: getCookie('character4'), <add> 5: getCookie(...
Java
epl-1.0
00b47bc44be03db1c994c800de177316ebf92173
0
Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt
/******************************************************************************* * Copyright (c) 2007 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/script/launcher/ReportDebuggerVMRunner.java
/******************************************************************************* * Copyright (c) 2007 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
- Bugzilla Bug (s) Resolved: 217645 - Description: fix logic in OSGi report launcher
UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/script/launcher/ReportDebuggerVMRunner.java
- Bugzilla Bug (s) Resolved: 217645 - Description: fix logic in OSGi report launcher
<ide><path>I/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/script/launcher/ReportDebuggerVMRunner.java <ide> <ide> IProcess[] ps = launch.getProcesses( ); <ide> <del> if ( runScript && ps != null && ps.length > 0 ) <add> if ( ps != null && ps.length > 0 ) <ide> { <del> if ( mo...
Java
apache-2.0
00dbfdedc47d68ac774af7acd84cff1762ae1728
0
spinnaker/rosco,spinnaker/rosco
package com.netflix.spinnaker.rosco.manifests; import com.netflix.spinnaker.kork.artifacts.model.Artifact; import com.netflix.spinnaker.kork.core.RetrySupport; import com.netflix.spinnaker.rosco.services.ClouddriverService; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import jav...
rosco-manifests/src/main/java/com/netflix/spinnaker/rosco/manifests/ArtifactDownloaderImpl.java
package com.netflix.spinnaker.rosco.manifests; import com.netflix.spinnaker.kork.artifacts.model.Artifact; import com.netflix.spinnaker.kork.core.RetrySupport; import com.netflix.spinnaker.rosco.services.ClouddriverService; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import jav...
fix(artifact): improve error messaging for failed artifact downl… (#453)
rosco-manifests/src/main/java/com/netflix/spinnaker/rosco/manifests/ArtifactDownloaderImpl.java
fix(artifact): improve error messaging for failed artifact downl… (#453)
<ide><path>osco-manifests/src/main/java/com/netflix/spinnaker/rosco/manifests/ArtifactDownloaderImpl.java <ide> import lombok.extern.slf4j.Slf4j; <ide> import org.apache.commons.io.IOUtils; <ide> import org.springframework.stereotype.Component; <add>import retrofit.RetrofitError; <ide> import retrofit.client.Response; ...
JavaScript
agpl-3.0
c2f45747cc61eb9003af6b6a43a5f500138d21e1
0
mickael-kerjean/nuage,mickael-kerjean/nuage,mickael-kerjean/nuage,mickael-kerjean/nuage,mickael-kerjean/nuage,mickael-kerjean/nuage
import React, { useEffect } from "react"; import { Session } from "../model/"; import { Loader, ErrorPage } from "../components/"; import { cache } from "../helpers/"; @ErrorPage export class LogoutPage extends React.Component { constructor(props){ super(props); } componentDidMount(){ Ses...
client/pages/logout.js
import React from 'react'; import { Session } from '../model/'; import { Loader, ErrorPage } from '../components/'; import { cache } from '../helpers/'; @ErrorPage export class LogoutPage extends React.Component { constructor(props){ super(props); } componentDidMount(){ Session.logout() ...
maintenance (logout): logout component upgrade
client/pages/logout.js
maintenance (logout): logout component upgrade
<ide><path>lient/pages/logout.js <del>import React from 'react'; <add>import React, { useEffect } from "react"; <ide> <del>import { Session } from '../model/'; <del>import { Loader, ErrorPage } from '../components/'; <del>import { cache } from '../helpers/'; <add>import { Session } from "../model/"; <add>import { Load...
Java
apache-2.0
4f93013d5757f6216aee6dbeb0d596051288a617
0
nordpos-mobi/online-retail
/** * Copyright (c) 2012-2015 Nord Trading Network. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
src/main/java/mobi/nordpos/retail/action/OrderPaymentActionBean.java
/** * Copyright (c) 2012-2015 Nord Trading Network. * * 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...
Minot: Save receipt.
src/main/java/mobi/nordpos/retail/action/OrderPaymentActionBean.java
Minot: Save receipt.
<ide><path>rc/main/java/mobi/nordpos/retail/action/OrderPaymentActionBean.java <ide> import java.net.UnknownHostException; <ide> import java.sql.SQLException; <ide> import java.util.Date; <del>import java.util.UUID; <ide> import mobi.nordpos.dao.model.ClosedCash; <ide> import mobi.nordpos.dao.model.Receipt; <add>import...
Java
apache-2.0
187bbf9ba66ab88176b4d917f85a0cad60dac2ad
0
dubex/concourse,dubex/concourse,dubex/concourse,cinchapi/concourse,cinchapi/concourse,cinchapi/concourse,dubex/concourse,cinchapi/concourse,dubex/concourse,cinchapi/concourse,cinchapi/concourse,dubex/concourse
/* * Copyright (c) 2013-2016 Cinchapi Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
concourse-server/src/main/java/com/cinchapi/concourse/server/cli/ManagePluginsCli.java
/* * Copyright (c) 2013-2016 Cinchapi Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
add progress bar for plugin install
concourse-server/src/main/java/com/cinchapi/concourse/server/cli/ManagePluginsCli.java
add progress bar for plugin install
<ide><path>oncourse-server/src/main/java/com/cinchapi/concourse/server/cli/ManagePluginsCli.java <ide> <ide> import java.nio.file.Files; <ide> import java.nio.file.Paths; <add>import java.text.DecimalFormat; <add>import java.util.concurrent.CountDownLatch; <add>import java.util.concurrent.atomic.AtomicBoolean; <ide> ...
JavaScript
mit
d1d271faeefc7845c70660bce91214af6e38ef97
0
telehash/e3x-js
var NodeCrypto = require("crypto"); var sjcl = require("sjcl"); var subtle = require("subtle") , pkcsPad1 = new Buffer([48, 130]) , pkcsPad2 = new Buffer([2, 1, 0, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 4, 130]) function pkcs8_pad(privateBytes){ var off1 = new Buffer([Math.floor(privateBytes.l...
ciphers/2a/cs2a.js
var NodeCrypto = require("crypto"); var sjcl = require("sjcl"); var subtle = require("subtle") , pkcsPad1 = new Buffer([48, 130]) , pkcsPad2 = new Buffer([2, 1, 0, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 4, 130]) function pkcs8_pad(privateBytes){ var off1 = new Buffer([Math.floor(privateBytes.l...
refactor remote
ciphers/2a/cs2a.js
refactor remote
<ide><path>iphers/2a/cs2a.js <ide> return ret; <ide> }; <ide> } <add> <add>function subtle_remote(remote_public){ <add> var self = this; <add> self.key = {}; <add> <add> return exports._loadkey(self.key, remote_public) <add> .then(function(){ <add> return subtle.generateKey({name ...
Java
lgpl-2.1
566bfd508fe0a1e5f9b1cbbc957d1ecd72004dc0
0
schernolyas/hibernate-ogm,emmanuelbernard/hibernate-ogm,mp911de/hibernate-ogm,gunnarmorling/hibernate-ogm,uugaa/hibernate-ogm,DavideD/hibernate-ogm-cassandra,ZJaffee/hibernate-ogm,jhalliday/hibernate-ogm,DavideD/hibernate-ogm-contrib,ZJaffee/hibernate-ogm,DavideD/hibernate-ogm,Sanne/hibernate-ogm,hferentschik/hibernate...
/* * Hibernate, Relational Persistence for Idiomatic Java * * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual ...
hibernate-ogm-core/src/main/java/org/hibernate/ogm/datastore/spi/Tuple.java
/* * Hibernate, Relational Persistence for Idiomatic Java * * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual ...
OGM-69 get on a REMOVE or PUT_NULL operations should return null
hibernate-ogm-core/src/main/java/org/hibernate/ogm/datastore/spi/Tuple.java
OGM-69 get on a REMOVE or PUT_NULL operations should return null
<ide><path>ibernate-ogm-core/src/main/java/org/hibernate/ogm/datastore/spi/Tuple.java <ide> return snapshot.get( column ); <ide> } <ide> else if ( result.getType() == PUT_NULL || result.getType() == REMOVE ) { <del> return result; <add> return null; <ide> } <ide> else { <ide> return result.getValue();
Java
apache-2.0
c9d9271aafcad0805d3d3087964ae1abb75feae5
0
kzganesan/libgdx,collinsmith/libgdx,mumer92/libgdx,djom20/libgdx,alex-dorokhov/libgdx,haedri/libgdx-1,sarkanyi/libgdx,anserran/libgdx,czyzby/libgdx,gf11speed/libgdx,samskivert/libgdx,ttencate/libgdx,Xhanim/libgdx,mumer92/libgdx,basherone/libgdxcn,zhimaijoy/libgdx,MetSystem/libgdx,JFixby/libgdx,alex-dorokhov/libgdx,junk...
package com.badlogic.gdx.graphics.g3d.utils; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.graphics.Mesh; import com.badlogic.gdx.graphics.VertexAttribute; import com.badlogic.gdx.graphics.VertexAttributes; import com.badlogic.gdx.gr...
gdx/src/com/badlogic/gdx/graphics/g3d/utils/MeshBuilder.java
package com.badlogic.gdx.graphics.g3d.utils; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.graphics.Mesh; import com.badlogic.gdx.graphics.VertexAttribute; import com.badlogic.gdx.graphics.VertexAttributes; import com.badlogic.gdx.gr...
fixed vertices and indices ensuring
gdx/src/com/badlogic/gdx/graphics/g3d/utils/MeshBuilder.java
fixed vertices and indices ensuring
<ide><path>dx/src/com/badlogic/gdx/graphics/g3d/utils/MeshBuilder.java <ide> } <ide> else if (innerWidth == width && innerHeight == height){ <ide> ensureVertices(divisions + 1); <add> ensureIndices(divisions + 1); <ide> if(primitiveType != GL10.GL_LINES) <ide> throw new GdxRuntimeException("Incorrect pr...
Java
mpl-2.0
error: pathspec 'scripting/java/com/sun/star/script/framework/browse/PkgProviderBrowseNode.java' did not match any file(s) known to git
c67bd421506eedc58fcb6d8e24fd70eae021fc5e
1
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
/************************************************************************* * * $RCSfile: PkgProviderBrowseNode.java,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-07-23 13:55:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
scripting/java/com/sun/star/script/framework/browse/PkgProviderBrowseNode.java
INTEGRATION: CWS scriptingf7 (1.1.2); FILE ADDED 2004/07/15 09:55:58 npower 1.1.2.2: #i25269# Changes to ProviderBrowseNode so that is doesn't try to get the scriptng context ( this was causing a crash in the cmdline version of pkgchk as it tried to instantiate the desktop component ). Changed the ctor to take XCompone...
scripting/java/com/sun/star/script/framework/browse/PkgProviderBrowseNode.java
INTEGRATION: CWS scriptingf7 (1.1.2); FILE ADDED 2004/07/15 09:55:58 npower 1.1.2.2: #i25269# Changes to ProviderBrowseNode so that is doesn't try to get the scriptng context ( this was causing a crash in the cmdline version of pkgchk as it tried to instantiate the desktop component ). Changed the ctor to take XCompone...
<ide><path>cripting/java/com/sun/star/script/framework/browse/PkgProviderBrowseNode.java <add>/************************************************************************* <add> * <add> * $RCSfile: PkgProviderBrowseNode.java,v $ <add> * <add> * $Revision: 1.2 $ <add> * <add> * last change: $Author: hr $ $Date: 2004-07-...
Java
mit
a22cd20483310fca6730b91c664423c74c049563
0
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
package com.elmakers.mine.bukkit.wand; import static com.google.common.base.Verify.verifyNotNull; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import ja...
Magic/src/main/java/com/elmakers/mine/bukkit/wand/Wand.java
package com.elmakers.mine.bukkit.wand; import static com.google.common.base.Verify.verifyNotNull; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import ja...
Remove unused variable
Magic/src/main/java/com/elmakers/mine/bukkit/wand/Wand.java
Remove unused variable
<ide><path>agic/src/main/java/com/elmakers/mine/bukkit/wand/Wand.java <ide> <ide> // Look for existing spells for spell upgrades <ide> Integer inventorySlot = spellInventory.get(spellKey.getBaseKey()); <del> SpellTemplate currentSpell = getBaseSpell(spellKey); <ide> clearSlot(inventorySl...
Java
apache-2.0
4e884f3c19ffa2e5e19c42a9dd9b7256e1b715ae
0
apache/qpid-jms,gemmellr/qpid-jms,gemmellr/qpid-jms,avranju/qpid-jms,tabish121/qpid-jms,tabish121/qpid-jms,andrew-buckley/qpid-jms,apache/qpid-jms,andrew-buckley/qpid-jms,avranju/qpid-jms
/** * 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...
qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/failover/FailoverProvider.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...
add note
qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/failover/FailoverProvider.java
add note
<ide><path>pid-jms-client/src/main/java/org/apache/qpid/jms/provider/failover/FailoverProvider.java <ide> requests.remove(id); <ide> getWrappedRequest().onFailure(e); <ide> } catch (JMSException jmsEx) { <add> //TODO: should we remove the reques...
Java
apache-2.0
error: pathspec 'gui/src/verification/platu/partialOrders/LpnTransitionPair.java' did not match any file(s) known to git
8f6cecca7b359ec171abc3af6991b2103d46795d
1
MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim
package verification.platu.partialOrders; import java.util.HashSet; public class LpnTransitionPair { private Integer lpnIndex; private Integer tranIndex; private HashSet<LpnTransitionPair> transVisited; private int hashVal; private int firingCount; public LpnTransitionPair(Integer lpnIndex, Integer tranIndex)...
gui/src/verification/platu/partialOrders/LpnTransitionPair.java
New data structure for each transition.
gui/src/verification/platu/partialOrders/LpnTransitionPair.java
New data structure for each transition.
<ide><path>ui/src/verification/platu/partialOrders/LpnTransitionPair.java <add>package verification.platu.partialOrders; <add> <add>import java.util.HashSet; <add> <add>public class LpnTransitionPair { <add> private Integer lpnIndex; <add> private Integer tranIndex; <add> private HashSet<LpnTransitionPair> transVisited...
JavaScript
mit
6459233e6231266ed2338019161fc3c36225a4a8
0
itchyny/github-better-header,itchyny/github-better-header
;(function() { // Promise-like object of gathering variables function variablesPool(variables) { var pool = {}; var values = {}; var resolved = false; var callbacks = []; pool.set = function(name, value) { values[name] = value; if (Object.keys(values).length === variables.filter(fun...
github-better-header.js
;(function() { // Promise-like object of gathering variables function variablesPool(variables) { var pool = {}; var values = {}; var resolved = false; var callbacks = []; pool.set = function(name, value) { values[name] = value; if (Object.keys(values).length === variables.filter(fun...
stop .header-dark removing
github-better-header.js
stop .header-dark removing
<ide><path>ithub-better-header.js <ide> overwrite.done = true; <ide> } <ide> }); <del> setting.rewriteClass.forEach(function(config) { <del> if (!config.done && node.className && node.className.indexOf(config.className) >= 0) { <del> if (config.remove...
JavaScript
epl-1.0
35d6a817d12b4ba520703e6245d3507554889ca3
0
Indoqa/logspace,Indoqa/logspace
/* * Logspace * Copyright (c) 2015 Indoqa Software Design und Beratung GmbH. All rights reserved. * This program and the accompanying materials are made available under the terms of * the Eclipse Public License Version 1.0, which accompanies this distribution and * is available at http://www.eclipse.org/legal/epl-...
logspace-frontend/src/client/time-series/time-series-edit.react.js
/* * Logspace * Copyright (c) 2015 Indoqa Software Design und Beratung GmbH. All rights reserved. * This program and the accompanying materials are made available under the terms of * the Eclipse Public License Version 1.0, which accompanies this distribution and * is available at http://www.eclipse.org/legal/epl-...
re-enable string properties
logspace-frontend/src/client/time-series/time-series-edit.react.js
re-enable string properties
<ide><path>ogspace-frontend/src/client/time-series/time-series-edit.react.js <ide> name="propertyId" <ide> value={propertyId} <ide> checked={propertyId === agentDescription.get("propertyId")} <del> onChange={me.handleChange.bind(me)} <del> ...
Java
bsd-3-clause
be606ccda168df8dba463537f918c229d43686a9
0
ursjoss/scipamato,ursjoss/scipamato,ursjoss/scipamato,ursjoss/scipamato
package ch.difty.scipamato.core.sync.jobs.paper; import static ch.difty.scipamato.db.core.public_.tables.Paper.*; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import java.util.stream.Stream; import org.jooq.DeleteConditionStep;...
implementation/scipamato/scipamato-core-sync/src/main/java/ch/difty/scipamato/core/sync/jobs/paper/PaperSyncConfig.java
package ch.difty.scipamato.core.sync.jobs.paper; import static ch.difty.scipamato.db.core.public_.tables.Paper.*; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.ArrayList; import java.util.List; import java.util.stream.Stream; import org.jooq.DeleteConditionStep;...
07/13: Remove obsolete TODOs
implementation/scipamato/scipamato-core-sync/src/main/java/ch/difty/scipamato/core/sync/jobs/paper/PaperSyncConfig.java
07/13: Remove obsolete TODOs
<ide><path>mplementation/scipamato/scipamato-core-sync/src/main/java/ch/difty/scipamato/core/sync/jobs/paper/PaperSyncConfig.java <ide> private static final TableField<PaperRecord, String> C_POPULATION = PAPER.POPULATION; <ide> private static final TableField<PaperRecord, String> C_RESULT = PAPER.RESULT; <ide> ...
JavaScript
mit
f9d88c2423a54fb48ebdbbef6f1915c876df80af
0
gero3/three.js,fraguada/three.js,fraguada/three.js,fraguada/three.js,TristanVALCKE/three.js,fyoudine/three.js,TristanVALCKE/three.js,stanford-gfx/three.js,mrdoob/three.js,Samsy/three.js,WestLangley/three.js,stanford-gfx/three.js,TristanVALCKE/three.js,QingchaoHu/three.js,fraguada/three.js,Samsy/three.js,aardgoose/three...
/** * @author Rich Tibbett / https://github.com/richtr * @author mrdoob / http://mrdoob.com/ * @author Tony Parisi / http://www.tonyparisi.com/ * @author Takahiro / https://github.com/takahirox * @author Don McCurdy / https://www.donmccurdy.com */ THREE.GLTFLoader = ( function () { function GLTFLoader( manager...
examples/js/loaders/GLTFLoader.js
/** * @author Rich Tibbett / https://github.com/richtr * @author mrdoob / http://mrdoob.com/ * @author Tony Parisi / http://www.tonyparisi.com/ * @author Takahiro / https://github.com/takahirox * @author Don McCurdy / https://www.donmccurdy.com */ THREE.GLTFLoader = ( function () { function GLTFLoader( manager...
GLTFLoader: Update references to extension specs.
examples/js/loaders/GLTFLoader.js
GLTFLoader: Update references to extension specs.
<ide><path>xamples/js/loaders/GLTFLoader.js <ide> /** <ide> * DDS Texture Extension <ide> * <del> * Specification: <del> * https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/MSFT_texture_dds <add> * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/MSFT_te...
JavaScript
mit
b8b46e5e78083c63dc4bb5b7db479bdda6dc2469
0
tentone/nunuStudio,tentone/nunuStudio,tentone/nunuStudio
"use strict"; function MainMenu(parent) { Element.call(this, parent, "div"); this.element.style.overflow = "visible"; this.element.style.backgroundColor = Editor.theme.barColor; this.element.style.top = "0px"; this.element.style.left = "0px"; this.element.style.width = "100%"; this.element.style.height = "25px...
source/editor/MainMenu.js
"use strict"; function MainMenu(parent) { Element.call(this, parent, "div"); this.element.style.overflow = "visible"; this.element.style.backgroundColor = Editor.theme.barColor; this.element.style.top = "0px"; this.element.style.left = "0px"; this.element.style.width = "100%"; this.element.style.height = "25px...
Clean up (GLTF json with tab)
source/editor/MainMenu.js
Clean up (GLTF json with tab)
<ide><path>ource/editor/MainMenu.js <ide> var exporter = new THREE.GLTFExporter(); <ide> exporter.parse(Editor.getScene(), function(result) <ide> { <del> var data = JSON.stringify(result, null, 2); <del> FileSystem.writeFile(files[0].path, data); <add> FileSystem.writeFile(files[0].path, J...
Java
apache-2.0
c6a479a6e3fd2190cb64bec5f54f2a3ac09ca2fd
0
christapley/windows-symbol-store-mojo
package org.tapley.windows.symbolstore; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Stream; public...
src/main/java/org/tapley/windows/symbolstore/SymbolStoreActionCLI.java
package org.tapley.windows.symbolstore; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Stream; public...
getCommand public
src/main/java/org/tapley/windows/symbolstore/SymbolStoreActionCLI.java
getCommand public
<ide><path>rc/main/java/org/tapley/windows/symbolstore/SymbolStoreActionCLI.java <ide> <ide> public class SymbolStoreActionCLI implements ISymbolStoreAction { <ide> <del> private List<String> getAddCommand(File symStorePath, File repositoryPath, String symbolsPath, String applicationName, String applicationVersion...
Java
unlicense
d69f9372ce56f48aa2fe1a9c5a3417c620ec6aec
0
Samourai-Wallet/sentinel-android
package com.samourai.sentinel; import android.animation.ObjectAnimator; import android.app.ActionBar; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import ...
app/src/main/java/com/samourai/sentinel/BalanceActivity.java
package com.samourai.sentinel; import android.animation.ObjectAnimator; import android.app.ActionBar; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import ...
BalanceActivity: optimize multiaddr calls
app/src/main/java/com/samourai/sentinel/BalanceActivity.java
BalanceActivity: optimize multiaddr calls
<ide><path>pp/src/main/java/com/samourai/sentinel/BalanceActivity.java <ide> BalanceActivity.this.runOnUiThread(new Runnable() { <ide> @Override <ide> public void run() { <del> displayBalance(); <ide> refreshTx(false)...
Java
apache-2.0
1dc1373f5d580dd95dee1ad20467ba863a4be2b3
0
cherryhill/collectionspace-services,cherryhill/collectionspace-services
/** * This document is a part of the source code and related artifacts * for CollectionSpace, an open source collections management system * for museums and related institutions: * * http://www.collectionspace.org * http://wiki.collectionspace.org * * Copyright (c) 2009 Regents of the University of California ...
services/acquisition/client/src/test/java/org/collectionspace/services/client/test/AcquisitionServiceTest.java
/** * This document is a part of the source code and related artifacts * for CollectionSpace, an open source collections management system * for museums and related institutions: * * http://www.collectionspace.org * http://wiki.collectionspace.org * * Copyright (c) 2009 Regents of the University of California ...
NOJIRA - provide example of how to pull apart CommonList payloads in java client.
services/acquisition/client/src/test/java/org/collectionspace/services/client/test/AcquisitionServiceTest.java
NOJIRA - provide example of how to pull apart CommonList payloads in java client.
<ide><path>ervices/acquisition/client/src/test/java/org/collectionspace/services/client/test/AcquisitionServiceTest.java <ide> import org.collectionspace.services.acquisition.AcquisitionSourceList; <ide> import org.collectionspace.services.acquisition.OwnerList; <ide> import org.jboss.resteasy.client.ClientResponse; <a...
Java
mit
5306dccc58612fe136042930beec8043462ab7e2
0
blckshrk/MavenDataExtraction,blckshrk/MavenDataExtraction
package fr.lille1.maven_data_extraction; import java.io.File; public class Project { private final String groupId; private final String artifactId; private final String version; private final File pom; public Project(String groupId, String artifactId, String version, File pom){ this.groupId = groupId; thi...
src/main/java/fr/lille1/maven_data_extraction/Project.java
package fr.lille1.maven_data_extraction; import java.io.File; public class Project { private String groupId; private String artifactId; private String version; private File pom; public Project(String groupId, String artifactId, String version, File pom){ this.groupId = groupId; this.artifactId = artifactId;...
Implementation of equals() method and suppressing of setters
src/main/java/fr/lille1/maven_data_extraction/Project.java
Implementation of equals() method and suppressing of setters
<ide><path>rc/main/java/fr/lille1/maven_data_extraction/Project.java <ide> import java.io.File; <ide> <ide> public class Project { <del> private String groupId; <del> private String artifactId; <del> private String version; <del> private File pom; <add> private final String groupId; <add> private final String artifact...
JavaScript
agpl-3.0
af6a894a601c9e57534c8c7668a589312ab03d67
0
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs
"use strict"; (function(window, undefined){ // Import var g_memory = AscFonts.g_memory; var CellValueType = AscCommon.CellValueType; var c_oAscBorderStyles = AscCommon.c_oAscBorderStyles; var fSortAscending = AscCommon.fSortAscending; var fSortDescending = AscCommon.fSortDescending; var parserHelp = AscCo...
cell/model/Workbook.js
"use strict"; (function(window, undefined){ // Import var g_memory = AscFonts.g_memory; var CellValueType = AscCommon.CellValueType; var c_oAscBorderStyles = AscCommon.c_oAscBorderStyles; var fSortAscending = AscCommon.fSortAscending; var fSortDescending = AscCommon.fSortDescending; var parserHelp = AscCo...
support uniqueValues and duplicateValues in conditional formatting
cell/model/Workbook.js
support uniqueValues and duplicateValues in conditional formatting
<ide><path>ell/model/Workbook.js <ide> function getUniqueKeys(array) { <ide> var i, o = {}; <ide> for (i = 0; i < array.length; ++i) { <del> o[array[i]] = !o.hasOwnProperty(array[i]); <add> o[array[i]] = o.hasOwnProperty(array[i]); <ide> } <ide> return o; <ide> } <ide> var aRules, oRule; <ide> var oRu...
Java
mit
501f7e5c394b69632b4eff9612c766ecefe60695
0
aima-java/aima-java,aimacode/aima-java,dariosena/aima-java,ramgovin/aima-java,EvgenyKarataev/aima-java,sonyccd/aima-java,j129008/aima-java,futuristixa/aima-java,aimacode/aima-java,ngrj93/aima-java,futuristixa/aima-java
package aima.gui.applications.vacuum; import java.awt.Color; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import aima.core.agent.Action; import aima.core.agent.Agent; import aima.core.agent.EnvironmentState; import aima.core.agent.impl.DynamicAction; import aima.core.envir...
aima-gui/src/main/java/aima/gui/applications/vacuum/VacuumView.java
package aima.gui.applications.vacuum; import java.awt.Color; import java.util.ArrayList; import java.util.List; import aima.core.agent.Action; import aima.core.agent.Agent; import aima.core.agent.EnvironmentState; import aima.core.environment.vacuum.VacuumEnvironment; import aima.gui.framework.EmptyEnvironm...
- vacuum cleaner symbol now animated
aima-gui/src/main/java/aima/gui/applications/vacuum/VacuumView.java
- vacuum cleaner symbol now animated
<ide><path>ima-gui/src/main/java/aima/gui/applications/vacuum/VacuumView.java <ide> <ide> import java.awt.Color; <ide> import java.util.ArrayList; <add>import java.util.Hashtable; <ide> import java.util.List; <ide> <ide> import aima.core.agent.Action; <ide> import aima.core.agent.Agent; <ide> import aima.core.agent.E...
Java
apache-2.0
6de7e9f48f1c6f3929d2a157fcb21b327630eadd
0
IsuraD/identity-inbound-auth-oauth,darshanasbg/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-auth-oauth,IsuraD/identity-inbound-auth-oauth,darshanasbg/identity-inbound-auth-oauth
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/...
components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/openidconnect/DefaultIDTokenBuilder.java
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/...
Minor refactoring in DefaultIDTokenBuilder
components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/openidconnect/DefaultIDTokenBuilder.java
Minor refactoring in DefaultIDTokenBuilder
<ide><path>omponents/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/openidconnect/DefaultIDTokenBuilder.java <ide> String spTenantDomain = getSpTenantDomain(tokenReqMsgCtxt); <ide> String idTokenIssuer = getIdTokenIssuer(spTenantDomain); <ide> <del> long idTokenLifeTimeInM...
Java
apache-2.0
7a55aef1173d6e488475fa365a61cd33bf191e12
0
Sage-Bionetworks/SynapseWebClient,Sage-Bionetworks/SynapseWebClient,jay-hodgson/SynapseWebClient,Sage-Bionetworks/SynapseWebClient,jay-hodgson/SynapseWebClient,Sage-Bionetworks/SynapseWebClient,jay-hodgson/SynapseWebClient,jay-hodgson/SynapseWebClient
package org.sagebionetworks.web.unitclient.widget.entity.renderer; import static org.junit.Assert.*; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyBoolean; import static org.mockito.Matchers.*; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; import s...
src/test/java/org/sagebionetworks/web/unitclient/widget/entity/renderer/ImageWidgetTest.java
package org.sagebionetworks.web.unitclient.widget.entity.renderer; import static org.junit.Assert.*; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyBoolean; import static org.mockito.Matchers.*; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; import s...
include failure tests
src/test/java/org/sagebionetworks/web/unitclient/widget/entity/renderer/ImageWidgetTest.java
include failure tests
<ide><path>rc/test/java/org/sagebionetworks/web/unitclient/widget/entity/renderer/ImageWidgetTest.java <ide> } <ide> <ide> @Test <add> public void testConfigureFromSynapseIdError() { <add> Exception ex = new Exception("so sad"); <add> AsyncMockStubber.callFailureWith(ex).when(mockSynapseJavascriptClient).getEntit...
Java
mit
51ab3ad9410979a0f63daa204b4fcba83b39b31a
0
DigitalStrawberry/ANE-Sounds
package com.digitalstrawberry.nativeExtensions.anesounds.functions; import android.media.AudioAttributes; import android.media.AudioManager; import android.media.SoundPool; import android.os.Build; import com.adobe.fre.FREContext; import com.adobe.fre.FREFunction; import com.adobe.fre.FREObject; import com.digitalstra...
android/src/com/digitalstrawberry/nativeExtensions/anesounds/functions/Initialize.java
package com.digitalstrawberry.nativeExtensions.anesounds.functions; import android.media.AudioManager; import android.media.SoundPool; import com.adobe.fre.FREContext; import com.adobe.fre.FREFunction; import com.adobe.fre.FREObject; import com.digitalstrawberry.nativeExtensions.anesounds.ANESoundsContext; public cla...
Updated native 'initialize' function Avoids using deprecated API when running on Android 5+
android/src/com/digitalstrawberry/nativeExtensions/anesounds/functions/Initialize.java
Updated native 'initialize' function
<ide><path>ndroid/src/com/digitalstrawberry/nativeExtensions/anesounds/functions/Initialize.java <ide> package com.digitalstrawberry.nativeExtensions.anesounds.functions; <ide> <add>import android.media.AudioAttributes; <ide> import android.media.AudioManager; <ide> import android.media.SoundPool; <add>import android....
Java
apache-2.0
96849fa3d799ca7258d74e1f9b2dbd04c51cc478
0
apache/httpcomponents-core
/* * ==================================================================== * 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 ...
httpcore5/src/main/java/org/apache/hc/core5/reactor/SocksProxyProtocolHandler.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 ...
Minor cleanup (#354)
httpcore5/src/main/java/org/apache/hc/core5/reactor/SocksProxyProtocolHandler.java
Minor cleanup (#354)
<ide><path>ttpcore5/src/main/java/org/apache/hc/core5/reactor/SocksProxyProtocolHandler.java <ide> // a 32 byte buffer is enough for all usual SOCKS negotiations, we expand it if necessary during the processing <ide> private ByteBuffer buffer = ByteBuffer.allocate(32); <ide> private State state = State.SEND...
JavaScript
mit
5116b20def742dcd32530fb2cbcb9bb0eb409a86
0
flaviocopes/grav-plugin-shoppingcart,flaviocopes/grav-plugin-shoppingcart,flaviocopes/grav-plugin-shoppingcart,flaviocopes/grav-plugin-shoppingcart
(function(ShoppingCart) { ShoppingCart.processCheckoutFormSubmission = function processCheckoutFormSubmission() { var that = this; /********************************************************/ /* Function called if I later can go on with the checkout /*********************************...
js/shoppingcart_checkout.js
(function(ShoppingCart) { ShoppingCart.processCheckoutFormSubmission = function processCheckoutFormSubmission() { var that = this; /********************************************************/ /* Function called if I later can go on with the checkout /*********************************...
Drop unneeded statement
js/shoppingcart_checkout.js
Drop unneeded statement
<ide><path>s/shoppingcart_checkout.js <ide> <ide> var url = ''; <ide> var token = randomToken(10); <del> var paymentMethod = 'stripe'; <ide> var shippingMethod = {}; <ide> <ide> //Determine shipping method <ide> <ide> //Store in localstorage <ide...
Java
apache-2.0
abed30ed5cc159e2c7afd3e575c90fc86bb0846f
0
sakai-mirror/k2,sakai-mirror/k2,sakai-mirror/k2
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
kernel/src/main/java/org/sakaiproject/kernel/rest/friends/RestFriendsProvider.java
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
KERN-115 Fixed git-svn-id: 81ed41d7d168891742cba5e65a82c2d517ef9008@58097 fdecad78-55fc-0310-b1b2-d7d25cf747c9
kernel/src/main/java/org/sakaiproject/kernel/rest/friends/RestFriendsProvider.java
KERN-115 Fixed
<ide><path>ernel/src/main/java/org/sakaiproject/kernel/rest/friends/RestFriendsProvider.java <ide> if (i != 0) { <ide> sb.append(","); <ide> } <del> sb.append(params.sort[i]); <add> sb.append(" s.").append(params.sort[i]); <ide> if (params.sortOrder != null <ide> ...
Java
apache-2.0
d907daaa820ad88510b65bb01d4f5c01e279e3e7
0
aduprat/james,chibenwa/james,aduprat/james,rouazana/james,rouazana/james,aduprat/james,rouazana/james,aduprat/james,chibenwa/james,chibenwa/james,chibenwa/james,rouazana/james
/**************************************************************** * 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...
trunk/src/test/org/apache/james/smtpserver/SMTPServerTest.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...
Add 2 more junit tests for pipeling git-svn-id: 88158f914d5603334254b4adf21dfd50ec107162@464486 13f79535-47bb-0310-9956-ffa450edef68
trunk/src/test/org/apache/james/smtpserver/SMTPServerTest.java
Add 2 more junit tests for pipeling
<ide><path>runk/src/test/org/apache/james/smtpserver/SMTPServerTest.java <ide> import javax.mail.Session; <ide> import javax.mail.internet.MimeMessage; <ide> <del>import java.io.BufferedInputStream; <ide> import java.io.BufferedReader; <ide> import java.io.ByteArrayInputStream; <ide> import java.io.ByteArrayOutputStre...
Java
agpl-3.0
6ca816dec71fb99f56b96108267911971549503d
0
OPEN-ENT-NG/collaborative-editor,OPEN-ENT-NG/collaborative-editor,OPEN-ENT-NG/collaborative-editor,OPEN-ENT-NG/collaborative-editor,OPEN-ENT-NG/collaborative-editor
/* * Copyright © Région Nord Pas de Calais-Picardie, 2016. * * This file is part of OPEN ENT NG. OPEN ENT NG is a versatile ENT Project based on the JVM and ENT Core Project. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as ...
src/main/java/net/atos/entng/collaborativeeditor/helpers/EtherpadHelper.java
/* * Copyright © Région Nord Pas de Calais-Picardie, 2016. * * This file is part of OPEN ENT NG. OPEN ENT NG is a versatile ENT Project based on the JVM and ENT Core Project. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as ...
[Fix] #16254 : url generation on the pad list
src/main/java/net/atos/entng/collaborativeeditor/helpers/EtherpadHelper.java
[Fix] #16254 : url generation on the pad list
<ide><path>rc/main/java/net/atos/entng/collaborativeeditor/helpers/EtherpadHelper.java <ide> import java.util.Date; <ide> import java.util.TimeZone; <ide> import java.util.UUID; <add>import java.util.concurrent.atomic.AtomicInteger; <ide> <ide> import static org.entcore.common.http.response.DefaultResponseHandler.notE...
Java
bsd-3-clause
af6939f912a2e459c2080b099d68e9cd8bf1ec0f
0
pecko/jcabi-log,simonjenga/jcabi-log,prondzyn/jcabi-log
/** * Copyright (c) 2012-2013, JCabi.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of condition...
src/test/java/com/jcabi/log/AbstractDecorTest.java
/** * Copyright (c) 2012-2013, JCabi.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of condition...
fix assertion fail because of different decimal separator symbols in different locales
src/test/java/com/jcabi/log/AbstractDecorTest.java
fix assertion fail because of different decimal separator symbols in different locales
<ide><path>rc/test/java/com/jcabi/log/AbstractDecorTest.java <ide> import java.util.Formattable; <ide> import java.util.FormattableFlags; <ide> import java.util.Formatter; <add>import java.util.Locale; <ide> import org.hamcrest.MatcherAssert; <ide> import org.hamcrest.Matchers; <ide> import org.junit.Test; <ide> ...
JavaScript
mit
879313a42cf3e3699224b34c6a8374a313e80ea1
0
CruGlobal/conf-registration-web,CruGlobal/conf-registration-web,CruGlobal/conf-registration-web,CruGlobal/conf-registration-web
'use strict'; angular.module('confRegistrationWebApp') .controller('ReviewRegistrationCtrl', function ($scope, $rootScope, $location, $route, modalMessage, $http, registration, conference, RegistrationCache, validateRegistrant, $filter) { $rootScope.globalPage = { type: 'registration', mainClass: 'co...
app/scripts/controllers/reviewRegistration.js
'use strict'; angular.module('confRegistrationWebApp') .controller('ReviewRegistrationCtrl', function ($scope, $rootScope, $location, $route, modalMessage, $http, registration, conference, RegistrationCache, validateRegistrant, $filter) { $rootScope.globalPage = { type: 'registration', mainClass: 'co...
Display custom error message if registration submission fails
app/scripts/controllers/reviewRegistration.js
Display custom error message if registration submission fails
<ide><path>pp/scripts/controllers/reviewRegistration.js <ide> RegistrationCache.update('registrations/' + registration.id, registration, function () { <ide> RegistrationCache.emptyCache(); <ide> $route.reload(); <del> }, function () { <add> }, function (data) { <ide> $scope.curre...
Java
agpl-3.0
db97de4a4d72ef2448aac8c96dbd7dea95e91540
0
hjeeves/cadc-vosui,hjeeves/cadc-vosui,opencadc/vosui,hjeeves/cadc-vosui,canfar/vosui,opencadc/vosui,opencadc/vosui,opencadc/vosui,hjeeves/cadc-vosui,opencadc/cadc-vosui,canfar/vosui,opencadc/cadc-vosui,opencadc/cadc-vosui,opencadc/cadc-vosui
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2016. (c) 2016. * Government of Canada ...
src/intTest/java/ca/nrc/cadc/UserStorageBrowserPage.java
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2016. (c) 2016. * Government of Canada ...
Trying to fix browser tests on Travis.
src/intTest/java/ca/nrc/cadc/UserStorageBrowserPage.java
Trying to fix browser tests on Travis.
<ide><path>rc/intTest/java/ca/nrc/cadc/UserStorageBrowserPage.java <ide> // Transition functions <ide> public void clickButton(String promptText) throws Exception <ide> { <del> WebElement button = (new WebDriverWait(driver, 10)) <del> .until(ExpectedConditions.elementToBeClickable( <de...
JavaScript
mit
37a322a68f9287f5f1fb9da483007249e294563e
0
alcedo-ui/alcedo-ui
/** * @file List component * @author liangxiaojun(liangxiaojun@derbysoft.com) */ import React, {Component} from 'react'; import PropTypes from 'prop-types'; import isArray from 'lodash/isArray'; import classNames from 'classnames'; import ListItem from '../_ListItem'; import Tip from '../Tip'; import Theme from '....
src/List/List.js
/** * @file List component * @author liangxiaojun(liangxiaojun@derbysoft.com) */ import React, {Component} from 'react'; import PropTypes from 'prop-types'; import isArray from 'lodash/isArray'; import classNames from 'classnames'; import ListItem from '../_ListItem'; import Tip from '../Tip'; import Theme from '....
update List
src/List/List.js
update List
<ide><path>rc/List/List.js <ide> import Util from '../_vendors/Util'; <ide> import Event from '../_vendors/Event'; <ide> import Calculation from '../_vendors/Calculation'; <add>import ComponentUtil from '../_vendors/ComponentUtil'; <ide> <ide> class List extends Component { <ide> <ide> this.listEl = this.refs...
Java
bsd-2-clause
9d72f30c6e14029e3c0408682fb49af6c4baf55d
0
samynk/DArtE
package dae.gui; import com.google.common.eventbus.Subscribe; import com.jme3.app.SimpleApplication; import com.jme3.asset.DesktopAssetManager; import com.jme3.asset.ModelKey; import com.jme3.asset.plugins.FileLocator; import com.jme3.bounding.BoundingBox; import com.jme3.bounding.BoundingVolume; import com.j...
src/dae/gui/SandboxViewport.java
package dae.gui; import com.google.common.eventbus.Subscribe; import com.jme3.app.SimpleApplication; import com.jme3.asset.DesktopAssetManager; import com.jme3.asset.ModelKey; import com.jme3.asset.plugins.FileLocator; import com.jme3.bounding.BoundingBox; import com.jme3.bounding.BoundingVolume; import com.j...
Implemented delete animation key.
src/dae/gui/SandboxViewport.java
Implemented delete animation key.
<ide><path>rc/dae/gui/SandboxViewport.java <ide> } <ide> } else if (name.startsWith("DELETE")) { <ide> System.out.println("deleting the animation key"); <del> <add> if (level instanceof AssetLevel){ <add> List<Rig> rigs = ...
Java
mit
e0d924f14f473d7f1d39c9ad627c4143a72c30bb
0
igvteam/igv,amwenger/igv,igvteam/igv,amwenger/igv,igvteam/igv,igvteam/igv,amwenger/igv,igvteam/igv,amwenger/igv,amwenger/igv
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 *...
src/org/broad/igv/ui/IGVMenuBar.java
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 *...
Google menu bug fix
src/org/broad/igv/ui/IGVMenuBar.java
Google menu bug fix
<ide><path>rc/org/broad/igv/ui/IGVMenuBar.java <ide> //extrasMenu.setVisible(false); <ide> menus.add(extrasMenu); <ide> <del> if(PreferenceManager.getInstance().getAsBoolean(PreferenceManager.ENABLE_GOOGLE_MENU)) { <del> menus.add(createGoogleMenu()); <del> } <add> googl...
Java
epl-1.0
57007622aae8b67b0c245d0a8389717dbfda3a67
0
Beagle-PSE/Beagle,Beagle-PSE/Beagle,Beagle-PSE/Beagle
package de.uka.ipd.sdq.beagle.core.judge; import de.uka.ipd.sdq.beagle.core.Blackboard; import de.uka.ipd.sdq.beagle.core.MeasurableSeffElement; import de.uka.ipd.sdq.beagle.core.SeffBranch; import de.uka.ipd.sdq.beagle.core.analysis.ProposedExpressionAnalyserBlackboardView; import de.uka.ipd.sdq.beagle.core.evaluable...
Core/src/main/java/de/uka/ipd/sdq/beagle/core/judge/FinalJudge.java
package de.uka.ipd.sdq.beagle.core.judge; import de.uka.ipd.sdq.beagle.core.Blackboard; import de.uka.ipd.sdq.beagle.core.MeasurableSeffElement; import de.uka.ipd.sdq.beagle.core.SeffBranch; import de.uka.ipd.sdq.beagle.core.evaluableexpressions.EvaluableExpression; import java.lang.management.ManagementFactory; impo...
Joshua didn't fuck up. :) Thanks.
Core/src/main/java/de/uka/ipd/sdq/beagle/core/judge/FinalJudge.java
Joshua didn't fuck up. :) Thanks.
<ide><path>ore/src/main/java/de/uka/ipd/sdq/beagle/core/judge/FinalJudge.java <ide> import de.uka.ipd.sdq.beagle.core.Blackboard; <ide> import de.uka.ipd.sdq.beagle.core.MeasurableSeffElement; <ide> import de.uka.ipd.sdq.beagle.core.SeffBranch; <add>import de.uka.ipd.sdq.beagle.core.analysis.ProposedExpressionAnalyserB...
Java
apache-2.0
164a8eb86244333a2694352c056af479ce291def
0
speedy01/Spark,vipinraj/Spark,speedy01/Spark,igniterealtime/Spark,vipinraj/Spark,BittyByte/Spark,vipinraj/Spark,igniterealtime/Spark,wrooot/Spark,BittyByte/Spark,speedy01/Spark,guusdk/Spark,wrooot/Spark,wrooot/Spark,igniterealtime/Spark,wrooot/Spark,speedy01/Spark,BittyByte/Spark,guusdk/Spark,guusdk/Spark,guusdk/Spark,...
/** * $Revision$ * $Date$ * * Copyright (C) 1999-2005 Jive Software. All rights reserved. * This software is the proprietary information of Jive Software. Use is subject to license terms. */ package org.jivesoftware.spark.component; import org.jivesoftware.resource.SparkRes; import org.jivesoftware.spark.ui.Con...
src/java/org/jivesoftware/spark/component/JContactItemField.java
/** * $Revision$ * $Date$ * * Copyright (C) 1999-2005 Jive Software. All rights reserved. * This software is the proprietary information of Jive Software. Use is subject to license terms. */ package org.jivesoftware.spark.component; import org.jivesoftware.resource.SparkRes; import org.jivesoftware.spark.ui.Con...
Have ctrl+f put initial selection on index 0 git-svn-id: f13e20fb8540f76a08799c0051229138c0279aa7@7390 b35dd754-fafc-0310-a699-88a17e54d16e
src/java/org/jivesoftware/spark/component/JContactItemField.java
Have ctrl+f put initial selection on index 0
<ide><path>rc/java/org/jivesoftware/spark/component/JContactItemField.java <ide> popup.setLocation(pt); <ide> popup.toFront(); <ide> popup.setVisible(true); <add> } <add> <add> // set initial selection <add> if(validItems.size() > 0){ <add> list.setSel...
Java
lgpl-2.1
1531c93c225f790a2da11d9ceff44fb5efb363c6
0
tomck/intermine,justincc/intermine,joshkh/intermine,kimrutherford/intermine,Arabidopsis-Information-Portal/intermine,elsiklab/intermine,joshkh/intermine,Arabidopsis-Information-Portal/intermine,elsiklab/intermine,tomck/intermine,tomck/intermine,joshkh/intermine,JoeCarlson/intermine,elsiklab/intermine,JoeCarlson/intermi...
package org.intermine.web.task; /* * Copyright (C) 2002-2011 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.htm...
intermine/webtasks/main/src/org/intermine/web/task/LoadBagValuesTask.java
package org.intermine.web.task; /* * Copyright (C) 2002-2011 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.htm...
Add some debugging.
intermine/webtasks/main/src/org/intermine/web/task/LoadBagValuesTask.java
Add some debugging.
<ide><path>ntermine/webtasks/main/src/org/intermine/web/task/LoadBagValuesTask.java <ide> import java.util.Properties; <ide> <ide> import org.apache.commons.lang.StringUtils; <add>import org.apache.log4j.Logger; <ide> import org.apache.tools.ant.BuildException; <ide> import org.apache.tools.ant.Task; <ide> import org....
JavaScript
apache-2.0
268da9178824a7404edd1fa49d6e24eeb2a1af4a
0
appcelerator/titanium_mobile_tizen,appcelerator/titanium_mobile_tizen,appcelerator/titanium_mobile_tizen,appcelerator/titanium_mobile_tizen,appcelerator/titanium_mobile_tizen,appcelerator/titanium_mobile_tizen
/* * Appcelerator Titanium Mobile * Copyright (c) 2011-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ module.exports = new function() { var finish, valueOf, alarmObj; ...
tests/anvil/configSet/Resources/suites/tizen/alarm.js
/* * Appcelerator Titanium Mobile * Copyright (c) 2011-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ module.exports = new function() { var finish, valueOf; this.init ...
Fix Anvil alarm test according to new namespace Tizen.Alarm
tests/anvil/configSet/Resources/suites/tizen/alarm.js
Fix Anvil alarm test according to new namespace Tizen.Alarm
<ide><path>ests/anvil/configSet/Resources/suites/tizen/alarm.js <ide> <ide> module.exports = new function() { <ide> var finish, <del> valueOf; <del> <add> valueOf, <add> alarmObj; <add> <ide> this.init = function(testUtils) { <ide> finish = testUtils.finish; <ide> valueOf = testUtils.valueOf; <add> alarmObj...
Java
epl-1.0
21377984842c4fdcec52246f62a2a132ac4fe897
0
ControlSystemStudio/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ESSICS/...
/* * Copyright (c) 2006 Stiftung Deutsches Elektronen-Synchroton, * Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY. * * THIS SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS" BASIS. * WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE WARRANTIES OF MER...
applications/plugins/org.csstudio.sds.components.ui/src/org/csstudio/sds/components/ui/internal/figures/RefreshableBargraphFigure.java
/* * Copyright (c) 2006 Stiftung Deutsches Elektronen-Synchroton, * Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY. * * THIS SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS" BASIS. * WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE WARRANTIES OF MER...
Bugfixing und Performance-Steigerung
applications/plugins/org.csstudio.sds.components.ui/src/org/csstudio/sds/components/ui/internal/figures/RefreshableBargraphFigure.java
Bugfixing und Performance-Steigerung
<ide><path>pplications/plugins/org.csstudio.sds.components.ui/src/org/csstudio/sds/components/ui/internal/figures/RefreshableBargraphFigure.java <ide> public synchronized void paintFigure(final Graphics graphics) { <ide> graphics.setBackgroundColor(this.getBackgroundColor()); <ide> graphics.fillRectangle(this.getB...
Java
apache-2.0
8a18cf5b8faac26559f0798e597fa2764ad2b533
0
pushtechnology/diffusion-transform
/******************************************************************************* * Copyright (C) 2016 Push Technology 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.a...
transformers/src/main/java/com/pushtechnology/diffusion/transform/transformer/Transformers.java
/******************************************************************************* * Copyright (C) 2016 Push Technology 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.a...
Remove redundant information from internal constant names.
transformers/src/main/java/com/pushtechnology/diffusion/transform/transformer/Transformers.java
Remove redundant information from internal constant names.
<ide><path>ransformers/src/main/java/com/pushtechnology/diffusion/transform/transformer/Transformers.java <ide> return BINARY_DATA_TYPE.readValue(value); <ide> } <ide> }; <del> private static final Transformer FROM_POJO_TRANSFORMER = new Transformer() { <add> private static final Transform...
JavaScript
mit
6b1233824d30896371e96766dfa38449657c9eaf
0
ngageoint/geopackage-js,ngageoint/geopackage-js,ngageoint/geopackage-node,ngageoint/geopackage-js
var java = require('java') , mvn = require('node-java-maven') , proj4 = require('proj4') , async = require('async') , toArray = require('stream-to-array') , BufferStream = require('simple-bufferstream') , q = require('q'); // this is necessary for the ImageIO calls within the GeoPackage library java.opt...
geopackage.js
var java = require('java') , mvn = require('node-java-maven') , proj4 = require('proj4') , async = require('async') , toArray = require('stream-to-array') , BufferStream = require('simple-bufferstream') , q = require('q'); // this is necessary for the ImageIO calls within the GeoPackage library java.opt...
only parse the feature geometry if it is actually a string
geopackage.js
only parse the feature geometry if it is actually a string
<ide><path>eopackage.js <ide> featureRow.setValue(self.tableProperties[tableName][propertyKey], ''+feature.properties[propertyKey]); <ide> } <ide> <del> var featureGeometry = JSON.parse(feature.geometry); <add> var featureGeometry = typeof feature.geometry === 'string' ? JSON.parse(feat...
Java
apache-2.0
b6c46ecb46e1a27d8a6f66fd7bb0f97cd2b45110
0
AlejandroVera/ProjectTwitter,AlejandroVera/ProjectTwitter
/** * Sample Skeleton for "preferencias.fxml" Controller Class * You can copy and paste this code into your favorite IDE **/ package cliente; import interfacesComunes.Twitter_Account; import interfacesComunes.User; import java.io.File; import java.net.URL; import java.util.ResourceBundle; import javafx.fxml.FXML;...
src/cliente/AjustesController.java
/** * Sample Skeleton for "preferencias.fxml" Controller Class * You can copy and paste this code into your favorite IDE **/ package cliente; import interfacesComunes.Twitter_Account; import interfacesComunes.User; import java.io.File; import java.net.URL; import java.util.ResourceBundle; import javafx.fxml.FXML;...
Boton para proteger/desproteger cuenta en Ajustes.
src/cliente/AjustesController.java
Boton para proteger/desproteger cuenta en Ajustes.
<ide><path>rc/cliente/AjustesController.java <ide> import java.util.ResourceBundle; <ide> import javafx.fxml.FXML; <ide> import javafx.scene.control.Button; <add>import javafx.scene.control.RadioButton; <ide> import javafx.scene.control.TextArea; <ide> import javafx.scene.control.TextField; <ide> import javafx.scene.in...
JavaScript
mit
669d990482b90ddc5b27bc3a1597065b54a36984
0
vorg/pex,vorg/pex,szymonkaliski/pex,pex-gl/pex,szymonkaliski/pex,pex-gl/pex
define(['pex/sys/Platform', 'pex/sys/EjectaPolyfills'], function(Platform, EjectaPolyfills) { var requestAnimFrameFps = 60; if (Platform.isBrowser) { window.requestAnimFrame = (function() { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || win...
src/pex/sys/BrowserWindow.js
define(['pex/sys/Platform', 'pex/sys/EjectaPolyfills'], function(Platform, EjectaPolyfills) { var requestAnimFrameFps = 60; if (Platform.isBrowser) { window.requestAnimFrame = (function() { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || win...
Don't change existing canvas size in BrowserWindow
src/pex/sys/BrowserWindow.js
Don't change existing canvas size in BrowserWindow
<ide><path>rc/pex/sys/BrowserWindow.js <ide> <ide> if (!canvas) { <ide> canvas = document.getElementById('canvas'); <del> if (canvas) { <del> obj.settings.width = canvas.width; <del> obj.settings.height = canvas.height; <del> } <add> } <add> else if (obj.settings.width && obj.se...
JavaScript
cc0-1.0
9a33e0e4f9eef06be7a9d7f19081c83da9ba7d0a
0
RUGSoftEng/Team-5,RUGSoftEng/Team-5
/* file: form.js * authors: H. Bouakaz, S. de Vliet, S. de Jong & E. Werkema * date: 19/3/2016 * version 1.1 * * Description: */ define(['app/config', 'app/database', 'jquery', 'bootstrap', 'parsley', 'app/selectLanguage', 'app/selectSubject', 'app/date'], function (config, db, $, bootstrap, parsley, language, s...
app/create.js
/* file: form.js * authors: H. Bouakaz, S. de Vliet, S. de Jong & E. Werkema * date: 19/3/2016 * version 1.1 * * Description: */ define(['app/config', 'app/database', 'jquery', 'bootstrap', 'parsley', 'app/selectLanguage', 'app/selectSubject', 'app/date'], function (config, db, $, bootstrap, parsley, language, s...
Put form value reading in own function
app/create.js
Put form value reading in own function
<ide><path>pp/create.js <ide> } <ide> } <ide> <del> // Auxiliary replace functions <del> function giveId(string, formItemId) { <del> return string.replace(/{i}/g, formItemId); <del> } <del> function giveRequired(string) { <del> return string.replace(/{required}/g, 'required=""'); <del> } <del> <ide> /...
Java
mit
8d8fa5665256c793f7a2627b19af5052a8f08aa0
0
blackneck/react-native-webrtc,blackneck/react-native-webrtc,blackneck/react-native-webrtc
package com.oney.WebRTCModule; import android.content.Intent; import android.support.v4.content.LocalBroadcastManager; import android.util.Log; import org.webrtc.VideoCapturerAndroid; class CameraEventsHandler implements VideoCapturerAndroid.CameraEventsHandler { private final static String TAG = WebRTCModule.TA...
android/src/main/java/com/oney/WebRTCModule/CameraEventsHandler.java
package com.oney.WebRTCModule; import android.util.Log; import org.webrtc.VideoCapturerAndroid; class CameraEventsHandler implements VideoCapturerAndroid.CameraEventsHandler { private final static String TAG = WebRTCModule.TAG; private void sendMessage(int cameraId) { Log.d("sender", "Broadcasting m...
Android fix
android/src/main/java/com/oney/WebRTCModule/CameraEventsHandler.java
Android fix
<ide><path>ndroid/src/main/java/com/oney/WebRTCModule/CameraEventsHandler.java <ide> package com.oney.WebRTCModule; <ide> <add>import android.content.Intent; <add>import android.support.v4.content.LocalBroadcastManager; <ide> import android.util.Log; <ide> <ide> import org.webrtc.VideoCapturerAndroid; <ide> ...
Java
apache-2.0
65e5b15dd3b4df5bc80ca11398bde7f675db895f
0
vibur/vibur-dbcp
/** * Copyright 2013 Simeon Malchev * * 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 ...
src/main/java/org/vibur/dbcp/proxy/AbstractInvocationHandler.java
/** * Copyright 2013 Simeon Malchev * * 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 ...
comment
src/main/java/org/vibur/dbcp/proxy/AbstractInvocationHandler.java
comment
<ide><path>rc/main/java/org/vibur/dbcp/proxy/AbstractInvocationHandler.java <ide> getPoolName(config), method, Arrays.toString(args), target, t); <ide> } <ide> <add> /** <add> * Logically closes this invocation handler. Returns true only once when the handler state transitions <add> ...
Java
agpl-3.0
f1ad1568d3b2dab56919ee82f852ff7cee723da5
0
Nivocer/webenq,Nivocer/webenq,Nivocer/webenq,Nivocer/webenq
package it.bisi.report.jasper; import it.bisi.Utils; import org.jfree.chart.labels.StandardCategoryItemLabelGenerator; import org.jfree.data.category.CategoryDataset; public class MyStandardCategoryItemLabelGenerator extends StandardCategoryItemLabelGenerator { static int i = 0; public String generateLab...
java/src/bisiLibJasperSrc/it/bisi/report/jasper/MyStandardCategoryItemLabelGenerator.java
package it.bisi.report.jasper; import it.bisi.Utils; import org.jfree.chart.labels.StandardCategoryItemLabelGenerator; import org.jfree.data.category.CategoryDataset; public class MyStandardCategoryItemLabelGenerator extends StandardCategoryItemLabelGenerator { static int i = 0; public String generateLab...
[5217] add comment to use decimalformat in stead of some custom code
java/src/bisiLibJasperSrc/it/bisi/report/jasper/MyStandardCategoryItemLabelGenerator.java
[5217] add comment to use decimalformat in stead of some custom code
<ide><path>ava/src/bisiLibJasperSrc/it/bisi/report/jasper/MyStandardCategoryItemLabelGenerator.java <ide> { <ide> String result = null; <ide> String label = (String) Utils.alPercentages.get(i); <add> //@todo use DecimalFormat; <ide> if ( ExecuteReport.prop.get("Report_Label_Format").equals(",") ) <ide> label...
JavaScript
mit
d4a979b635d273c7c984716d7edef68d078fc948
0
KleeGroup/front-end-spa,KleeGroup/front-end-spa,pierr/front-end-spa,pierr/front-end-spa
var Hapi = require('hapi'); ///var Types = require('hapi').Types; module.exports = [{ method: 'GET', path: '/reference', config: { handler: getRefs } }, { method: 'GET', path: '/vm', config: { handler: getVms // query: { // name: Types.String() // } } }, { method: 'GET', path: '/vm/{id}', config: ...
example/api/routes.js
var Hapi = require('hapi'); ///var Types = require('hapi').Types; module.exports = [{ method: 'GET', path: '/reference', config: { handler: getRefs } }, { method: 'GET', path: '/vm', config: { handler: getVms // query: { // name: Types.String() // } } }, { method: 'GET', path: '/vm/{id}', config: ...
ajout d'une erreur en dur sur le update
example/api/routes.js
ajout d'une erreur en dur sur le update
<ide><path>xample/api/routes.js <ide> } <ide> }, { <ide> method: 'PUT', <del> path: '/vm', <add> path: '/vm/{id}', <ide> config: { <ide> handler: updateVm <ide> } <ide> <ide> function updateVm(request, reply) { <ide> console.log('Update VM', request, reply); <del> vms[vms.request.payload.id] = request.payload; ...
Java
apache-2.0
3ebcfcaa0783cde7b62c009989f5fb0d556e9053
0
diydyq/velocity-engine,diydyq/velocity-engine,pcollaog/velocity-engine,pcollaog/velocity-engine
package org.apache.velocity.runtime.parser.node; /* Generated By:JJTree: Do not edit this line. ASTReference.java */ /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without...
src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
/* Generated By:JJTree: Do not edit this line. ASTReference.java */ /* * The Apache Software License, Version 1.1 * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
Added the contribution from Christoph Reck <Christoph.Reck@dlr.de> to support Map introspection on #set() So #set($foo.bar = "blargh") will attempt foo.put("bar", "blargh") if foo.setBar( "blargh" ) fails. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: 7267684f36935cb3df12efc1f4c0216d758271d4@74142 13f...
src/java/org/apache/velocity/runtime/parser/node/ASTReference.java
Added the contribution from Christoph Reck <Christoph.Reck@dlr.de> to support Map introspection on #set()
<ide><path>rc/java/org/apache/velocity/runtime/parser/node/ASTReference.java <add>package org.apache.velocity.runtime.parser.node; <add> <ide> /* Generated By:JJTree: Do not edit this line. ASTReference.java */ <ide> <ide> /* <ide> * <http://www.apache.org/>. <ide> */ <ide> <add>import java.io.Writer; <add>import j...
Java
mit
f9147f80e568fd1de850a9c67be19d28cadeaad2
0
aeshell/nanook,aeshell/nanook
/* * JBoss, Home of Professional Open Source Copyright 2014 Red Hat Inc. and/or its affiliates and * other contributors as indicated by the @authors tag. All rights reserved. See the copyright.txt * in the distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2...
src/main/java/org/jboss/aesh/cloverxell/controller/CloverxellController.java
/* * JBoss, Home of Professional Open Source Copyright 2014 Red Hat Inc. and/or its affiliates and * other contributors as indicated by the @authors tag. All rights reserved. See the copyright.txt * in the distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2...
this closes #80
src/main/java/org/jboss/aesh/cloverxell/controller/CloverxellController.java
this closes #80
<ide><path>rc/main/java/org/jboss/aesh/cloverxell/controller/CloverxellController.java <ide> else { <ide> aesh.run(customCommand); <ide> } <del> String result = aesh.getResult() + "@" + aesh.getCurrentDirectory(); <add> <add> <add> String result = aesh.getResult...
Java
apache-2.0
06052bd37ed1eba37b442a6a59af6c801f2e79a9
0
ozil87/pyconjp-android,ozil87/pyconjp-android,ozil87/pyconjp-android
package jp.pycon.pyconjp2016app.Feature.Talks.List; import android.content.Context; import android.content.Intent; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.os.Bundle; import android.support.annotation.Nullable; import and...
app/src/main/java/jp/pycon/pyconjp2016app/Feature/Talks/List/TalkListFragment.java
package jp.pycon.pyconjp2016app.Feature.Talks.List; import android.content.Context; import android.content.Intent; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.os.Bundle; import android.support.annotation.Nullable; import and...
不要な処理を削除
app/src/main/java/jp/pycon/pyconjp2016app/Feature/Talks/List/TalkListFragment.java
不要な処理を削除
<ide><path>pp/src/main/java/jp/pycon/pyconjp2016app/Feature/Talks/List/TalkListFragment.java <ide> @Override <ide> public void onClick(int pk) { <ide> TalkDetailActivity.start(mContext, pk); <del> Toast.makeText(getContext(), "" + pk, Toast.LENGTH_SHORT).show()...
JavaScript
mit
f616a78a40a76084ca09c394252232834e9f150f
0
mwbrooks/phonegap-plugin-hashpipe,mwbrooks/phonegap-plugin-hashpipe
(function() { var Store = function() { // In order to 'just work' with the Lawnchair BlackBerryPersistentStore adaptor, // the public API must be 'get', 'getAll', 'put', 'remove', 'nuke' return { get: function(successCallback, errorCallback, key) { var successWrap...
plugin/www/javascript/store.js
// // An almost blind copy & paste of store.js from phonegap/phonegap-blackberry // This will fail horribly, but at least the public functions will now exist // (function() { function Store() { this.save_success = null; this.save_error = null; this.loadAll_success = null; this.loadAl...
Refactor JavaScript interface of plugin.
plugin/www/javascript/store.js
Refactor JavaScript interface of plugin.
<ide><path>lugin/www/javascript/store.js <del>// <del>// An almost blind copy & paste of store.js from phonegap/phonegap-blackberry <del>// This will fail horribly, but at least the public functions will now exist <del>// <ide> (function() { <del> function Store() { <del> this.save_success = null; <del> ...
Java
apache-2.0
15f4a861ac65ee9f3370e736adb5d72aa7f3e376
0
julesbond007/Android-Jigsaw-Puzzle,julesbond007/Android-Jigsaw-Puzzle
/* * Copyright (c) 2015. Jay Paulynice (jay.paulynice@gmail.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 require...
app/src/main/java/com/jigdraw/draw/dao/ImageDao.java
/* * Copyright (c) 2015. Jay Paulynice (jay.paulynice@gmail.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 require...
Update ImageDao.java
app/src/main/java/com/jigdraw/draw/dao/ImageDao.java
Update ImageDao.java
<ide><path>pp/src/main/java/com/jigdraw/draw/dao/ImageDao.java <ide> * <ide> * @author Jay Paulynice (jay.paulynice@gmail.com) <ide> */ <del>public interface ImageDao { <add>interface ImageDao { <ide> /** <ide> * Save an image entity <ide> *