lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
a729a9b34303abdabf24948a2721cfef70b3b295
0
dbeaver/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,serge-rider/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
plugins/org.jkiss.dbeaver.ext.mssql/src/org/jkiss/dbeaver/ext/mssql/model/SQLServerMetaModel.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
#2750 SQL Server: schema list read fix Former-commit-id: 5c40cf9ab6c64d36ff9ce639f9dba3fccfaea04f
plugins/org.jkiss.dbeaver.ext.mssql/src/org/jkiss/dbeaver/ext/mssql/model/SQLServerMetaModel.java
#2750 SQL Server: schema list read fix
<ide><path>lugins/org.jkiss.dbeaver.ext.mssql/src/org/jkiss/dbeaver/ext/mssql/model/SQLServerMetaModel.java <ide> final DBSObjectFilter schemaFilters = dataSource.getContainer().getObjectFilter(GenericSchema.class, catalog, false); <ide> <ide> String sysSchema = DBUtils.getQuotedIdentifier(catalog) + "...
Java
apache-2.0
1766b2b375be60266ada3bbb669c2683e0b3624e
0
semonte/intellij-community,mglukhikh/intellij-community,kdwink/intellij-community,signed/intellij-community,salguarnieri/intellij-community,suncycheng/intellij-community,alphafoobar/intellij-community,ThiagoGarciaAlves/intellij-community,fitermay/intellij-community,tmpgit/intellij-community,fitermay/intellij-community,...
/* * Copyright 2000-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 agre...
platform/util/src/com/intellij/util/io/zip/ReorderJarsMain.java
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
delete temp files in ReorderJars no matter what
platform/util/src/com/intellij/util/io/zip/ReorderJarsMain.java
delete temp files in ReorderJars no matter what
<ide><path>latform/util/src/com/intellij/util/io/zip/ReorderJarsMain.java <ide> /* <del> * Copyright 2000-2013 JetBrains s.r.o. <add> * Copyright 2000-2015 JetBrains s.r.o. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file except in compliance with the ...
Java
apache-2.0
b91bccb5ec09c55fc9a75114be7f26ff9a8a3e56
0
trombonehero/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights
/* * Copyright 2011 Jonathan Anderson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Client/UI/Web/src/main/java/me/footlights/ui/web/Request.java
/* * Copyright 2011 Jonathan Anderson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Fix Request.shift().
Client/UI/Web/src/main/java/me/footlights/ui/web/Request.java
Fix Request.shift().
<ide><path>lient/UI/Web/src/main/java/me/footlights/ui/web/Request.java <ide> */ <ide> public Request shift() <ide> { <del> String stripped = path.substring(path.indexOf("/", 1)); <add> if (path.isEmpty()) return this; <add> <add> int slash = path.indexOf("/", 1); <add> if (slash == -1) return this; <add> <add>...
JavaScript
bsd-2-clause
5e2431266d715203cb5c86a412e1e41c41647b96
0
sitna/api-sitna,sitna/api-sitna
var SITNA = window.SITNA || {}; var TC = window.TC || {}; SITNA.syncLoadJS = function (url) { var req = new XMLHttpRequest(); req.open("GET", url, false); // 'false': synchronous. req.send(null); var head = document.getElementsByTagName("head")[0]; var script = document.createElement("script"); ...
sitna.js
var SITNA = window.SITNA || {}; SITNA.syncLoadJS = function (url) { var req = new XMLHttpRequest(); req.open("GET", url, false); // 'false': synchronous. req.send(null); var head = document.getElementsByTagName("head")[0]; var script = document.createElement("script"); script.type = "text/jav...
Add feature search methods Added several methods to search special features in IDENA.
sitna.js
Add feature search methods
<ide><path>itna.js <ide> var SITNA = window.SITNA || {}; <add>var TC = window.TC || {}; <ide> <ide> SITNA.syncLoadJS = function (url) { <ide> var req = new XMLHttpRequest(); <ide> script = scripts[scripts.length - 1]; <ide> } <ide> var src = script.getAttribute('src'); <del> SIT...
Java
apache-2.0
6d5fde94a17aab2a5b23fa9fa404df86d198125f
0
fitermay/intellij-community,semonte/intellij-community,ivan-fedorov/intellij-community,pwoodworth/intellij-community,diorcety/intellij-community,muntasirsyed/intellij-community,da1z/intellij-community,jexp/idea2,nicolargo/intellij-community,petteyg/intellij-community,consulo/consulo,michaelgallacher/intellij-community,...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
plugins/git4idea/src/git4idea/vfs/GitRootTracker.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
git4idea: optimized root tracker to preform fs checks only if there are configured git roots.
plugins/git4idea/src/git4idea/vfs/GitRootTracker.java
git4idea: optimized root tracker to preform fs checks only if there are configured git roots.
<ide><path>lugins/git4idea/src/git4idea/vfs/GitRootTracker.java <ide> */ <ide> private final AtomicBoolean myRootsInvalidated = new AtomicBoolean(true); <ide> /** <add> * If true, there are some configured git roots, or listener has never been run yet <add> */ <add> private final AtomicBoolean myHasGitRoots...
Java
bsd-3-clause
error: pathspec 'src/test/java/net/emaze/dysfunctional/time/SleepTest.java' did not match any file(s) known to git
8d4d97d877377fa6f76eea13a51611bbd3dc283a
1
emaze/emaze-dysfunctional,EdMcBane/emaze-dysfunctional
package net.emaze.dysfunctional.time; import java.util.concurrent.TimeUnit; import net.emaze.dysfunctional.tuples.Pair; import org.junit.Assert; import org.junit.Test; /** * * @author rferranti */ public class SleepTest { final long ICE_AGE = 0l; final WarpingTimeStrategy clock = new WarpingTimeStrategy(I...
src/test/java/net/emaze/dysfunctional/time/SleepTest.java
enh: sleep coverage
src/test/java/net/emaze/dysfunctional/time/SleepTest.java
enh: sleep coverage
<ide><path>rc/test/java/net/emaze/dysfunctional/time/SleepTest.java <add>package net.emaze.dysfunctional.time; <add> <add>import java.util.concurrent.TimeUnit; <add>import net.emaze.dysfunctional.tuples.Pair; <add>import org.junit.Assert; <add>import org.junit.Test; <add> <add>/** <add> * <add> * @author rferranti <add...
Java
mit
da8a5f825539d0baa0a472459c3f08567cf5c0fe
0
bluesnap/bluesnap-android-int
package com.bluesnap.androidapi; import android.support.test.runner.AndroidJUnit4; import android.util.Log; import com.bluesnap.androidapi.models.SdkRequest; import com.bluesnap.androidapi.services.BSPaymentRequestException; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.run...
bluesnap-android/src/androidTest/java/com/bluesnap/androidapi/CurrencyConverterTests.java
package com.bluesnap.androidapi; import android.support.test.runner.AndroidJUnit4; import android.util.Log; import com.bluesnap.androidapi.models.SdkRequest; import com.bluesnap.androidapi.services.BSPaymentRequestException; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.run...
fixed tests
bluesnap-android/src/androidTest/java/com/bluesnap/androidapi/CurrencyConverterTests.java
fixed tests
<ide><path>luesnap-android/src/androidTest/java/com/bluesnap/androidapi/CurrencyConverterTests.java <ide> sdkRequest.setAmount(amount); <ide> sdkRequest.setCurrencyNameCode("ILS"); <ide> <del> <add> sdkRequest.setBase(); <ide> blueSnapService.setSdkRequest(sdkRequest); <ide> Doub...
Java
mit
error: pathspec 'src/FogCube.java' did not match any file(s) known to git
7fccb6360e624c2d36e2efad90a28665173d9da2
1
LTolosa/A-Maze-3D
import org.lwjgl.LWJGLException; import org.lwjgl.Sys; import org.lwjgl.input.Keyboard; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.DisplayMode; import org.lwjgl.opengl.GL11; import org.lwjgl.util.glu.GLU; import org.lwjgl.util.vector.Vector3f; import java.nio.ByteBuffer; imp...
src/FogCube.java
Added fog to simple cube scene
src/FogCube.java
Added fog to simple cube scene
<ide><path>rc/FogCube.java <add>import org.lwjgl.LWJGLException; <add>import org.lwjgl.Sys; <add>import org.lwjgl.input.Keyboard; <add>import org.lwjgl.input.Mouse; <add>import org.lwjgl.opengl.Display; <add>import org.lwjgl.opengl.DisplayMode; <add>import org.lwjgl.opengl.GL11; <add>import org.lwjgl.util.glu.GLU; <add...
Java
apache-2.0
59b70c772b54b3c17082520d1be959584d9e1e8f
0
ServiceComb/java-chassis,ServiceComb/java-chassis
/* * 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 ...
foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/http/VertxServerRequestToHttpServletRequest.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 ...
[SCB-1306] When VertxServerRequestToHttpServletRequest modified body,but get inputStream is from original body
foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/http/VertxServerRequestToHttpServletRequest.java
[SCB-1306] When VertxServerRequestToHttpServletRequest modified body,but get inputStream is from original body
<ide><path>oundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/http/VertxServerRequestToHttpServletRequest.java <ide> public void setBodyBuffer(Buffer bodyBuffer) { <ide> super.setBodyBuffer(bodyBuffer); <ide> context.setBody(bodyBuffer); <add> this.inputStream = null; <ide> ...
JavaScript
mit
077324ad605328f600a5aeac55d7929cda1617df
0
rowhit/jitsu,nodejitsu/jitsu,mbejda/jitsu
/* * logs.js: Commands related to user resources * * (C) 2010, Nodejitsu Inc. * */ var winston = require('winston'), jitsu = require('../../jitsu'); var logs = exports; logs.usage = [ 'The `jitsu logs` commands allow you to read the logs related to your app.', 'The default number of lines to show is 10....
lib/jitsu/commands/logs.js
/* * logs.js: Commands related to user resources * * (C) 2010, Nodejitsu Inc. * */ var winston = require('winston'), jitsu = require('../../jitsu'); var logs = exports; logs.usage = [ 'The `jitsu logs` commands allow you to read the logs related to your app.', 'The default number of lines to show is 10....
[fix] Fix for bad log option name.
lib/jitsu/commands/logs.js
[fix] Fix for bad log option name.
<ide><path>ib/jitsu/commands/logs.js <ide> loglength = jitsu.config.get('loglength'); <ide> <ide> results.data.forEach(function (datum) { <del> if (datum.json && data.json.desc != null) { <add> if (datum.json && datum.json.desc != null) { <ide> datum.json.desc.split('\n').forEach(function (line) ...
Java
apache-2.0
a9d577f75bb1baf70912b97932b122912b5521e8
0
kryptnostic/kodex
package com.kryptnostic.storage.v2.models; import java.util.UUID; import javax.annotation.concurrent.Immutable; @Immutable public class VersionedObjectKey { private final UUID objectId; private final long version; /** * This is transient because it is recalculated on the first call to hashco...
src/main/java/com/kryptnostic/storage/v2/models/VersionedObjectKey.java
package com.kryptnostic.storage.v2.models; import java.util.UUID; import javax.annotation.concurrent.Immutable; @Immutable public class VersionedObjectKey { private final UUID objectId; private final long version; /** * This is transient because it is recalculated on the first call to hashco...
add a factory to versionedobjectkey for new random keys
src/main/java/com/kryptnostic/storage/v2/models/VersionedObjectKey.java
add a factory to versionedobjectkey for new random keys
<ide><path>rc/main/java/com/kryptnostic/storage/v2/models/VersionedObjectKey.java <ide> return version; <ide> } <ide> <del> /* (non-Javadoc) <add> public static VersionedObjectKey newRandomKey() { <add> return new VersionedObjectKey( UUID.randomUUID(), 0L ); <add> } <add> <add> /* <add> ...
Java
apache-2.0
8b9f447917eb4c05e5f4cd7fe5c29b4a8d8fcca5
0
pmcs/parity,pmcs/parity,paritytrading/parity,paritytrading/parity
package com.paritytrading.parity.client; import com.paritytrading.parity.net.poe.POE; class Error { static final String HEADER = "" + "Order ID Reason\n" + "---------------- ------------------"; private final String orderId; private final byte reason; Error(Event.OrderReje...
applications/client/src/main/java/com/paritytrading/parity/client/Error.java
package com.paritytrading.parity.client; import com.paritytrading.parity.net.poe.POE; class Error { static final String HEADER = "" + "Order ID Reason\n" + "---------------- ------------------"; private String orderId; private byte reason; Error(Event.OrderRejected event) ...
parity-client: Use 'final' modifier in 'Error'
applications/client/src/main/java/com/paritytrading/parity/client/Error.java
parity-client: Use 'final' modifier in 'Error'
<ide><path>pplications/client/src/main/java/com/paritytrading/parity/client/Error.java <ide> "Order ID Reason\n" + <ide> "---------------- ------------------"; <ide> <del> private String orderId; <del> private byte reason; <add> private final String orderId; <add> private final by...
JavaScript
isc
445e7d266f417e7d7c277c5742ba41e580996de3
0
aaronlidman/osm-dash
'use strict'; const test = require('tape'); const isotrunc = require('../lib/isotrunc.js'); const fixtures = { '2018': { 'to': { 'year': '2018' }, 'unit': 'year', 'parent': '2018', 'sequence': undefined }, '2018-10': { 'to': { 'year':...
test/isotrunc.test.js
'use strict'; const test = require('tape'); const isotrunc = require('../lib/isotrunc.js'); const timeFixtures = { '2018': { 'to': { 'year': '2018' }, 'unit': 'year', 'parent': '2018', 'sequence': undefined }, '2018-10': { 'to': { 'ye...
A little simpler
test/isotrunc.test.js
A little simpler
<ide><path>est/isotrunc.test.js <ide> const test = require('tape'); <ide> const isotrunc = require('../lib/isotrunc.js'); <ide> <del>const timeFixtures = { <add>const fixtures = { <ide> '2018': { <ide> 'to': { <ide> 'year': '2018' <ide> }); <ide> <ide> test('isotrunc.to', t => { <del> for (...
Java
lgpl-2.1
cd2ddfacddbfa9496ebf5f8f23c91db84dcf1309
0
ggiudetti/opencms-core,ggiudetti/opencms-core,alkacon/opencms-core,alkacon/opencms-core,gallardo/opencms-core,ggiudetti/opencms-core,ggiudetti/opencms-core,alkacon/opencms-core,gallardo/opencms-core,gallardo/opencms-core,alkacon/opencms-core,gallardo/opencms-core
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
src/org/opencms/widgets/CmsDisplayTypeSelectWidget.java
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
Changed formatter select option label and sorting.
src/org/opencms/widgets/CmsDisplayTypeSelectWidget.java
Changed formatter select option label and sorting.
<ide><path>rc/org/opencms/widgets/CmsDisplayTypeSelectWidget.java <ide> import org.opencms.ade.configuration.CmsADEConfigData; <ide> import org.opencms.file.CmsObject; <ide> import org.opencms.main.OpenCms; <add>import org.opencms.workplace.CmsWorkplaceMessages; <ide> import org.opencms.xml.containerpage.I_CmsFormatter...
JavaScript
agpl-3.0
717ca3390fedc4e56a0bf1e21c4bb8795e76b80c
0
ygol/odoo,dfang/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,microcom/odoo,microcom/odoo,hip-odoo/odoo,laslabs/odoo,storm-computers/odoo,Elico-Corp/odoo_OCB,ygol/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,hip-odoo/odoo,hip-odoo/odoo,hip-odoo/odoo,laslabs/odoo,ygol/odoo,dfang/odoo,storm-computers/odoo,bplanc...
odoo.define('base_import.import', function (require) { "use strict"; var ControlPanelMixin = require('web.ControlPanelMixin'); var core = require('web.core'); var ListView = require('web.ListView'); var Model = require('web.DataModel'); var session = require('web.session'); var Widget = require('web.Widget'); var QWe...
addons/base_import/static/src/js/import.js
odoo.define('base_import.import', function (require) { "use strict"; var ControlPanelMixin = require('web.ControlPanelMixin'); var core = require('web.core'); var ListView = require('web.ListView'); var Model = require('web.DataModel'); var session = require('web.session'); var Widget = require('web.Widget'); var QWe...
[FIX] base_import: error message During the import of a file, if the connection is closed (timeout, server shutdown...), a traceback appears. This is because `error.data.arguments` is not defined in this case. opw-682104
addons/base_import/static/src/js/import.js
[FIX] base_import: error message
<ide><path>ddons/base_import/static/src/js/import.js <ide> return $.when([{ <ide> type: 'error', <ide> record: false, <del> message: error.data.arguments[1], <add> message: error.data.arguments && error.data.arguments[1] || er...
Java
apache-2.0
2dceae8229e235e60e05a029f402d4cea1171685
0
francelabs/datafari,francelabs/datafari,francelabs/datafari,francelabs/datafari,francelabs/datafari
/* $Id$ */ /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); y...
datafari-metadatacleaner-connector/src/main/java/com/francelabs/datafari/transformation/metadatacleaner/MetadataCleaner.java
/* $Id$ */ /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); y...
MetadataCleaner connector now removes empty or null metadata names/values
datafari-metadatacleaner-connector/src/main/java/com/francelabs/datafari/transformation/metadatacleaner/MetadataCleaner.java
MetadataCleaner connector now removes empty or null metadata names/values
<ide><path>atafari-metadatacleaner-connector/src/main/java/com/francelabs/datafari/transformation/metadatacleaner/MetadataCleaner.java <ide> import java.io.Reader; <ide> import java.util.Date; <ide> import java.util.HashMap; <add>import java.util.HashSet; <ide> import java.util.Iterator; <ide> import java.util.List; <i...
Java
apache-2.0
7b46e4fa5137996814df7f6063cae1a9d0d9d182
0
ConnectSDK/Connect-SDK-Android,openflint/Connect-SDK-Android,jaambee/Connect-SDK-Android,AspiroTV/Connect-SDK-Android,happysir/Connect-SDK-Android
/* * DiscoveryManager * Connect SDK * * Copyright (c) 2014 LG Electronics. * Created by Hyun Kook Khang on 19 Jan 2014 * * 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 * * htt...
src/com/connectsdk/discovery/DiscoveryManager.java
/* * DiscoveryManager * Connect SDK * * Copyright (c) 2014 LG Electronics. * Created by Hyun Kook Khang on 19 Jan 2014 * * 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 * * htt...
Fixed DeviceList doesn't update FriendlyName #123
src/com/connectsdk/discovery/DiscoveryManager.java
Fixed DeviceList doesn't update FriendlyName #123
<ide><path>rc/com/connectsdk/discovery/DiscoveryManager.java <ide> deviceIsNew = true; <ide> } <ide> <add> device.setFriendlyName(serviceDescription.getFriendlyName()); <ide> device.setLastDetection(Util.getTime()); <ide> device.setLastKnownIPAddress(serviceDescription.getIpAddress()); <ide> // TODO: Im...
JavaScript
mit
08d24791acaa4ee30836d87a1db000c638ad39ec
0
shexSpec/shex.js,shexSpec/shex.js,shexSpec/shex.js
// **ShExWriter** writes ShEx documents. var util = require('util'); var UNBOUNDED = -1; // Matches a literal as represented in memory by the ShEx library var ShExLiteralMatcher = /^"([^]*)"(?:\^\^(.+)|@([\-a-z]+))?$/i; // rdf:type predicate (for 'a' abbreviation) var RDF_PREFIX = 'http://www.w3.org/1999/02/22-rdf-s...
lib/ShExWriter.js
// **ShExWriter** writes ShEx documents. var util = require('util'); var UNBOUNDED = -1; // Matches a literal as represented in memory by the ShEx library var ShExLiteralMatcher = /^"([^]*)"(?:\^\^(.+)|@([\-a-z]+))?$/i; // rdf:type predicate (for 'a' abbreviation) var RDF_PREFIX = 'http://www.w3.org/1999/02/22-rdf-s...
- old special handling for focus constraints
lib/ShExWriter.js
- old special handling for focus constraints
<ide><path>ib/ShExWriter.js <ide> pieces.push(" "); <ide> } <ide> var empties = ["values", "length", "minlength", "maxlength", "pattern", "flags"]; <del> if (shape.expression || (forceBraces && Object.keys(shape).filter(k => { <del> return empties.indexOf(k) !== -1; <del> }).length ...
Java
apache-2.0
a22287e231637432ddeed3889979c09ce64d3ec6
0
rodvar/MFandroidTest
package com.rodvar.mfandroidtest; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; import android.view.M...
app/src/main/java/com/rodvar/mfandroidtest/CoffeeListActivity.java
package com.rodvar.mfandroidtest; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; import android.view.M...
Parsing foursquare response ! :)
app/src/main/java/com/rodvar/mfandroidtest/CoffeeListActivity.java
Parsing foursquare response ! :)
<ide><path>pp/src/main/java/com/rodvar/mfandroidtest/CoffeeListActivity.java <ide> import com.google.android.gms.location.LocationRequest; <ide> import com.google.android.gms.location.LocationServices; <ide> import com.rodvar.mfandroidtest.adapter.CoffeeShopAdapter; <add>import com.rodvar.mfandroidtest.backend.CallMeBa...
Java
apache-2.0
e64542e9ffaa5e35996b9c8f4a1c5cab00c0988c
0
JetBrains/xodus,JetBrains/xodus,JetBrains/xodus
/** * Copyright 2010 - 2017 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 a...
entity-store/src/main/java/jetbrains/exodus/entitystore/util/ImmutableSingleTypeEntityIdBitSet.java
/** * Copyright 2010 - 2017 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 a...
minor
entity-store/src/main/java/jetbrains/exodus/entitystore/util/ImmutableSingleTypeEntityIdBitSet.java
minor
<ide><path>ntity-store/src/main/java/jetbrains/exodus/entitystore/util/ImmutableSingleTypeEntityIdBitSet.java <ide> if (min < 0 || bitsCount >= Integer.MAX_VALUE) { <ide> throw new IllegalArgumentException(); <ide> } <del> data = new BitSet(((int) bitsCount)); <add> data = new ...
Java
apache-2.0
137b64e837d56f6aa1571bdde765b85dc256a8df
0
dsyer/maven,dsyer/maven,wangyuesong/maven,xasx/maven,stephenc/maven,Tibor17/maven,atanasenko/maven,rogerchina/maven,Mounika-Chirukuri/maven,kidaa/maven-1,lbndev/maven,likaiwalkman/maven,wangyuesong/maven,njuneau/maven,pkozelka/maven,kidaa/maven-1,wangyuesong0/maven,barthel/maven,cstamas/maven,dsyer/maven,Distrotech/mav...
package org.apache.maven.artifact.repository; /* * 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 Apach...
maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
package org.apache.maven.artifact.repository; /* * 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 Apach...
o Fixed glitch in daily update policy which uses wrong timezone git-svn-id: d3061b52f177ba403f02f0a296a85518da96c313@999860 13f79535-47bb-0310-9956-ffa450edef68
maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
o Fixed glitch in daily update policy which uses wrong timezone
<ide><path>aven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java <ide> } <ide> else if ( UPDATE_POLICY_DAILY.equals( updatePolicy ) ) <ide> { <del> // Get midnight boundary <del> Calendar cal = Calendar.getInstance( TimeZone.getTimeZ...
Java
epl-1.0
ba8fbf6a3aee5cb94d02310c7534268d0d988897
0
opendaylight/packetcable,opendaylight/packetcable
/** @header@ */ package org.pcmm; import org.pcmm.objects.MMVersionInfo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.umu.cops.common.COPSDebug; import org.umu.cops.prpdp.COPSPdpAgent; import org.umu.cops.prpdp.COPSPdpException; import org.umu.cops.stack.*; import java.io.IOException; import...
packetcable-driver/src/main/java/org/pcmm/PCMMPdpAgent.java
/** @header@ */ package org.pcmm; import org.pcmm.objects.MMVersionInfo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.umu.cops.common.COPSDebug; import org.umu.cops.ospep.COPSPepException; import org.umu.cops.prpdp.COPSPdpAgent; import org.umu.cops.prpdp.COPSPdpException; import org.umu.cops....
Removal of calls to COPSDebug.err() and replaced with calls to the logger. Change-Id: I0acf0aeb3d4e73c057ea0ca52f2c821a2eea64d7 Signed-off-by: Steven Pisarski <cc896baba49c9aa0ae6ef6522361a2dc54c6f08b@cablelabs.com>
packetcable-driver/src/main/java/org/pcmm/PCMMPdpAgent.java
Removal of calls to COPSDebug.err() and replaced with calls to the logger.
<ide><path>acketcable-driver/src/main/java/org/pcmm/PCMMPdpAgent.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> import org.umu.cops.common.COPSDebug; <del>import org.umu.cops.ospep.COPSPepException; <ide> import org.umu.cops.prpdp.COPSPdpAgent; <ide> import org.umu.cops.prpdp.COPSPdpExc...
Java
mit
6baa8820016b89139921e56f639fef77f12af890
0
realdlee/dwitter
package com.codepath.apps.dwitter.activities; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.MenuItem; import android.widget.ImageView; import android.w...
app/src/main/java/com/codepath/apps/dwitter/activities/ProfileActivity.java
package com.codepath.apps.dwitter.activities; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.MenuItem; import android.widget.ImageView; import android.wi...
Format large numbers for follower/following counts
app/src/main/java/com/codepath/apps/dwitter/activities/ProfileActivity.java
Format large numbers for follower/following counts
<ide><path>pp/src/main/java/com/codepath/apps/dwitter/activities/ProfileActivity.java <ide> package com.codepath.apps.dwitter.activities; <add> <ide> <ide> import android.os.Bundle; <ide> import android.support.v4.app.FragmentTransaction; <ide> import com.loopj.android.http.JsonHttpResponseHandler; <ide> <ide> import...
Java
mit
b7e35ccb1f633dca5b0bc7ced5843971618f3ce1
0
macc704/KBDeX,macc704/KBDeX,macc704/KBDeX,macc704/KBDeX,macc704/KBDeX
/* * KBDeX.java * Created on Jun 27, 2010 * Copyright(c) 2010 Yoshiaki Matsuzawa, Shizuoka University. All rights reserved. */ package kbdex.app; import java.awt.Frame; import java.awt.Image; import java.awt.image.BufferedImage; import java.net.URL; import javax.imageio.ImageIO; import javax.swing...
KBDeX/src/kbdex/app/KBDeX.java
/* * KBDeX.java * Created on Jun 27, 2010 * Copyright(c) 2010 Yoshiaki Matsuzawa, Shizuoka University. All rights reserved. */ package kbdex.app; import java.awt.Frame; import java.awt.Image; import java.awt.image.BufferedImage; import java.net.URL; import javax.imageio.ImageIO; import javax.swing...
Updated version comment
KBDeX/src/kbdex/app/KBDeX.java
Updated version comment
<ide><path>BDeX/src/kbdex/app/KBDeX.java <ide> import javax.swing.JOptionPane; <ide> import javax.swing.UIManager; <ide> <del>import kbdex.app.manager.KDDiscourseManager; <del>import kbdex.app.manager.KDiscourseManagerFrame; <ide> import clib.common.filesystem.CDirectory; <ide> import clib.common.filesystem.CFileSyste...
JavaScript
mit
361c071c0b9730fe78fe8b6fc01aa828d504a356
0
gilfillan9/spotify-jukebox,gilfillan9/spotify-jukebox
var spotifyApi = new SpotifyWebApi() var queue; var currentTrack; var trackCache = {}; var loaded = false; var ourIp; var notificationsAllowed = false; var searchPage; $(function () { if (localStorage.getItem("queue") != null) localStorage.setItem("oldQueue", localStorage.getItem("queue")); $.ajaxSetup({ ...
lib/public/js/app.js
var spotifyApi = new SpotifyWebApi() var queue; var currentTrack; var trackCache = {}; var loaded = false; var ourIp; var notificationsAllowed = false; var searchPage; $(function () { if (localStorage.getItem("queue") != null) localStorage.setItem("oldQueue", localStorage.getItem("queue")); $.ajaxSetup({ ...
Added some error checking to the loading of pages and templates. Also allow passing of a function for pages that is called after the page is renders (to attach listeners)
lib/public/js/app.js
Added some error checking to the loading of pages and templates. Also allow passing of a function for pages that is called after the page is renders (to attach listeners)
<ide><path>ib/public/js/app.js <ide> currentPage = page.name; <ide> <ide> page.fn(args).then(function (data) { <del> $("main").html(page.template(data)); <del> resolve(); <add> var $page = $(page.template(data)); <add> $("main").html($page); <add> ...
JavaScript
apache-2.0
5a8934d63adb9b5e937de7b261e666abc59528af
0
mozilla/gcli,mozilla/gcli,mozilla/gcli
/* * Copyright 2012, Mozilla Foundation and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
lib/gcli/cli.js
/* * Copyright 2012, Mozilla Foundation and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
protocolnoise-1035296: Add string to remove log noise Signed-off-by: Joe Walker <7a17872fbb32c7d760c9a16ee3076daead11efcf@mozilla.com>
lib/gcli/cli.js
protocolnoise-1035296: Add string to remove log noise
<ide><path>ib/gcli/cli.js <ide> } <ide> } <ide> <add> if (data != null && typeof data === 'string') { <add> data = data.replace(/^Protocol error: /, ''); // Temp fix for bug 1035296 <add> } <add> <ide> data = (data != null && data.isTypedData) ? data : { <ide> isTypedData: true, <ide> ...
Java
mit
9d59c2cb618c92c52a623fd8a1c98021db650795
0
iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller...
/* * Copyright (c) 2010, The 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 to use, * copy, modify, me...
public/java/src/org/broadinstitute/sting/gatk/walkers/variantutils/VariantsToTable.java
/* * Copyright (c) 2010, The 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 to use, * copy, modify, me...
a) Made indel VQSR consensus script operational again, b) Made VariantsToTable more indel-friendly when printing out REF and ALT fields: strip out * from REF and print out alleles in the same way as the VCF so that offline processing is easier
public/java/src/org/broadinstitute/sting/gatk/walkers/variantutils/VariantsToTable.java
a) Made indel VQSR consensus script operational again, b) Made VariantsToTable more indel-friendly when printing out REF and ALT fields: strip out * from REF and print out alleles in the same way as the VCF so that offline processing is easier
<ide><path>ublic/java/src/org/broadinstitute/sting/gatk/walkers/variantutils/VariantsToTable.java <ide> // #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT <ide> getters.put("CHROM", new Getter() { public String get(VariantContext vc) { return vc.getChr(); } }); <ide> gette...
JavaScript
apache-2.0
9c2fecf4547fe45fe0bcf20ae4295b8101d159df
0
AnimatedRNG/cesium,wallw-bits/cesium,hodbauer/cesium,jason-crow/cesium,kiselev-dv/cesium,oterral/cesium,likangning93/cesium,YonatanKra/cesium,oterral/cesium,likangning93/cesium,CesiumGS/cesium,kaktus40/cesium,denverpierce/cesium,geoscan/cesium,NaderCHASER/cesium,likangning93/cesium,ggetz/cesium,jasonbeverage/cesium,geo...
/*global define*/ define([ '../Core/AssociativeArray', '../Core/Cartesian2', '../Core/Cartesian3', '../Core/Color', '../Core/defined', '../Core/destroyObject', '../Core/DeveloperError', '../Core/NearFarScalar', '../Scene/HorizontalOrigin', ...
Source/DataSources/LabelVisualizer.js
/*global define*/ define([ '../Core/AssociativeArray', '../Core/Cartesian2', '../Core/Cartesian3', '../Core/Color', '../Core/defined', '../Core/destroyObject', '../Core/DeveloperError', '../Core/NearFarScalar', '../Scene/HorizontalOrigin', ...
Fix typo merged from #2223
Source/DataSources/LabelVisualizer.js
Fix typo merged from #2223
<ide><path>ource/DataSources/LabelVisualizer.js <ide> <ide> if (!show) { <ide> //don't bother creating or updating anything else <del> returnLabel(entity, unusedIndexes); <add> returnLabel(item, unusedIndexes); <ide> continue; <ide> ...
Java
apache-2.0
cd30a3235d9989e17b0f3bb8e7bb8e7df434c9b1
0
flexiblepower/powermatcher,flexiblepower/powermatcher,flexiblepower/powermatcher
package net.powermatcher.core.auctioneer.test; import static org.junit.Assert.*; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ScheduledThreadPoolExecutor; import net.powermatcher.api.data.Bid; import net.powermatcher.api.data.MarketBasis; import net.powermatcher.core.auctioneer.Auction...
net.powermatcher.core/test/net/powermatcher/core/auctioneer/test/AuctioneerTest.java
package net.powermatcher.core.auctioneer.test; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ScheduledThreadPoolExecutor; import net.powermatcher.api.data.Bid; import net.powermatcher.api.data.MarketBas...
fix core tests with new sessionManager
net.powermatcher.core/test/net/powermatcher/core/auctioneer/test/AuctioneerTest.java
fix core tests with new sessionManager
<ide><path>et.powermatcher.core/test/net/powermatcher/core/auctioneer/test/AuctioneerTest.java <ide> <ide> import static org.junit.Assert.*; <ide> <del>import java.util.ArrayList; <ide> import java.util.HashMap; <del>import java.util.List; <ide> import java.util.Map; <ide> import java.util.concurrent.ScheduledThreadP...
Java
apache-2.0
599f2bbae2347caacb2f1f3a16d9f078530b4229
0
OpenConext/OpenConext-api,OpenConext/OpenConext-api
/* * Copyright 2012 SURFnet bv, The Netherlands * * 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...
coin-api-external-groups/src/main/java/nl/surfnet/coin/teams/service/impl/AbstractGrouperDaoImpl.java
/* * Copyright 2012 SURFnet bv, The Netherlands * * 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...
added query DD_MEMBER_COUNT_TO_TEAMS
coin-api-external-groups/src/main/java/nl/surfnet/coin/teams/service/impl/AbstractGrouperDaoImpl.java
added query DD_MEMBER_COUNT_TO_TEAMS
<ide><path>oin-api-external-groups/src/main/java/nl/surfnet/coin/teams/service/impl/AbstractGrouperDaoImpl.java <ide> "and gg.parent_stem = gs.id and gs.name != 'etc' and gm.subject_id != 'GrouperSystem' " + <ide> "and gm.subject_id != 'GrouperAll' and gg.name = ? order by gm.subject_id limit ? offset ?"; <ide>...
JavaScript
mit
30c48af8453fbf5467c6f4e6be506d39cce016cf
0
CSTARS/poplar-3pg-model
var io = require('./lib/io'); var run = require('./lib/run')(io); module.exports = run; // test for npm
index.js
var io = require('./lib/io'); var run = require('./lib/run')(io); module.exports = run;
adding test for npm
index.js
adding test for npm
<ide><path>ndex.js <ide> <ide> <ide> module.exports = run; <add>// test for npm
Java
bsd-3-clause
6a5f945c473f43a5948d28bcd02bd5536936e1e5
0
jjj5311/PrisonPearl,BlackXnt/PrisonPearl,suirad/PrisonPearl,Civcraft/PrisonPearl
package com.untamedears.PrisonPearl; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.block.BlockState; import org.bukkit.block.DoubleChest; import org.bukkit.entity.Entity; import org.bukkit.entity.Item; import org.bukkit.entity.Player; import org.bukkit.inventory.InventoryHolder; import org.bu...
src/com/untamedears/PrisonPearl/PrisonPearl.java
package com.untamedears.PrisonPearl; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.block.BlockState; import org.bukkit.block.DoubleChest; import org.bukkit.entity.Entity; import org.bukkit.entity.Item; import org.bukkit.entity.Player; import org.bukkit.inventory.InventoryHolder; import org.bu...
Cleaned up some TODOs in PrisonPearl
src/com/untamedears/PrisonPearl/PrisonPearl.java
Cleaned up some TODOs in PrisonPearl
<ide><path>rc/com/untamedears/PrisonPearl/PrisonPearl.java <ide> } else if (holder instanceof DoubleChest) { <ide> return ((DoubleChest)holder).getLocation(); <ide> } else { <del> return null; // TODO log these <add> System.err.println("PrisonPearl " + id + " has an unexpected holder: " + holder); <add...
Java
lgpl-2.1
954c49fda48a6d18ff650846a9429d4a6312fb31
0
jimregan/languagetool,languagetool-org/languagetool,jimregan/languagetool,jimregan/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,jimregan/languagetool,jimregan/languagetool
/* LanguageTool, a natural language style checker * Copyright (C) 2020 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2....
languagetool-dev/src/main/java/org/languagetool/dev/diff/ResultToHtml.java
/* LanguageTool, a natural language style checker * Copyright (C) 2020 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2....
ResultToHtml: throw IOexception
languagetool-dev/src/main/java/org/languagetool/dev/diff/ResultToHtml.java
ResultToHtml: throw IOexception
<ide><path>anguagetool-dev/src/main/java/org/languagetool/dev/diff/ResultToHtml.java <ide> print("<br>"); <ide> } <ide> <del> private void printRulesInCategory(Map<String, Integer> rulesInCategory) { <add> private void printRulesInCategory(Map<String, Integer> rulesInCategory) throws IOException { <ide> ...
JavaScript
mit
6bf4036fa06706e4e1c3ca4be42d9a6ac0d796cd
0
czarandy/mtgptresults,czarandy/mtgptresults,czarandy/mtgptresults
'use strict'; var _ = require('underscore'); var deepcopy = require('deepcopy'); var Helper = require('./../lib/helper.js'); var unidecode = require('unidecode'); module.exports = function(grunt) { function nameToID(name) { return unidecode(name).toLowerCase().replace(/[^a-z-]/g, '-'); } var _tournaments =...
grunt/aliases.js
'use strict'; var _ = require('underscore'); var deepcopy = require('deepcopy'); var Helper = require('./../lib/helper.js'); var unidecode = require('unidecode'); module.exports = function(grunt) { function nameToID(name) { return unidecode(name).toLowerCase().replace(/[^a-z-]/g, '-'); } var _tournaments =...
added alias to build metadata
grunt/aliases.js
added alias to build metadata
<ide><path>runt/aliases.js <ide> ); <ide> } <ide> <del> function buildPlayers() { <add> var _players = null; <add> function loadPlayers() { <add> if (_players) { <add> return _players; <add> } <ide> var tournaments = loadTournaments(); <ide> var players = {}; <ide> _.each(tournaments, f...
Java
apache-2.0
945379a5827cc11e9cf8d60b804608c33d8e2ff2
0
SjoerdvGestel/TravisCI-android-sample,SjoerdvGestel/TravisCI-android-sample
package com.afrogleap.travis.sample; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; import org.robolectric.shadows.ShadowLog; /** * To work on unit tests, switch the Tes...
app/src/test/java/com/afrogleap/travis/sample/ExampleUnitTest.java
package com.afrogleap.travis.sample; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; import org.robolectric.shadows.ShadowLog; /** * To work on unit tests, switch the Tes...
fixed test, now it should run till end
app/src/test/java/com/afrogleap/travis/sample/ExampleUnitTest.java
fixed test, now it should run till end
<ide><path>pp/src/test/java/com/afrogleap/travis/sample/ExampleUnitTest.java <ide> public void a1_calcTest() throws Exception { <ide> int val = 2+2+2; <ide> <del> Assert.assertEquals(val, 7); //error <add> Assert.assertEquals(val, 6); <ide> } <ide> }
Java
mit
26d0acd3bc263ee4517960e57675b0cb4976d64d
0
PLOS/wombat,PLOS/wombat,PLOS/wombat,PLOS/wombat
package org.ambraproject.wombat.service.remote; import com.google.common.base.Optional; import org.ambraproject.wombat.util.UrlParamBuilder; import org.apache.http.Header; import org.springframework.beans.factory.annotation.Autowired; import java.io.File; import java.io.FileNotFoundException; import java.io.IOExceptio...
src/main/java/org/ambraproject/wombat/service/remote/ContentRepoServiceImpl.java
package org.ambraproject.wombat.service.remote; import com.google.common.base.Optional; import org.ambraproject.wombat.util.UrlParamBuilder; import org.apache.http.Header; import org.springframework.beans.factory.annotation.Autowired; import java.io.File; import java.io.FileNotFoundException; import java.io.IOExceptio...
DPRO-100 refactored repo config retrieval to support Gson null value serialization
src/main/java/org/ambraproject/wombat/service/remote/ContentRepoServiceImpl.java
DPRO-100 refactored repo config retrieval to support Gson null value serialization
<ide><path>rc/main/java/org/ambraproject/wombat/service/remote/ContentRepoServiceImpl.java <ide> <ide> private void setRepoConfig() throws IOException { <ide> Map<String,Object> repoConfig = (Map<String, Object>) soaService.requestObject("config?type=repo", Map.class); <del> if (repoConfig.containsKey("conten...
Java
apache-2.0
32ed938538056da7eae61da231ea4e2d8867f002
0
powertac/powertac-core
/* * Copyright (c) 2012 by the original author * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
src/main/java/org/powertac/samplebroker/core/JmsManagementService.java
/* * Copyright (c) 2012 by the original author * * 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...
resolve obscure, intermittent amq error
src/main/java/org/powertac/samplebroker/core/JmsManagementService.java
resolve obscure, intermittent amq error
<ide><path>rc/main/java/org/powertac/samplebroker/core/JmsManagementService.java <ide> import org.springframework.stereotype.Service; <ide> <ide> import javax.annotation.Resource; <add>import javax.jms.Connection; <ide> import javax.jms.ConnectionFactory; <add>import javax.jms.JMSException; <ide> import javax.jms.Mess...
Java
apache-2.0
0b08bfc732c3a52cf2a424bbd4af0785385fc2f3
0
UnderwaterApps/submarine,zepplondon/submarine
package com.submarine.chartboost; import com.badlogic.gdx.backends.iosrobovm.IOSApplication; import org.robovm.apple.uikit.UIViewController; import org.robovm.pods.chartboost.*; import java.util.ArrayList; /** * Created by mariam on 1/11/16. */ public class IOSChartBoost implements ChartBoostListener { privat...
chartboost/ios/src/com/submarine/chartboost/IOSChartBoost.java
package com.submarine.chartboost; import org.robovm.pods.chartboost.CBLocation; import org.robovm.pods.chartboost.Chartboost; import org.robovm.pods.chartboost.ChartboostDelegate; import java.util.ArrayList; /** * Created by mariam on 1/11/16. */ public class IOSChartBoost implements ChartBoostListener { priv...
move chartboost func to submarine
chartboost/ios/src/com/submarine/chartboost/IOSChartBoost.java
move chartboost func to submarine
<ide><path>hartboost/ios/src/com/submarine/chartboost/IOSChartBoost.java <ide> package com.submarine.chartboost; <ide> <del>import org.robovm.pods.chartboost.CBLocation; <del>import org.robovm.pods.chartboost.Chartboost; <del>import org.robovm.pods.chartboost.ChartboostDelegate; <add>import com.badlogic.gdx.backends.i...
Java
apache-2.0
b13895d6bebc57fd9da8909f6ffa35203031eb72
0
RWTH-i5-IDSG/jamocha,RWTH-i5-IDSG/jamocha
/** * Copyright 2007 Alexander Wilden * * 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://jamocha.sourceforge.net/ * * Unless required by applicable law or agreed to in writ...
src/main/org/jamocha/parser/ParserFactory.java
/** * Copyright 2007 Alexander Wilden * * 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://jamocha.sourceforge.net/ * * Unless required by applicable law or agreed to in writ...
- integrated SFPParser into ParserFactory. It can be used via -parser sfp Doesn't work yet!! git-svn-id: 9643e93313b82f5e4da82d8413267a0daa4b5472@779 2cd91b7d-3b21-0410-a5f4-f42db4f24360
src/main/org/jamocha/parser/ParserFactory.java
- integrated SFPParser into ParserFactory. It can be used via -parser sfp Doesn't work yet!!
<ide><path>rc/main/org/jamocha/parser/ParserFactory.java <ide> import org.jamocha.parser.clips.CLIPSFormatter; <ide> import org.jamocha.parser.clips.CLIPSParser; <ide> import org.jamocha.parser.cool.COOLParser; <add>import org.jamocha.parser.sfp.SFPParser; <ide> <ide> /** <ide> * The ParserFactory generates all known...
Java
apache-2.0
795ea0a2f344d45c2c4984ceb7ebc04527e366d0
0
winningsix/hive,asonipsl/hive,wisgood/hive,winningsix/hive,WANdisco/amplab-hive,asonipsl/hive,winningsix/hive,winningsix/hive,WANdisco/amplab-hive,WANdisco/hive,WANdisco/hive,WANdisco/hive,winningsix/hive,wisgood/hive,asonipsl/hive,WANdisco/amplab-hive,winningsix/hive,WANdisco/hive,winningsix/hive,wisgood/hive,WANdisco...
/** * 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...
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.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...
HIVE-6082 - Certain KeeperException should be ignored in ZooKeeperHiveLockManage.unlockPrimitive (Chaoyu Tang via Brock Noland) git-svn-id: c2303eb81cb646bce052f55f7f0d14f181a5956c@1554316 13f79535-47bb-0310-9956-ffa450edef68
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java
HIVE-6082 - Certain KeeperException should be ignored in ZooKeeperHiveLockManage.unlockPrimitive (Chaoyu Tang via Brock Noland)
<ide><path>l/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java <ide> break; <ide> } catch (Exception e) { <ide> if (tryNum >= numRetriesForUnLock) { <add> String name = ((ZooKeeperHiveLock)hiveLock).getPath(); <add> LOG.error("Node " + name + " ca...
Java
apache-2.0
7d68cbe5fbb41204eaa3c23ce9b3e4966455a998
0
keith-turner/accumulo,apache/accumulo,ctubbsii/accumulo,joshelser/accumulo,ctubbsii/accumulo,phrocker/accumulo,ivakegg/accumulo,ctubbsii/accumulo,adamjshook/accumulo,apache/accumulo,phrocker/accumulo-1,wjsl/jaredcumulo,ivakegg/accumulo,ctubbsii/accumulo,dhutchis/accumulo,wjsl/jaredcumulo,lstav/accumulo,joshelser/accumu...
/* * 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 ...
examples/wikisearch/query/src/main/java/org/apache/accumulo/examples/wikisearch/iterator/EvaluatingIterator.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
ACCUMULO-474: merge to trunk git-svn-id: ee25ee0bfe882ec55abc48667331b454c011093e@1302915 13f79535-47bb-0310-9956-ffa450edef68
examples/wikisearch/query/src/main/java/org/apache/accumulo/examples/wikisearch/iterator/EvaluatingIterator.java
ACCUMULO-474: merge to trunk
<ide><path>xamples/wikisearch/query/src/main/java/org/apache/accumulo/examples/wikisearch/iterator/EvaluatingIterator.java <ide> import org.apache.accumulo.core.security.ColumnVisibility; <ide> import org.apache.accumulo.examples.wikisearch.parser.EventFields; <ide> import org.apache.accumulo.examples.wikisearch.parser...
Java
mit
error: pathspec 'src/test/java/org/eluder/coveralls/maven/plugin/source/MultiSourceLoaderTest.java' did not match any file(s) known to git
0af25aa89a4d0e932311f02482a82d7d29eb358f
1
andrioli/coveralls-maven-plugin,velo/coveralls-maven-plugin,manish-hike/coveralls-maven-plugin,trautonen/coveralls-maven-plugin,andrioli/coveralls-maven-plugin,velo/coveralls-maven-plugin,manish-hike/coveralls-maven-plugin,velo/coveralls-maven-plugin,andrioli/coveralls-maven-plugin,trautonen/coveralls-maven-plugin,trau...
package org.eluder.coveralls.maven.plugin.source; import static org.junit.Assert.assertSame; import static org.mockito.Mockito.when; import java.io.IOException; import org.eluder.coveralls.maven.plugin.domain.Source; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito....
src/test/java/org/eluder/coveralls/maven/plugin/source/MultiSourceLoaderTest.java
Tests for multi source loader.
src/test/java/org/eluder/coveralls/maven/plugin/source/MultiSourceLoaderTest.java
Tests for multi source loader.
<ide><path>rc/test/java/org/eluder/coveralls/maven/plugin/source/MultiSourceLoaderTest.java <add>package org.eluder.coveralls.maven.plugin.source; <add> <add>import static org.junit.Assert.assertSame; <add>import static org.mockito.Mockito.when; <add> <add>import java.io.IOException; <add> <add>import org.eluder.covera...
Java
apache-2.0
cda2769ce0e3d9bb6980838279304433320c461b
0
KurtStam/fabric8,sobkowiak/fuse,mwringe/fabric8,rnc/fabric8,janstey/fuse-1,mwringe/fabric8,sobkowiak/fabric8,chirino/fuse,jonathanchristison/fabric8,rmarting/fuse,hekonsek/fabric8,jboss-fuse/fuse,dhirajsb/fabric8,gnodet/fuse,zmhassan/fabric8,jimmidyson/fabric8,dejanb/fuse,punkhorn/fuse,PhilHardwick/fabric8,hekonsek/fab...
/** * Copyright (C) FuseSource, Inc. * http://fusesource.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
fabric/fabric-configadmin/src/main/java/org/fusesource/fabric/configadmin/ZooKeeperConfigAdminBridge.java
/** * Copyright (C) FuseSource, Inc. * http://fusesource.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
[FABRIC-211] Zookeeper configadmin bridge will now perform variable substitution using the placeholder ${profile:pid/key}.
fabric/fabric-configadmin/src/main/java/org/fusesource/fabric/configadmin/ZooKeeperConfigAdminBridge.java
[FABRIC-211] Zookeeper configadmin bridge will now perform variable substitution using the placeholder ${profile:pid/key}.
<ide><path>abric/fabric-configadmin/src/main/java/org/fusesource/fabric/configadmin/ZooKeeperConfigAdminBridge.java <ide> import java.util.Collections; <ide> import java.util.Dictionary; <ide> import java.util.Enumeration; <add>import java.util.HashMap; <ide> import java.util.HashSet; <ide> import java.util.Hashtable; ...
Java
mit
246605733559858e9d76d1e4ee22e9d272f8c3ad
0
meeroslaph/bionic-qa-selenium
package tests.tickets; import org.testng.Assert; import org.testng.annotations.Test; import pages.HomePage; import pages.TicketsPage; import tests.BaseTest; import utils.Log4Test; public class BuyInfantTicketsTest extends BaseTest { @Test(dataProvider = "tickets", dataProviderClass = TicketsData.class) public...
src/test/java/tests/tickets/BuyInfantTicketsTest.java
package tests.tickets; import org.testng.Assert; import org.testng.annotations.Test; import pages.HomePage; import pages.TicketsPage; import tests.BaseTest; import utils.Log4Test; public class BuyInfantTicketsTest extends BaseTest { @Test(dataProvider = "tickets", dataProviderClass = TicketsData.class) public...
Updated method usage.
src/test/java/tests/tickets/BuyInfantTicketsTest.java
Updated method usage.
<ide><path>rc/test/java/tests/tickets/BuyInfantTicketsTest.java <ide> homePage.openAirTicketsPage(); <ide> TicketsPage ticketsPage = new TicketsPage(driver); <ide> ticketsPage.buyTickets(adults, children, infants); <del> Assert.assertTrue(ticketsPage.isError(), Log4Test.error("Error pop-u...
Java
apache-2.0
d1cba3ae5a14c52aab36c3162dfe0656df8689b8
0
jitsi/jitsi,damencho/jitsi,HelioGuilherme66/jitsi,procandi/jitsi,gpolitis/jitsi,Metaswitch/jitsi,bebo/jitsi,jitsi/jitsi,procandi/jitsi,HelioGuilherme66/jitsi,mckayclarey/jitsi,marclaporte/jitsi,ringdna/jitsi,459below/jitsi,bhatvv/jitsi,ibauersachs/jitsi,dkcreinoso/jitsi,ibauersachs/jitsi,laborautonomo/jitsi,pplatek/jit...
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.protocol.sip; import gov.nist.javax.sip.address.*; import gov.nist.javax.sip.header.*; import gov.nist.javax.sip.message....
src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.protocol.sip; import gov.nist.javax.sip.address.*; import gov.nist.javax.sip.header.*; import gov.nist.javax.sip.message....
Fix getting local ports for contact headers when using TLS.
src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java
Fix getting local ports for contact headers when using TLS.
<ide><path>rc/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java <ide> <ide> //if we are using tcp, make sure that we include the port of the <ide> //socket that we are actually using and not that of LP <del> if (ListeningPoint.TCP.equalsIgnoreCase(transp...
Java
agpl-3.0
36c286de5d8b599e5edfb9882e5a659cf2c2a9ab
0
bisq-network/exchange,bitsquare/bitsquare,bisq-network/exchange,bitsquare/bitsquare
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
desktop/src/main/java/bisq/desktop/main/dao/wallet/receive/BsqReceiveView.java
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
Add distance to button
desktop/src/main/java/bisq/desktop/main/dao/wallet/receive/BsqReceiveView.java
Add distance to button
<ide><path>esktop/src/main/java/bisq/desktop/main/dao/wallet/receive/BsqReceiveView.java <ide> <ide> if (!BisqEnvironment.isDAOActivatedAndBaseCurrencySupportingBsq()) { <ide> FormBuilder.addMultilineLabel(root, ++gridRow, Res.get("dao.wallet.receive.daoInfo")); <del> Button daoInfoButto...
JavaScript
mit
cf614eb3b545c944988106a7dd781e0c60847cd6
0
fajran/kasuari,fajran/kasuari,fajran/kasuari
(function() { var KasuariImage = function(ix, iy, iz, url) { this.ix = ix; this.iy = iy; this.iz = iz; this.scale = Math.pow(2, iz); this.loaded = false; this.url = url; this.img = new Image(); this.onload = undefined; this.id = ix + '-' + iy + '-' + iz; var self = this; t...
kasuari.js
(function() { var KasuariImage = function(ix, iy, iz, url) { this.ix = ix; this.iy = iy; this.iz = iz; this.scale = Math.pow(2, iz); this.loaded = false; this.url = url; this.img = new Image(); this.onload = undefined; this.id = ix + '-' + iy + '-' + iz; var self = this; t...
add updateSize function
kasuari.js
add updateSize function
<ide><path>asuari.js <ide> return img; <ide> }, <ide> <add> updateSize: function(w, h) { <add> this.cw = $(this.canvas).width(); <add> this.ch = $(this.canvas).height(); <add> this.canvas.width = this.cw; <add> this.canvas.height = this.ch; <add> this.redraw(); <add> ...
Java
mit
071370fa393c8342459710e6ba1d8ef9bd4ef9f2
0
WesCook/WateringCans
package ca.wescook.wateringcans.crafting; import ca.wescook.wateringcans.WateringCans; import ca.wescook.wateringcans.fluids.ModFluids; import ca.wescook.wateringcans.items.ItemWateringCan; import ca.wescook.wateringcans.items.ModItems; import mezz.jei.api.BlankModPlugin; import mezz.jei.api.IModRegistry; import mezz....
src/main/java/ca/wescook/wateringcans/crafting/JEIPlugin.java
package ca.wescook.wateringcans.crafting; import ca.wescook.wateringcans.WateringCans; import ca.wescook.wateringcans.fluids.ModFluids; import ca.wescook.wateringcans.items.ItemWateringCan; import ca.wescook.wateringcans.items.ModItems; import mezz.jei.api.BlankModPlugin; import mezz.jei.api.IModRegistry; import mezz....
Updating JEI deprecated method
src/main/java/ca/wescook/wateringcans/crafting/JEIPlugin.java
Updating JEI deprecated method
<ide><path>rc/main/java/ca/wescook/wateringcans/crafting/JEIPlugin.java <ide> return null; <ide> } <ide> }; <del> subtypeRegistry.registerNbtInterpreter(ModItems.itemWateringCan, wateringCanInterpreter); <add> subtypeRegistry.registerSubtypeInterpreter(ModItems.itemWateringCan, wateringCanInterpreter); <ide>...
Java
mit
e989c080bc69307ffdf446f2dca502b15982b77b
0
university-information-system/uis,university-information-system/uis,university-information-system/uis,university-information-system/uis
package at.ac.tuwien.inso.initializer; import at.ac.tuwien.inso.entity.*; import at.ac.tuwien.inso.entity.Role; import at.ac.tuwien.inso.repository.*; import org.springframework.beans.factory.annotation.*; import org.springframework.boot.*; import org.springframework.context.annotation.*; import java.math.*; import j...
src/main/java/at/ac/tuwien/inso/initializer/DataInitializer.java
package at.ac.tuwien.inso.initializer; import at.ac.tuwien.inso.entity.*; import at.ac.tuwien.inso.entity.Role; import at.ac.tuwien.inso.repository.*; import org.springframework.beans.factory.annotation.*; import org.springframework.boot.*; import org.springframework.context.annotation.*; import java.math.*; import j...
adapt new data
src/main/java/at/ac/tuwien/inso/initializer/DataInitializer.java
adapt new data
<ide><path>rc/main/java/at/ac/tuwien/inso/initializer/DataInitializer.java <ide> <ide> //subjects <ide> Subject calculus = subjectRepository.save(new Subject("Calculus", new BigDecimal(3.0))); <del> calculus.addLecturers(lecturers.get(2)); <add> calculus.addLecturers(lectu...
JavaScript
apache-2.0
7dba8c1117dd550b79483fd27f9f57d8ada421fc
0
bastienmichaux/generator-jhipster-db-helper,bastienmichaux/generator-jhipster-db-helper
const path = require('path'); const fse = require('fs-extra'); const assert = require('yeoman-assert'); const helpers = require('yeoman-test'); const _ = require('lodash'); const dbh = require('../generators/dbh.js'); const DBH_CONSTANTS = require('../generators/dbh-constants'); const expectedAppConfig = { 'gener...
test/test-dbh.js
const path = require('path'); const fse = require('fs-extra'); const assert = require('yeoman-assert'); const helpers = require('yeoman-test'); const _ = require('lodash'); const dbh = require('../generators/dbh.js'); const DBH_CONSTANTS = require('../generators/dbh-constants'); const expectedAppConfig = { 'gener...
add test for reserver keywords with table names
test/test-dbh.js
add test for reserver keywords with table names
<ide><path>est/test-dbh.js <ide> const failMsgWhenEmpty = 'Your column name cannot be empty'; <ide> const failMsgWhenTooLongForOracle = 'Your column name is too long for Oracle, try a shorter name'; <ide> <del> it('works as expected', function () { <add> it('valid column names return true...
Java
mit
88081056b3b5e4a9d70200cf0e19fd89490f1a26
0
CS2103AUG2016-W15-C3/main
package seedu.taskell.ui; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.Label; import javafx.scene.layout.HBox; import seedu.taskell.model.task.ReadOnlyTask; import seedu.taskell.model.task.Task; public class TaskCard extends UiPart{ private static final String FXML = "TaskListCa...
src/main/java/seedu/taskell/ui/TaskCard.java
package seedu.taskell.ui; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.Label; import javafx.scene.layout.HBox; import seedu.taskell.model.task.ReadOnlyTask; import seedu.taskell.model.task.Task; public class TaskCard extends UiPart{ private static final String FXML = "TaskListCa...
Update UI display to display according to task types
src/main/java/seedu/taskell/ui/TaskCard.java
Update UI display to display according to task types
<ide><path>rc/main/java/seedu/taskell/ui/TaskCard.java <ide> taskType.setText(WHITESPACE); <ide> id.setText(displayedIndex + ". "); <ide> description.setText(task.getDescription().description); <del> taskPriority.setText(task.getTaskPriority().taskPriority); <add> taskPriority.setT...
Java
mit
f0bbd114bbeaaea37a2e35ddebb88658a34187c9
0
Ramotion/cardslider-android
package com.ramotion.cardslider.example.simple; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.app.ActivityOptions; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Typeface; import android.os.Build; import android.os.Bundle; import a...
card-slider-simple-example/src/main/java/com/ramotion/cardslider/example/simple/MainActivity.java
package com.ramotion.cardslider.example.simple; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.app.ActivityOptions; import android.content.Intent; import android.graphics.Typeface; import android.os.Build; import android.os.Bundle; import android.support.annotation.StyleR...
Load map bitmap from cache in example
card-slider-simple-example/src/main/java/com/ramotion/cardslider/example/simple/MainActivity.java
Load map bitmap from cache in example
<ide><path>ard-slider-simple-example/src/main/java/com/ramotion/cardslider/example/simple/MainActivity.java <ide> import android.animation.ObjectAnimator; <ide> import android.app.ActivityOptions; <ide> import android.content.Intent; <add>import android.graphics.Bitmap; <ide> import android.graphics.Typeface; <ide> imp...
JavaScript
mit
b5fbe909226b155900de0df09b34168c4eeed5c0
0
hull/hull-js,hull/hull-js,hull/hull-js
/** * ## Flags review * * Allows an administrator to review all the flags on objects considered as inappropriate * * ### Example * * <div data-hull-widget="admin/flags@hull"></div> * * * ### Template: * * - `main`: Displays the flags' review table if the user is an admin * * ### Datasource: * * - `f...
widgets/admin/flags/main.js
/** * ## Flags review * * Allows an administrator to review all the flags on objects considered as inappropriate * * ### Example * * <div data-hull-widget="admin/flags@hull"></div> * * * ### Template: * * - `main`: Displays the flags' review table if the user is an admin * * ### Datasource: * * - `f...
Deletes and unflags objects
widgets/admin/flags/main.js
Deletes and unflags objects
<ide><path>idgets/admin/flags/main.js <ide> }); <ide> return dfd; <ide> }, <del> beforeRender: function (data) { <del> console.log(data); <add> actions: { <add> delete: function (evt, ctx) { <add> var self = this; <add> this.api.delete(ctx.data.id).then(function () { <add> self.render...
Java
mit
83fcd717aa062d8b8601b55c4d4db48a05e6e76d
0
LilaQin/mockito,mockito/mockito,GeeChao/mockito,TimvdLippe/mockito,windofthesky/mockito,stefanbirkner/mockito,terebesirobert/mockito,icefoggy/mockito,lukasz-szewc/mockito,lukasz-szewc/mockito,smarkwell/mockito,MuShiiii/mockito,MuShiiii/mockito,JeremybellEU/mockito,huangyingw/mockito,bric3/mockito,geoffschoeman/mockito,...
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito; import static java.lang.annotation.ElementType.*; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import ...
src/org/mockito/MockitoAnnotations.java
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito; import static java.lang.annotation.ElementType.*; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import ...
unsetted accessible flag on field --HG-- extra : convert_revision : svn%3Aaa2aecf3-ea3e-0410-9d70-716747e7c967/trunk%40388
src/org/mockito/MockitoAnnotations.java
unsetted accessible flag on field
<ide><path>rc/org/mockito/MockitoAnnotations.java <ide> Field[] fields = clazz.getDeclaredFields(); <ide> for (Field f : fields) { <ide> if (f.isAnnotationPresent(Mock.class)) { <add> boolean wasAccessible = f.isAccessible(); <ide> f.setAccessible(true); <ide> ...
JavaScript
apache-2.0
328bf66d7fb61021fa0b8fd93152a256d2a29b1d
0
ibm-cds-labs/nodejs-graph,ukmadlz/gds-wrapper,ibm-cds-labs/gds-wrapper
// Licensed under the Apache License, Version 2.0 (the 'License'); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed un...
lib/gds.js
// Licensed under the Apache License, Version 2.0 (the 'License'); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed un...
List edges
lib/gds.js
List edges
<ide><path>ib/gds.js <ide> }; <ide> <ide> /* <del> Gremlin <add> Edges <ide> */ <add> <add> // List Edges <add> function listEdges(callback) { <add> var opts = { <add> url: '/edges', <add> method: 'GET', <add> }; <add> return apiCall(opts, callback); <add> } <add> <add> var edg...
Java
mit
c1d3618aa14a3675807c4078aa89c69a23c23d82
0
raspacorp/maker
/** * Mar 14, 2014 File created by Ramiro.Serrato */ package org.maker_pattern; import java.io.IOException; import java.util.Properties; import org.maker_pattern.animals.Animal; import org.maker_pattern.animals.Cat; import org.maker_pattern.animals.CatFamily; import org.maker_pattern.animals.Dog; import org.maker_p...
maker-pattern/src/org/maker_pattern/LivingBeingMaker.java
/** * Mar 14, 2014 File created by Ramiro.Serrato */ package org.maker_pattern; import java.io.IOException; import java.util.Properties; import org.maker_pattern.animals.Animal; import org.maker_pattern.animals.Cat; import org.maker_pattern.animals.CatFamily; import org.maker_pattern.animals.Dog; import org.maker_p...
Removed synchronized word from the getInstance method definition as it is not necessary now that I am using a synchronized block
maker-pattern/src/org/maker_pattern/LivingBeingMaker.java
Removed synchronized word from the getInstance method definition as it is not necessary now that I am using a synchronized block
<ide><path>aker-pattern/src/org/maker_pattern/LivingBeingMaker.java <ide> * @param properties A Properties object that may contain information needed for the instance creation <ide> * @return The instance as an Object <ide> */ <del> private synchronized Object getInstance(Properties properties) { <add> private Ob...
Java
mit
1a6c79617f866c77f212621136b0d8e2aff3e4f3
0
khanh245/CST-407
package oit.edu.pinpointwaldo.services; import oit.edu.pinpointwaldo.WaldoMapFragment; import android.app.AlertDialog; import android.app.Service; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.location.Criteria; import andr...
PinpointWaldo/src/oit/edu/pinpointwaldo/services/GPSDataService.java
package oit.edu.pinpointwaldo.services; import oit.edu.pinpointwaldo.WaldoMapFragment; import android.app.AlertDialog; import android.app.Service; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.location.Criteria; import andr...
removed comment
PinpointWaldo/src/oit/edu/pinpointwaldo/services/GPSDataService.java
removed comment
<ide><path>inpointWaldo/src/oit/edu/pinpointwaldo/services/GPSDataService.java <ide> private void broadcast(Location loc) { <ide> Intent i = new Intent("android.intent.action.MAIN").putExtra(WaldoMapFragment.GPS_LOCATION, loc); <ide> this.sendBroadcast(i); <del> // TODO: Not sure about this <ide> this.stopSelf(...
Java
bsd-2-clause
e13bdf24d7b8e12a1faa049e9a4513470f3092c4
0
biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej
// // AWTMouseEventDispatcher.java // /* ImageJ software for multidimensional image processing and analysis. Copyright (c) 2010, ImageJDev.org. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Red...
ui/awt-swing/common/src/main/java/imagej/ui/common/awt/AWTMouseEventDispatcher.java
// // AWTMouseEventDispatcher.java // /* ImageJ software for multidimensional image processing and analysis. Copyright (c) 2010, ImageJDev.org. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Red...
Went back to ImageDisplay in AWTMouseEventDispatcher This used to be revision r4003.
ui/awt-swing/common/src/main/java/imagej/ui/common/awt/AWTMouseEventDispatcher.java
Went back to ImageDisplay in AWTMouseEventDispatcher
<ide><path>i/awt-swing/common/src/main/java/imagej/ui/common/awt/AWTMouseEventDispatcher.java <ide> import imagej.data.display.ImageDisplay; <ide> import imagej.event.EventService; <ide> import imagej.event.ImageJEvent; <del>import imagej.ext.display.Display; <ide> import imagej.ext.display.EventDispatcher; <ide> impor...
JavaScript
mit
fd00ce2f703d838dac163a1bbec9e3f423d5bbff
0
vanthome/winston-elasticsearch,jackdbernier/winston-elasticsearch
'use strict'; const util = require('util'); const winston = require('winston'); const moment = require('moment'); const _ = require('lodash'); const elasticsearch = require('elasticsearch'); const defaultTransformer = require('./transformer'); const BulkWriter = require('./bulk_writer'); /** * Constructor */ const...
index.js
'use strict'; const util = require('util'); const winston = require('winston'); const moment = require('moment'); const _ = require('lodash'); const elasticsearch = require('elasticsearch'); const defaultTransformer = require('./transformer'); const BulkWriter = require('./bulk_writer'); /** * Constructor */ const...
pass options, that are using by BulkWriter
index.js
pass options, that are using by BulkWriter
<ide><path>ndex.js <ide> waitForActiveShards: options.waitForActiveShards, <ide> pipeline: options.pipeline, <ide> ensureMappingTemplate: options.ensureMappingTemplate, <add> mappingTemplate: options.mappingTemplate, <add> indexPrefix: options.indexPrefix <ide> }; <ide> <ide> this.bulkWriter = ne...
JavaScript
mit
703d5a32760614c30c7b40df08b2609b7c5c4348
0
boomcms/boom-core,boomcms/boom-core,boomcms/boom-core
/** Editable timestamps @class @name chunkTimestamp @extends $.ui.chunk @memberOf $.ui */ $.widget('ui.chunkTimestamp', $.ui.chunk, /** @lends $.ui.chunkTimestamp */ { /** Make the element editable by invokeing boom.editor.edit() on it. */ edit : function(){ var self = this; $.boom.log('Timestamp chunk ...
media/boom/js/boom.chunk.timestamp.js
/** Editable timestamps @class @name chunkTimestamp @extends $.ui.chunk @memberOf $.ui */ $.widget('ui.chunkTimestamp', $.ui.chunk, /** @lends $.ui.chunkTimestamp */ { /** Make the element editable by invokeing boom.editor.edit() on it. */ edit : function(){ var self = this; $.boom.log('Timestamp chunk ...
bugfix
media/boom/js/boom.chunk.timestamp.js
bugfix
<ide><path>edia/boom/js/boom.chunk.timestamp.js <ide> } <ide> <ide> var time; <del> if (self.options.slot.timestamp) { <add> if (data.timestamp) { <ide> time = new Date(data.timestamp * 1000); <ide> } else { <ide> time = new Date();
Java
apache-2.0
362f599c68bf0f8b0e646f3fe86f27094ace8f4f
0
mikosik/smooth-build,mikosik/smooth-build
package org.smoothbuild.db; import static org.smoothbuild.SmoothContants.OBJECTS_DIR; import static org.smoothbuild.SmoothContants.TASK_RESULTS_DIR; import org.smoothbuild.db.hashed.HashedDb; import org.smoothbuild.io.fs.SmoothDir; import org.smoothbuild.io.fs.base.FileSystem; import org.smoothbuild.io.fs.base.SubFil...
src/java/org/smoothbuild/db/DbModule.java
package org.smoothbuild.db; import static org.smoothbuild.SmoothContants.OBJECTS_DIR; import static org.smoothbuild.SmoothContants.TASK_RESULTS_DIR; import org.smoothbuild.db.hashed.HashedDb; import org.smoothbuild.io.fs.SmoothDir; import org.smoothbuild.io.fs.base.FileSystem; import org.smoothbuild.io.fs.base.SubFil...
refactored DbModule
src/java/org/smoothbuild/db/DbModule.java
refactored DbModule
<ide><path>rc/java/org/smoothbuild/db/DbModule.java <ide> <ide> @TaskResults <ide> @Provides <del> public HashedDb provideTaksResultsHashedDb(@SmoothDir FileSystem fileSystem) { <del> FileSystem objectsFileSystem = new SubFileSystem(fileSystem, TASK_RESULTS_DIR); <del> return new HashedDb(objectsFileSystem)...
Java
apache-2.0
ceda2873c5b6d272a2537f444dfcfc2d05c08691
0
nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni
/* * Copyright (C) 2007 Google Inc. * * 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...
api/src/main/java/org/yawni/util/LightImmutableList.java
/* * Copyright (C) 2007 Google Inc. * * 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 Licens...
minor
api/src/main/java/org/yawni/util/LightImmutableList.java
minor
<ide><path>pi/src/main/java/org/yawni/util/LightImmutableList.java <ide> /* <ide> * Copyright (C) 2007 Google Inc. <del> * <add> * <ide> * Licensed to the Apache Software Foundation (ASF) under one or more <ide> * contributor license agreements. See the NOTICE file distributed with <ide> * this work for addit...
Java
apache-2.0
315179abe22af03927b3dd4ff396fc751903ee09
0
donNewtonAlpha/onos,y-higuchi/onos,kuujo/onos,mengmoya/onos,maheshraju-Huawei/actn,LorenzReinhart/ONOSnew,donNewtonAlpha/onos,sonu283304/onos,LorenzReinhart/ONOSnew,opennetworkinglab/onos,osinstom/onos,gkatsikas/onos,sonu283304/onos,Shashikanth-Huawei/bmp,LorenzReinhart/ONOSnew,osinstom/onos,VinodKumarS-Huawei/ietf96ya...
/* * Copyright 2015-2016 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
core/store/dist/src/main/java/org/onosproject/store/newresource/impl/ConsistentResourceStore.java
/* * Copyright 2015-2016 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Workaround for old compiler - Was failing on eclise built-in compiler Change-Id: Ifd76449d0c1054876e447603aa3aff982c3a5e52
core/store/dist/src/main/java/org/onosproject/store/newresource/impl/ConsistentResourceStore.java
Workaround for old compiler
<ide><path>ore/store/dist/src/main/java/org/onosproject/store/newresource/impl/ConsistentResourceStore.java <ide> return lookup(childTxMap, x); <ide> } <ide> }) <del> .flatMap(Tools::stream) <add> .filter(Optional::isPresent) <add...
Java
apache-2.0
b61c9660762e526ec63d677e06eee4e2bb86bdfe
0
ol-loginov/intellij-community,akosyakov/intellij-community,asedunov/intellij-community,jagguli/intellij-community,fengbaicanhe/intellij-community,suncycheng/intellij-community,MER-GROUP/intellij-community,xfournet/intellij-community,xfournet/intellij-community,joewalnes/idea-community,xfournet/intellij-community,fnouam...
/* * Copyright (c) 2004 JetBrains s.r.o. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * -Redistributions of source code must retain the above copyright * notice, this list of condit...
source/com/intellij/ide/projectView/impl/nodes/PackageViewProjectNode.java
/* * Copyright (c) 2004 JetBrains s.r.o. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * -Redistributions of source code must retain the above copyright * notice, this list of condit...
cleanup
source/com/intellij/ide/projectView/impl/nodes/PackageViewProjectNode.java
cleanup
<ide><path>ource/com/intellij/ide/projectView/impl/nodes/PackageViewProjectNode.java <ide> */ <ide> package com.intellij.ide.projectView.impl.nodes; <ide> <del>import com.intellij.openapi.project.Project; <del>import com.intellij.openapi.vfs.VirtualFile; <del>import com.intellij.openapi.roots.ProjectRootManager; <del...
JavaScript
mit
654810447c4be870a2e04d80517b780c15da5f09
0
DemocracyOS/app,DemocracyOS/app
import React, { Component } from 'react' import t from 't-component' import { Link } from 'react-router' import topicStore from 'lib/stores/topic-store/topic-store' import userConnector from 'lib/site/connectors/user' export class Poll extends Component { constructor (props) { super(props) this.state = { ...
lib/site/topic-layout/topic-article/poll/component.js
import React, { Component } from 'react' import t from 't-component' import { Link } from 'react-router' import topicStore from 'lib/stores/topic-store/topic-store' import userConnector from 'lib/site/connectors/user' export class Poll extends Component { constructor (props) { super(props) this.state = { ...
fix poll ownVote rendering
lib/site/topic-layout/topic-article/poll/component.js
fix poll ownVote rendering
<ide><path>ib/site/topic-layout/topic-article/poll/component.js <ide> }) <ide> } <ide> <add> componentWillMount () { <add> this.setStateFromProps(this.props) <add> } <add> <ide> componentWillReceiveProps (props) { <del> if (props.topic.closed) { <del> return this.setState((props, state) => ({ sh...
JavaScript
mit
ecc7d72567a3edea5c9e50b3ccbfa520c317b90e
0
DemocracyEarth/sovereign,DemocracyEarth/sovereign,DemocracyEarth/sovereign
import { Template } from 'meteor/templating'; import { TAPi18n } from 'meteor/tap:i18n'; import { ReactiveVar } from 'meteor/reactive-var'; import { Session } from 'meteor/session'; import { Meteor } from 'meteor/meteor'; import { getVotes } from '/imports/api/transactions/transaction'; import { timeCompressed } from ...
imports/ui/templates/widgets/transaction/transaction.js
import { Template } from 'meteor/templating'; import { TAPi18n } from 'meteor/tap:i18n'; import { ReactiveVar } from 'meteor/reactive-var'; import { Session } from 'meteor/session'; import { Meteor } from 'meteor/meteor'; import { getVotes } from '/imports/api/transactions/transaction'; import { timeCompressed } from ...
shortens collective name
imports/ui/templates/widgets/transaction/transaction.js
shortens collective name
<ide><path>mports/ui/templates/widgets/transaction/transaction.js <ide> return Meteor.settings.public.Collective.profile.logo; <ide> }, <ide> name() { <add> let chars = 30; <add> if (Meteor.Device.isPhone()) { <add> chars = 15; <add> } <add> if (Meteor.settings.public.Collective.name.length > c...
Java
apache-2.0
1bc7e18eb54aa4a176401a93f820446a8c21cb3b
0
apache/incubator-freemarker,pradeepmurugesan/incubator-freemarker,pradeepmurugesan/incubator-freemarker,awils18/incubator-freemarker,woonsan/incubator-freemarker,awils18/incubator-freemarker,woonsan/incubator-freemarker,apache/incubator-freemarker
/* * Copyright 2014 Attila Szegedi, Daniel Dekany, Jonathan Revusky * * 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 requi...
src/test/java/freemarker/core/ListValidationsTest.java
/* * Copyright 2014 Attila Szegedi, Daniel Dekany, Jonathan Revusky * * 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 requi...
(Some more loop variable built-in parsing tests.)
src/test/java/freemarker/core/ListValidationsTest.java
(Some more loop variable built-in parsing tests.)
<ide><path>rc/test/java/freemarker/core/ListValidationsTest.java <ide> "?index", "foo", "no loop variable"); <ide> assertErrorContains("<#list foos as foo></#list>${foo?index}", <ide> "?index", "foo" , "no loop variable"); <add> assertErrorContains("<#list foos as foo><#ma...
Java
agpl-3.0
a687c4030813702267107b677349e010b6230b57
0
MarkehMe/FactionsPlus
package markehme.factionsplus; import java.io.IOException; import java.util.Set; import java.util.logging.Logger; import markehme.factionsplus.config.Config; import markehme.factionsplus.extras.LWCBase; import markehme.factionsplus.extras.LWCFunctions; import markehme.factionsplus.extras.Metrics; import markehme.fact...
src/markehme/factionsplus/FactionsPlus.java
package markehme.factionsplus; import java.io.IOException; import java.util.Set; import java.util.logging.Logger; import markehme.factionsplus.config.Config; import markehme.factionsplus.extras.LWCBase; import markehme.factionsplus.extras.LWCFunctions; import markehme.factionsplus.extras.Metrics; import markehme.fact...
Sorting scoreboard disable issues, and cleaning up
src/markehme/factionsplus/FactionsPlus.java
Sorting scoreboard disable issues, and cleaning up
<ide><path>rc/markehme/factionsplus/FactionsPlus.java <ide> info( "Metrics could not start up: "+e.getMessage() ); <ide> <ide> } <del> <add> <ide> } catch (Throwable t) { <ide> FactionsPlus.severe( t ); <ide> if ( isEnabled() ) { <ide> <ide> try { <ide> try { <del> Essentia...
Java
mit
e607bb7ad23db6c05c6350290c67762f654fd0b3
0
aaberg/sql2o,dheerajarora/sql2o,minecrafter/sql2o,trfiladelfo/sql2o,indvd00m/sql2o,xaled/sql2o,mugizico/sql2o
package org.sql2o.data; import org.sql2o.Sql2oException; import org.sql2o.converters.*; import org.sql2o.quirks.Quirks; import java.math.BigDecimal; import java.util.*; import static java.util.Arrays.asList; import static org.sql2o.converters.Convert.throwIfNull; /** * Represents a result set row. */ @SuppressWar...
core/src/main/java/org/sql2o/data/Row.java
package org.sql2o.data; import org.sql2o.Sql2oException; import org.sql2o.converters.*; import org.sql2o.quirks.Quirks; import java.math.BigDecimal; import java.util.*; import static org.sql2o.converters.Convert.throwIfNull; /** * Represents a result set row. */ public class Row { private Map<Integer, Ob...
tables and rows now use same infrastructure
core/src/main/java/org/sql2o/data/Row.java
tables and rows now use same infrastructure
<ide><path>ore/src/main/java/org/sql2o/data/Row.java <ide> import java.math.BigDecimal; <ide> import java.util.*; <ide> <add>import static java.util.Arrays.asList; <ide> import static org.sql2o.converters.Convert.throwIfNull; <ide> <ide> /** <ide> * Represents a result set row. <ide> */ <add>@SuppressWarnings({"Unu...
Java
apache-2.0
5be467bc1d6b3379734e2a6f55555c11c0deb53a
0
foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2
/** * @license * Copyright 2018 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ package foam.nanos.http; import foam.core.ClassInfo; import foam.core.ProxyX; import foam.core.EmptyX; import foam.core.X; import foam.lib.parse.ErrorReportingPStream; import foam.lib.parse.PStre...
src/foam/nanos/http/WebAgentQueryParser.java
/** * @license * Copyright 2018 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ package foam.nanos.http; import foam.core.ClassInfo; import foam.core.ProxyX; import foam.core.EmptyX; import foam.core.X; import foam.lib.parse.ErrorReportingPStream; import foam.lib.parse.PStre...
Fix error reporting in WebAgentQueryParser.
src/foam/nanos/http/WebAgentQueryParser.java
Fix error reporting in WebAgentQueryParser.
<ide><path>rc/foam/nanos/http/WebAgentQueryParser.java <ide> throws IllegalArgumentException { <ide> <ide> if ( ! SafetyUtil.isEmpty(q) ) { <del> Logger logger = (Logger) x.get("logger"); <del> logger.debug(this.getClass().getSimpleName(), "q", q); <del> StringPStream sps = new StringPStream(); ...
Java
mit
error: pathspec 'Weather.java' did not match any file(s) known to git
4503bd0936d6b775da44845170127c3b4103cc7c
1
code-for-coffee/AndroidSnippets
public class Weather { public final String DAY_OF_WEEK; public final String MIN_TEMP; public final String MAX_TEMP; public final String HUMIDITY; public final String DESCRIPTION; public final String ICON_URL; private static String convertTimeStampToDay(long timeStamp) { Calendar ca...
Weather.java
weather model for openweathermap.org
Weather.java
weather model for openweathermap.org
<ide><path>eather.java <add>public class Weather { <add> <add> public final String DAY_OF_WEEK; <add> public final String MIN_TEMP; <add> public final String MAX_TEMP; <add> public final String HUMIDITY; <add> public final String DESCRIPTION; <add> public final String ICON_URL; <add> <add> private ...
Java
apache-2.0
3259ddd877a527ecd739e640924078687470ce41
0
thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck
package org.ensembl.healthcheck.eg_gui; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.StringSelection; import java.awt.event.ActionEvent; import java.awt.event.Actio...
src/org/ensembl/healthcheck/eg_gui/GuiReporterTab.java
package org.ensembl.healthcheck.eg_gui; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Font; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.StringSelection; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt....
Finally found the reason why the divider in the GuiReportPanel couldn't be moved to the right. Fixed this.
src/org/ensembl/healthcheck/eg_gui/GuiReporterTab.java
Finally found the reason why the divider in the GuiReportPanel couldn't be moved to the right. Fixed this.
<ide><path>rc/org/ensembl/healthcheck/eg_gui/GuiReporterTab.java <ide> <ide> import java.awt.BorderLayout; <ide> import java.awt.Component; <add>import java.awt.Dimension; <ide> import java.awt.Font; <ide> import java.awt.Toolkit; <ide> import java.awt.datatransfer.Clipboard; <ide> import java.awt.datatransfer.StringS...
JavaScript
mit
334d9de1a2ccb254cffd059cc850f390d0541359
0
maltempi/extjs-action-column-row-editing
Ext.define('Ext.grid.plugin.RowEditingCustom', { extend: 'Ext.grid.plugin.RowEditing', alias: 'plugin.roweditingCustom', /** * Property * It hides the default action buttons * default: true */ hiddenButtons: true, /** * Property: * It adds a button in a extra action c...
ux/RowEditingCustom.js
Ext.define('Ext.grid.plugin.RowEditingCustom', { extend: 'Ext.grid.plugin.RowEditing', alias: 'plugin.roweditingCustom', /** * Property * It hides the default action buttons * default: true */ hiddenButtons: true, /** * Property: * It adds a button in a extra action c...
Adding some customizations
ux/RowEditingCustom.js
Adding some customizations
<ide><path>x/RowEditingCustom.js <ide> saveButton: true, <ide> <ide> /** <add> * Save button icon class <add> * <add> * Accepts: string <add> * default: 'x-fa fa-check' <add> */ <add> saveButtonIconCls: 'x-fa fa-check', <add> <add> /** <add> * Save button tool tip <add> * <a...
Java
apache-2.0
baaf5c338af65da80a85cd8670faadc10caa2836
0
brandt/GridSphere,brandt/GridSphere
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id$ */ package org.gridlab.gridsphere.layout; import org.gridlab.gridsphere.event.WindowEvent; import org.gridlab.gridsphere.event.impl.WindowEventImpl; import org.gridlab.gridsphere.layout.event.PortletTitleBarEvent; import org.gridlab....
src/org/gridlab/gridsphere/layout/PortletTitleBar.java
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id$ */ package org.gridlab.gridsphere.layout; import org.gridlab.gridsphere.event.WindowEvent; import org.gridlab.gridsphere.event.impl.WindowEventImpl; import org.gridlab.gridsphere.layout.event.PortletTitleBarEvent; import org.gridlab....
*** empty log message *** git-svn-id: 616481d960d639df1c769687dde8737486ca2a9a@1171 9c99c85f-4d0c-0410-8460-a9a1c48a3a7f
src/org/gridlab/gridsphere/layout/PortletTitleBar.java
*** empty log message ***
<ide><path>rc/org/gridlab/gridsphere/layout/PortletTitleBar.java <ide> PortletResponse res = event.getPortletResponse(); <ide> <ide> portletModes = new String[supportedModes.size()]; <del> for (int i = 0; i < supportedModes.size(); i++) { <add> for (i = 0; i < supportedModes.size(); i++) ...
Java
bsd-2-clause
36dca0346dad07d30b1864ae6cd74fdc04d83cd4
0
TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
core/io/src/main/java/imagej/io/dnd/ImageFileDragAndDropHandler.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
ImageFileDragAndDropHandler: make low priority Otherwise, with the current SNAPSHOT version of SCIFIO, the PGM reader claims it can handle LUT files (and then subsequently barfs when trying to actually read the file), so the LUTFileDragAndDropHandler never gets its chance to shine. Hopefully this will be resolved wit...
core/io/src/main/java/imagej/io/dnd/ImageFileDragAndDropHandler.java
ImageFileDragAndDropHandler: make low priority
<ide><path>ore/io/src/main/java/imagej/io/dnd/ImageFileDragAndDropHandler.java <ide> import net.imglib2.exception.IncompatibleTypeException; <ide> import net.imglib2.io.ImgIOException; <ide> <add>import org.scijava.Priority; <ide> import org.scijava.log.LogService; <ide> import org.scijava.plugin.Plugin; <ide> <ide> ...
Java
mit
30cd42f13dc70dae65ff218f4b9b1ff85e6f9b5d
0
CMPUT301F17T11/CupOfJava
/* HabitEvent * * Version 1.0 * * November 13, 2017 * * Copyright (c) 2017 Cup Of Java. All rights reserved. */ package com.cmput301f17t11.cupofjava.Models; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import io.searchbox.annotations.JestId; /** * Handles all proper...
app/src/main/java/com/cmput301f17t11/cupofjava/Models/HabitEvent.java
/* HabitEvent * * Version 1.0 * * November 13, 2017 * * Copyright (c) 2017 Cup Of Java. All rights reserved. */ package com.cmput301f17t11.cupofjava.Models; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import io.searchbox.annotations.JestId; /** * Handles all proper...
minor adjustments
app/src/main/java/com/cmput301f17t11/cupofjava/Models/HabitEvent.java
minor adjustments
<ide><path>pp/src/main/java/com/cmput301f17t11/cupofjava/Models/HabitEvent.java <ide> <ide> private String userName; <ide> private Habit habit; <del> private String habitId; <del> <del> <del> private String habitTitle; <del> <del> public String getHabitId() { <del> return habitId; <del> } <d...
JavaScript
mit
9eb2aaaf8181743481bdce955ab3b5e9bbacac90
0
yungsters/react,facebook/react,yungsters/react,facebook/react,camsong/react,facebook/react,facebook/react,tomocchino/react,facebook/react,facebook/react,yungsters/react,tomocchino/react,tomocchino/react,camsong/react,camsong/react,tomocchino/react,tomocchino/react,tomocchino/react,camsong/react,yungsters/react,yungster...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import assign from 'object-assign'; import * as Scheduler from 'scheduler'; import ReactCurrentDispatcher from '../ReactCurrentDis...
packages/react/src/forks/ReactSharedInternals.umd.js
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import assign from 'object-assign'; import * as Scheduler from 'scheduler'; import ReactCurrentDispatcher from '../ReactCurrentDis...
Fixed ReactSharedInternals export in UMD bundle (#22117)
packages/react/src/forks/ReactSharedInternals.umd.js
Fixed ReactSharedInternals export in UMD bundle (#22117)
<ide><path>ackages/react/src/forks/ReactSharedInternals.umd.js <ide> import assign from 'object-assign'; <ide> import * as Scheduler from 'scheduler'; <ide> import ReactCurrentDispatcher from '../ReactCurrentDispatcher'; <add>import ReactCurrentActQueue from '../ReactCurrentActQueue'; <ide> import ReactCurrentOwner fro...
Java
apache-2.0
f1481c1dad0ddc1d4075bfa2871a5eab36530449
0
nasrallahmounir/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,trombonehero/Footlights
/* * Copyright 2011 Jonathan Anderson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Client/Bootstrap/src/main/java/me/footlights/boot/JARLoader.java
/* * Copyright 2011 Jonathan Anderson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Use SecurityException rather than Error. Why not be specific about the kind of problem we've encountered?
Client/Bootstrap/src/main/java/me/footlights/boot/JARLoader.java
Use SecurityException rather than Error.
<ide><path>lient/Bootstrap/src/main/java/me/footlights/boot/JARLoader.java <ide> <ide> /** Read a class' bytecode. */ <ide> public Bytecode readBytecode(String className) <del> throws ClassNotFoundException, IOException <add> throws ClassNotFoundException, IOException, SecurityException <ide> { <ide> final Stri...
Java
apache-2.0
fddf4bd31f1c2425185b9a2a7a8ced6cd3954585
0
youdonghai/intellij-community,semonte/intellij-community,ftomassetti/intellij-community,michaelgallacher/intellij-community,adedayo/intellij-community,retomerz/intellij-community,ibinti/intellij-community,TangHao1987/intellij-community,youdonghai/intellij-community,adedayo/intellij-community,allotria/intellij-community...
/* ========================================================================== * Copyright 2006 Mevenide Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
plugins/maven/src/main/java/org/jetbrains/idea/maven/execution/MavenExternalParameters.java
/* ========================================================================== * Copyright 2006 Mevenide Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
IDEA-123851 Link in Event Log seems to be not working correctly
plugins/maven/src/main/java/org/jetbrains/idea/maven/execution/MavenExternalParameters.java
IDEA-123851 Link in Event Log seems to be not working correctly
<ide><path>lugins/maven/src/main/java/org/jetbrains/idea/maven/execution/MavenExternalParameters.java <ide> import com.intellij.execution.configurations.ParametersList; <ide> import com.intellij.execution.impl.EditConfigurationsDialog; <ide> import com.intellij.execution.impl.RunManagerImpl; <add>import com.intellij.no...
Java
apache-2.0
de4b218bf4130111109d2b273e29df89ed69fd90
0
sdinot/hipparchus,Hipparchus-Math/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus,sdinot/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus,Hipparchus-Math/hipparchus
/* * Licensed to the Hipparchus project under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Hipparchus project licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
hipparchus-core/src/main/java/org/hipparchus/analysis/interpolation/GridAxis.java
/* * Licensed to the Hipparchus project under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Hipparchus project licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Fixed comments.
hipparchus-core/src/main/java/org/hipparchus/analysis/interpolation/GridAxis.java
Fixed comments.
<ide><path>ipparchus-core/src/main/java/org/hipparchus/analysis/interpolation/GridAxis.java <ide> final double aMid0 = grid[middle]; <ide> final double aMid1 = grid[middle + 1]; <ide> if (t < aMid0) { <del> // we are in the unbalanced low area <ide> if (middle == iInf) {...
Java
apache-2.0
337cc29de15f4d6aa51e04ca121956a9052a7b18
0
dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia
package org.wikipedia.search; import android.content.Context; import android.content.Intent; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import org.wikipedia.Constants.InvokeSource; import org.wikipedia.WikipediaApp; import org.wikipedia.activity.SingleFragmentActivity; import org.wikipe...
app/src/main/java/org/wikipedia/search/SearchActivity.java
package org.wikipedia.search; import android.content.Context; import android.content.Intent; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import org.wikipedia.Constants.InvokeSource; import org.wikipedia.WikipediaApp; import org.wikipedia.activity.SingleFragmentActivity; import org.wikipe...
Undo ordinal conversion, since this is now a static shortcut. Change-Id: Ia5275052e4dbeef4c9379e8ba103c08a095e9075
app/src/main/java/org/wikipedia/search/SearchActivity.java
Undo ordinal conversion, since this is now a static shortcut.
<ide><path>pp/src/main/java/org/wikipedia/search/SearchActivity.java <ide> new IntentFunnel(WikipediaApp.getInstance()).logSearchWidgetTap(); <ide> } <ide> <del> // We use the ordinal() for passing the INVOKE_SOURCE into the intent because this intent <del> // could be used as part of...
Java
apache-2.0
c7c03f2816355138ada8e26cbe7d7fee9d0e059e
0
antag99/artemis-odb,DaanVanYperen/artemis-odb,gjroelofs/artemis-odb,gjroelofs/artemis-odb,gjroelofs/artemis-odb,Namek/artemis-odb,snorrees/artemis-odb,snorrees/artemis-odb,antag99/artemis-odb
package com.artemis; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.BitSet; import java.util.UUID; import com.artemis.utils.Bag; /** * EntityManager. * * @author Arni Arent */ public class EntityManager extends Manager { /** Contains...
src/main/java/com/artemis/EntityManager.java
package com.artemis; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.BitSet; import java.util.UUID; import com.artemis.utils.Bag; /** * EntityManager. * * @author Arni Arent */ public class EntityManager extends Manager { /** Contains...
reset entity when inserting into the pool
src/main/java/com/artemis/EntityManager.java
reset entity when inserting into the pool
<ide><path>rc/main/java/com/artemis/EntityManager.java <ide> } <ide> <ide> void free(Entity e) { <add> e.reset(); <ide> recycled.add(e); <ide> } <ide>
Java
bsd-3-clause
a068dcbaced1233ec872d77c655b0985297ccc89
0
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
package org.hisp.dhis.android.core.program; import android.content.ContentValues; import android.database.MatrixCursor; import android.support.test.runner.AndroidJUnit4; import org.hisp.dhis.android.core.common.BaseIdentifiableObject; import org.hisp.dhis.android.core.program.ProgramContract.Columns; import org.junit...
core/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramModelIntegrationTest.java
package org.hisp.dhis.android.core.program; import android.content.ContentValues; import android.database.MatrixCursor; import android.support.test.runner.AndroidJUnit4; import org.hisp.dhis.android.core.common.BaseIdentifiableObject; import org.hisp.dhis.android.core.program.ProgramContract.Columns; import org.junit...
Added create Program method in ProgramModelintegrationTest.
core/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramModelIntegrationTest.java
Added create Program method in ProgramModelintegrationTest.
<ide><path>ore/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramModelIntegrationTest.java <ide> private static final Integer USE_FIRST_STAGE_DURING_REGISTRATION = 1; <ide> private static final Integer DISPLAY_FRONT_PAGE_LIST = 1; <ide> <del> //TODO : TEST custom Types: <ide> private static...
JavaScript
mit
12a82aecd4b72faac0774709a0b2c721be3d7621
0
Hydrock/pomodoro,Hydrock/pomodoro
import * as constants from '@src/constants.js' import * as Cookies from "js-cookie"; let period = Cookies.get('timerPeriod'); if (!period) { Cookies.set('timerPeriod', 25); period = 25; } let breakTime = Cookies.get('timerBreak'); if (!breakTime) { Cookies.set('timerBreak', 5); breakTime = 5; } let startStat...
src/reducers/timer.js
import * as constants from '@src/constants.js' let startState = { timerTime: 0, timerState: 'pause', // working, pause // It determines whether the countdown is in progress or not mode: constants.TIMER_MODE_POMODORO, //pomodoro, break // timer mode timerActivated: false, // Started timer or not period: 0.2, ...
add timer period and break perid cookies
src/reducers/timer.js
add timer period and break perid cookies
<ide><path>rc/reducers/timer.js <ide> import * as constants from '@src/constants.js' <add>import * as Cookies from "js-cookie"; <add> <add>let period = Cookies.get('timerPeriod'); <add>if (!period) { <add> Cookies.set('timerPeriod', 25); <add> period = 25; <add>} <add> <add>let breakTime = Cookies.get('timerBreak'); ...
Java
mit
d459990764651938ade16a2d19f316bf0dff18d0
0
fenfir/mtg-familiar,fenfir/mtg-familiar,fenfir/mtg-familiar
/** Copyright 2011 Adam Feinstein This file is part of MTG Familiar. MTG Familiar is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. M...
MTGFamiliar/src/main/java/com/gelakinetic/mtgfam/helpers/database/CardDbAdapter.java
/** Copyright 2011 Adam Feinstein This file is part of MTG Familiar. MTG Familiar is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. M...
Fixed bug that allows for scheme cards to appear in vintage and legacy Card Search results.
MTGFamiliar/src/main/java/com/gelakinetic/mtgfam/helpers/database/CardDbAdapter.java
Fixed bug that allows for scheme cards to appear in vintage and legacy Card Search results.
<ide><path>TGFamiliar/src/main/java/com/gelakinetic/mtgfam/helpers/database/CardDbAdapter.java <ide> " AND NOT " + DATABASE_TABLE_CARDS + "." + KEY_SET + " = 'UG'" + <ide> " AND " + DATABASE_TABLE_CARDS + "." + KEY_TYPE + " NOT LIKE 'Plane %'" + <ide> " AND " + DATABASE_TABLE_CARDS + "." + KEY_TYPE + ...
Java
apache-2.0
fbd76c73aef35b198c6beae89fc8ba0d7b9f29b3
0
wso2-extensions/identity-inbound-auth-oauth,chirankavinda123/identity-inbound-auth-oauth,darshanasbg/identity-inbound-auth-oauth,IsuraD/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-auth-oauth,darshanasbg/identity-inbound-auth-oauth,chirankavinda123/identity-inbound-auth-oauth,IsuraD/identity-inbound-aut...
/* * Copyright (c) 2013, 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/li...
components/org.wso2.carbon.identity.oauth.endpoint/src/main/java/org/wso2/carbon/identity/oauth/endpoint/user/impl/UserInforRequestDefaultValidator.java
/* * Copyright (c) 2013, 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/li...
Validate the post body for other request parameters
components/org.wso2.carbon.identity.oauth.endpoint/src/main/java/org/wso2/carbon/identity/oauth/endpoint/user/impl/UserInforRequestDefaultValidator.java
Validate the post body for other request parameters
<ide><path>omponents/org.wso2.carbon.identity.oauth.endpoint/src/main/java/org/wso2/carbon/identity/oauth/endpoint/user/impl/UserInforRequestDefaultValidator.java <ide> } <ide> String[] arrAccessToken = new String[2]; <ide> String requestBody = stringBuilder.toString(); <add> ...
JavaScript
agpl-3.0
e2e3c4c649d2a8b55afa187b0e703e9d6ffa2edb
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
99715dc8-2e64-11e5-9284-b827eb9e62be
helloWorld.js
996be1e0-2e64-11e5-9284-b827eb9e62be
99715dc8-2e64-11e5-9284-b827eb9e62be
helloWorld.js
99715dc8-2e64-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>996be1e0-2e64-11e5-9284-b827eb9e62be <add>99715dc8-2e64-11e5-9284-b827eb9e62be
Java
mit
f4390de550af7f46eebfc363709c1815377fe328
0
DAC-2014-Equipe-3/sujet-2
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.dac2014equipe3.sujet2.model.entity; import com.dac2014equipe3.sujet2.vo.RewardVo; import java.io.Serializable; import ja...
sujet2/src/main/java/com/dac2014equipe3/sujet2/model/entity/Reward.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.dac2014equipe3.sujet2.model.entity; import com.dac2014equipe3.sujet2.vo.RewardVo; import java.io.Serializable; import ja...
Correction reward entity
sujet2/src/main/java/com/dac2014equipe3/sujet2/model/entity/Reward.java
Correction reward entity
<ide><path>ujet2/src/main/java/com/dac2014equipe3/sujet2/model/entity/Reward.java <ide> private String rewardMinPrice; <ide> @OneToMany(cascade = CascadeType.ALL, mappedBy = "reward") <ide> private List<MemberbacksProject> memberbacksProjectList; <del> @JoinColumn(name = "Project_projectId", referencedCo...
Java
apache-2.0
d6fcfce39d9cf233118fb282a55b97a34a679d9c
0
alex-bl/ivyDEextension,alex-bl/ivyDEextension,apache/ant-ivyde,apache/ant-ivyde
/* * 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...
org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/RetrieveComposite.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...
Use english more than the french spell (thanks to Paul Newport to have spotted it) git-svn-id: 804c0f3032317a396a1b8894d1ed8cc0b56e9f1c@724692 13f79535-47bb-0310-9956-ffa450edef68
org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/RetrieveComposite.java
Use english more than the french spell (thanks to Paul Newport to have spotted it)
<ide><path>rg.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/RetrieveComposite.java <ide> <ide> public class RetrieveComposite extends Composite { <ide> <del> public static final String TOOLTIP_RETRIEVE_PATTERN = "Example: lib/[conf]/[artifact].[ext]\n" <add> public static final String TOOLTIP_RETRIE...
Java
agpl-3.0
d6871b8a57458004ede94635fbe3830cf1626250
0
PeterWithers/temp-to-delete1,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver,KinshipSoftware/KinOathKinshipArchiver
package nl.mpi.kinnate.ui.menu; import java.io.File; import javax.swing.JFileChooser; import javax.swing.filechooser.FileFilter; import nl.mpi.arbil.ui.ArbilWindowManager; import nl.mpi.kinnate.KinTermSavePanel; import nl.mpi.kinnate.SavePanel; import nl.mpi.kinnate.export.ExportToR; import nl.mpi.kinnate.transcoder.D...
desktop/src/main/java/nl/mpi/kinnate/ui/menu/FileMenu.java
package nl.mpi.kinnate.ui.menu; import java.io.File; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import javax.swing.filechooser.FileFilter; import nl.mpi.arbil.ui.ArbilWindowManager; import nl.mpi.kinnate.KinTermSavePanel; import nl.mpi.kinnate.SavePanel; import nl.mpi.kinnate.export.ExportToR; im...
Added import of csv and gedcom via a file select action.
desktop/src/main/java/nl/mpi/kinnate/ui/menu/FileMenu.java
Added import of csv and gedcom via a file select action.
<ide><path>esktop/src/main/java/nl/mpi/kinnate/ui/menu/FileMenu.java <ide> <ide> import java.io.File; <ide> import javax.swing.JFileChooser; <del>import javax.swing.JOptionPane; <ide> import javax.swing.filechooser.FileFilter; <ide> import nl.mpi.arbil.ui.ArbilWindowManager; <ide> import nl.mpi.kinnate.KinTermSavePane...
Java
lgpl-2.1
916781aa3179e889adf5a3c2ea76dfeff9ec8870
0
mbenz89/soot,cfallin/soot,plast-lab/soot,xph906/SootNew,xph906/SootNew,anddann/soot,cfallin/soot,mbenz89/soot,anddann/soot,mbenz89/soot,cfallin/soot,plast-lab/soot,xph906/SootNew,mbenz89/soot,anddann/soot,xph906/SootNew,anddann/soot,plast-lab/soot,cfallin/soot
package soot.jimple.toolkits.thread.transaction; import java.util.*; import soot.*; import soot.util.Chain; import soot.jimple.*; import soot.jimple.toolkits.callgraph.CallGraph; import soot.toolkits.scalar.*; public class TransactionBodyTransformer extends BodyTransformer { private static TransactionBodyTransfor...
src/soot/jimple/toolkits/thread/transaction/TransactionBodyTransformer.java
package soot.jimple.toolkits.thread.transaction; import java.util.*; import soot.*; import soot.util.Chain; import soot.jimple.*; import soot.jimple.toolkits.callgraph.CallGraph; import soot.toolkits.scalar.*; public class TransactionBodyTransformer extends BodyTransformer { private static TransactionBodyTransfor...
Transactional Transformer: Improvements to lock insertion.
src/soot/jimple/toolkits/thread/transaction/TransactionBodyTransformer.java
Transactional Transformer: Improvements to lock insertion.
<ide><path>rc/soot/jimple/toolkits/thread/transaction/TransactionBodyTransformer.java <ide> } <ide> else if( tn.group.useLocksets ) <ide> { <del> Value lock = (Value) tn.lockset.get(lockNum); <add> Value lock = getLockFor((EquivalentValue) tn.lockset.get(lockNum)); // adds local vars and global obje...
Java
apache-2.0
6b57699c6ef92a085b41bdda75b06aea6e5c3c4e
0
johnnywale/compass,johnnywale/compass,johnnywale/compass,kimchy/compass,kimchy/compass
/* * Copyright 2004-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
src/main/test/org/compass/gps/device/jdbc/TableJdbcGpsDeviceTests.java
/* * Copyright 2004-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
fix test
src/main/test/org/compass/gps/device/jdbc/TableJdbcGpsDeviceTests.java
fix test
<ide><path>rc/main/test/org/compass/gps/device/jdbc/TableJdbcGpsDeviceTests.java <ide> import org.compass.core.Resource; <ide> import org.compass.core.config.CompassConfiguration; <ide> import org.compass.core.config.CompassEnvironment; <del>import org.compass.core.util.FileHandlerMonitor; <ide> import org.compass.gps....
Java
apache-2.0
c80041463e55c786b2116524ade355d9830d84ff
0
sonatype/sisu-guice,sonatype/sisu-guice
/** * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
extensions/servlet/src/com/google/inject/servlet/AbstractFilterPipeline.java
/** * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Experiment with making guice-servlet more adaptable
extensions/servlet/src/com/google/inject/servlet/AbstractFilterPipeline.java
Experiment with making guice-servlet more adaptable
<ide><path>xtensions/servlet/src/com/google/inject/servlet/AbstractFilterPipeline.java <ide> * <ide> * @author dhanji@gmail.com (Dhanji R. Prasanna) <ide> */ <del>public abstract class AbstractFilterPipeline implements FilterPipeline{ <add>public abstract class AbstractFilterPipeline implements FilterPipeline { <ide...
Java
apache-2.0
32da3290259b504ab032b2c9ee526e4921908985
0
sktoo/timetabling-system-,UniTime/unitime,rafati/unitime,sktoo/timetabling-system-,zuzanamullerova/unitime,UniTime/unitime,nikeshmhr/unitime,maciej-zygmunt/unitime,nikeshmhr/unitime,zuzanamullerova/unitime,maciej-zygmunt/unitime,nikeshmhr/unitime,maciej-zygmunt/unitime,zuzanamullerova/unitime,rafati/unitime,sktoo/timet...
/* * UniTime 3.1 (University Course Timetabling & Student Sectioning Application) * Copyright (C) 2008, UniTime.org * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of ...
JavaSource/org/unitime/timetable/model/Event.java
/* * UniTime 3.1 (University Course Timetabling & Student Sectioning Application) * Copyright (C) 2008, UniTime.org * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of ...
Added methods compareTo (not yet used) and findAll (currently used in Events)
JavaSource/org/unitime/timetable/model/Event.java
Added methods compareTo (not yet used) and findAll (currently used in Events)
<ide><path>avaSource/org/unitime/timetable/model/Event.java <ide> <ide> import org.unitime.timetable.model.base.BaseEvent; <ide> import org.unitime.timetable.model.dao.EventDAO; <del>import org.unitime.timetable.util.Constants; <del> <ide> <ide> <ide> public class Event extends BaseEvent { <ide> return (this.getEv...
Java
lgpl-2.1
867d428d019c4d14dd972e9e85fc39fff226d685
0
godbyk/vrjuggler-upstream-old,godbyk/vrjuggler-upstream-old,MichaelMcDonnell/vrjuggler,vrjuggler/vrjuggler,LiuKeHua/vrjuggler,godbyk/vrjuggler-upstream-old,vrjuggler/vrjuggler,vrjuggler/vrjuggler,MichaelMcDonnell/vrjuggler,vrjuggler/vrjuggler,LiuKeHua/vrjuggler,godbyk/vrjuggler-upstream-old,vancegroup-mirrors/vrjuggler...
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2005 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is free soft...
modules/jackal/editors/org/vrjuggler/jccl/editors/ElementTree.java
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2005 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is free soft...
Copied comments in from ConfigContextEditor.removeAction(). git-svn-id: 769d22dfa2d22aad706b9a451492fb87c0735f19@16794 08b38cba-cd3b-11de-854e-f91c5b6e4272
modules/jackal/editors/org/vrjuggler/jccl/editors/ElementTree.java
Copied comments in from ConfigContextEditor.removeAction().
<ide><path>odules/jackal/editors/org/vrjuggler/jccl/editors/ElementTree.java <ide> <ide> DefaultMutableTreeNode cur_node; <ide> <add> // The last node in the path is the config element that the <add> // user wants to remove. We do not have to test the type <add> ...
Java
apache-2.0
6721e5363066371adbf17f133850efd06c996804
0
JBYoshi/BlockDodge
package jbyoshi.blockdodge.core; import java.awt.*; import java.awt.event.*; public final class PlayerDodgeShape extends DodgeShape implements KeyListener { private static final Color COLOR = Color.WHITE; private static final int SIZE = 32; private boolean up, down, left, right; public PlayerDodgeShape(BlockDodg...
src/main/java/jbyoshi/blockdodge/core/PlayerDodgeShape.java
package jbyoshi.blockdodge.core; import java.awt.*; import java.awt.event.*; public final class PlayerDodgeShape extends DodgeShape implements KeyListener { private static final Color COLOR = Color.WHITE; private static final int SIZE = 32; private boolean up, down, left, right; public PlayerDodgeShape(BlockDodg...
Slow the per-axis motion down if they're moving on both axes.
src/main/java/jbyoshi/blockdodge/core/PlayerDodgeShape.java
Slow the per-axis motion down if they're moving on both axes.
<ide><path>rc/main/java/jbyoshi/blockdodge/core/PlayerDodgeShape.java <ide> <ide> @Override <ide> public void move() { <del> if (left && getX() > 0) { <del> setX(getX() - 1); <add> double move = left != right && up != down ? 0.5 : 1; <add> if (left && getX() >= move) { <add> setX(getX() - move); <ide> } <de...
JavaScript
mpl-2.0
2dfc173e1c3326b79540731bccf227aff90a7a56
0
djmitche/taskcluster-hooks
var base = require('taskcluster-base'); var debug = require('debug')('hooks:data'); var assert = require('assert'); var Promise = require('promise'); var taskcluster = require('taskcluster-client'); var _ = require('lodash'); /** Entity for tracking hooks and associated state **/ var Ho...
hooks/data.js
var base = require('taskcluster-base'); var debug = require('debug')('hooks:data'); var assert = require('assert'); var Promise = require('promise'); var taskcluster = require('taskcluster-client'); var _ = require('lodash'); /** Entity for tracking hooks and associated state **/ var Ho...
comments
hooks/data.js
comments
<ide><path>ooks/data.js <ide> groupId: base.Entity.types.String, <ide> hookId: base.Entity.types.String, <ide> metadata: base.Entity.types.JSON, <add> // task template <ide> task: base.Entity.types.JSON, <add> // pulse bindings <ide> bindings: ...
Java
mit
44756af19c0358ae142f14a6bf474e8b2a13f803
0
wellenvogel/avnav,wellenvogel/avnav,wellenvogel/avnav,wellenvogel/avnav,wellenvogel/avnav,wellenvogel/avnav,wellenvogel/avnav,wellenvogel/avnav,wellenvogel/avnav
package de.wellenvogel.avnav.appapi; import android.content.SharedPreferences; import android.location.Location; import android.net.Uri; import android.view.View; import android.webkit.MimeTypeMap; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.ByteArrayInputStre...
android/src/main/java/de/wellenvogel/avnav/appapi/RequestHandler.java
package de.wellenvogel.avnav.appapi; import android.content.SharedPreferences; import android.location.Location; import android.net.Uri; import android.view.View; import android.webkit.MimeTypeMap; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.ByteArrayInputStre...
relocate overlay dir on android
android/src/main/java/de/wellenvogel/avnav/appapi/RequestHandler.java
relocate overlay dir on android
<ide><path>ndroid/src/main/java/de/wellenvogel/avnav/appapi/RequestHandler.java <ide> new KeyValue<File>(TYPE_LAYOUT,new File("layout")), <ide> new KeyValue<File>(TYPE_USER,new File(new File("user"),"viewer")), <ide> new KeyValue<File>(TYPE_IMAGE,new File(new File("user"),"images")),...
Java
apache-2.0
153ec5b9ee2416c7d52c388dc9163f1fc13f2da3
0
eayun/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engin...
package org.ovirt.engine.core.common.action; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.validation.Valid; import org.ovirt.engine.core.common.businessentities.network.Bond; import org.ovirt.engine.core.common.businessentities.network.NetworkAttachm...
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/HostSetupNetworksParameters.java
package org.ovirt.engine.core.common.action; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.ovirt.engine.core.common.businessentities.network.Bond; import org.ovirt.engine.core.common.businessentities.network.NetworkAttachment; import org.ovirt.engine.cor...
engine: Adding labels and removdLabels to HostSetupNetworksParameters Change-Id: I6477ad6cab342b2fd0ed40de53509bd31f789356 Signed-off-by: Alona Kaplan <9ea2f88c7fe7e68aa51858b03e0d548211901b83@redhat.com>
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/HostSetupNetworksParameters.java
engine: Adding labels and removdLabels to HostSetupNetworksParameters
<ide><path>ackend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/HostSetupNetworksParameters.java <ide> import java.util.List; <ide> import java.util.Set; <ide> <add>import javax.validation.Valid; <add> <ide> import org.ovirt.engine.core.common.businessentities.network.Bond; <ide> import org....
Java
apache-2.0
36726b1fc9292a610a9ac83dcc14d194714db5fc
0
Wick3r/WikiN-G-ER
package data.control; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.Properties; import javax.xml.parsers.*; import org.xml.sax.*; import org.w3c.dom.*; import java.io.*; import edu.stanford.nlp.ie.AbstractSequenceClassifier; import edu.stanford...
Wikinger/src/data/control/StanfordNER.java
package data.control; import java.io.IOException; import java.util.ArrayList; import javax.swing.text.Document; import javax.xml.bind.JAXBException; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.xp...
Xml Parsen geht
Wikinger/src/data/control/StanfordNER.java
Xml Parsen geht
<ide><path>ikinger/src/data/control/StanfordNER.java <ide> package data.control; <ide> <ide> import java.io.IOException; <add>import java.io.StringReader; <ide> import java.util.ArrayList; <add>import java.util.Properties; <ide> <del>import javax.swing.text.Document; <del>import javax.xml.bind.JAXBException; <del>imp...