lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
JavaScript
apache-2.0
30ea7fa079d6370236fc26baf8bf1142548a9400
0
piskelapp/piskel,juliandescottes/piskel,GMartigny/piskel,piskelapp/piskel,GMartigny/piskel,piskelapp/piskel,juliandescottes/piskel,juliandescottes/piskel,GMartigny/piskel
(function () { var ns = $.namespace('pskl.database'); var DB_NAME = 'PiskelDatabase'; var DB_VERSION = 1; // Simple wrapper to promisify a request. var _requestPromise = function (req) { var deferred = Q.defer(); req.onsuccess = deferred.resolve.bind(deferred); req.onerror = deferred.reject.bind...
src/js/database/PiskelDatabase.js
(function () { var ns = $.namespace('pskl.database'); var DB_NAME = 'PiskelDatabase'; var DB_VERSION = 1; // Simple wrapper to promisify a request. var _requestPromise = function (req) { var deferred = Q.defer(); req.onsuccess = deferred.resolve.bind(deferred); req.onerror = deferred.reject.bind...
fix migration script for localstorage to indexeddb
src/js/database/PiskelDatabase.js
fix migration script for localstorage to indexeddb
<ide><path>rc/js/database/PiskelDatabase.js <ide> // Create an object store "piskels" with the autoIncrement flag set as true. <ide> var objectStore = this.db.createObjectStore('piskels', { keyPath : 'name' }); <ide> objectStore.transaction.oncomplete = function(event) { <del> pskl.database.migrate.Mig...
JavaScript
mit
7e7e432828287912a87e57b5fd4f3b21793f3813
0
juchi/gameboy.js
var Processor = function() { this.INTERRUPTS = { TIMER: 2 }; this.interruptRoutines = { 2: timerInterrupt }; var proc = this; function timerInterrupt() { console.log('timer'); proc.memory[0xFF42]++; } this.r = {A:0, F: 0, B:0, C:0, D:0, E:0, H:0, L:0, p...
js/processor.js
var Processor = function() { this.INTERRUPTS = { TIMER: 2 }; this.interruptRoutines = { 2: timerInterrupt }; var proc = this; function timerInterrupt() { console.log('timer'); proc.memory[0xFF42]++; } this.r = {A:0, F: 0, B:0, C:0, D:0, E:0, H:0, L:0, p...
new instructions
js/processor.js
new instructions
<ide><path>s/processor.js <ide> 0x07: function(p){p.r.F=0;var out=p.r.A & 0x80?1:0; out ? p.r.F|=0x10:p.r.F&=0xEF; p.r.A=((p.r.A<<1)+out)&0xFF;p.clock.c+=4;}, <ide> //0x08: function(p){}, <ide> //0x09: function(p){}, <del> //0x0A: function(p){}, <add> 0x0A: function(p){ops.LDrrra(p, 'A', 'B', 'C');}, ...
JavaScript
mit
224309a4c7fd236c5e6324c24964707992b79080
0
kuldipem/fabric.js,kuldipem/fabric.js
(function(global) { 'use strict'; var extend = fabric.util.object.extend; if (!global.fabric) { global.fabric = { }; } if (global.fabric.Image) { fabric.warn('fabric.Image is already defined.'); return; } var stateProperties = fabric.Object.prototype.stateProperties.concat(); statePrope...
src/shapes/image.class.js
(function(global) { 'use strict'; var extend = fabric.util.object.extend; if (!global.fabric) { global.fabric = { }; } if (global.fabric.Image) { fabric.warn('fabric.Image is already defined.'); return; } var stateProperties = fabric.Object.prototype.stateProperties.concat(); statePrope...
fix src to svg (#3310)
src/shapes/image.class.js
fix src to svg (#3310)
<ide><path>rc/shapes/image.class.js <ide> */ <ide> toSVG: function(reviver) { <ide> var markup = this._createBaseSVGMarkup(), x = -this.width / 2, y = -this.height / 2, <del> preserveAspectRatio = 'none'; <add> preserveAspectRatio = 'none', filtered = true; <ide> if (this.group &&...
Java
mit
a8025e636e3a79a207e35763d3eb18608259c40e
0
njmube/OpERP,DevOpsDistilled/OpERP
package devopsdistilled.operp.client.commons.panes; import java.awt.event.FocusAdapter; import java.awt.event.FocusEvent; import javax.swing.JComponent; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import net.miginfocom.swing.MigLayout; import devopsdistilled.operp.client.abst...
OpERP/src/main/java/devopsdistilled/operp/client/commons/panes/ContactInfoPane.java
package devopsdistilled.operp.client.commons.panes; import java.awt.event.FocusAdapter; import java.awt.event.FocusEvent; import javax.swing.JComponent; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import net.miginfocom.swing.MigLayout; import devopsdistilled.operp.client.abst...
Impl resetComponents()
OpERP/src/main/java/devopsdistilled/operp/client/commons/panes/ContactInfoPane.java
Impl resetComponents()
<ide><path>pERP/src/main/java/devopsdistilled/operp/client/commons/panes/ContactInfoPane.java <ide> }); <ide> pane.add(homeNumField, "cell 1 8,growx"); <ide> homeNumField.setColumns(10); <add> <add> resetComponents(); <ide> } <ide> <ide> @Override <ide> mobileNumField.setText(contactInfo.getPhoneNumbers().g...
JavaScript
mit
ba2f1d3e6c4cfa2950c60266a9e0b05fed88bf4b
0
sualko/strophe.jingle,sualko/strophe.jingle,fippo/strophe.jingle,ESTOS/strophe.jingle,fippo/strophe.jingle,bluecitymoon/strophe.jingle,ESTOS/strophe.jingle
// SDP STUFF function SDP(sdp) { this.media = sdp.split('\r\nm='); for (var i = 1; i < this.media.length; i++) { this.media[i] = 'm=' + this.media[i]; if (i != this.media.length - 1) { this.media[i] += '\r\n'; } } this.session = this.media.shift() + '\r\n'; this.r...
strophe.jingle.sdp.js
// SDP STUFF function SDP(sdp) { this.media = sdp.split('\r\nm='); for (var i = 1; i < this.media.length; i++) { this.media[i] = 'm=' + this.media[i]; if (i != this.media.length - 1) { this.media[i] += '\r\n'; } } this.session = this.media.shift() + '\r\n'; this.r...
add ssrc to ssrc element as well for easy interop with stanzaio
strophe.jingle.sdp.js
add ssrc to ssrc element as well for easy interop with stanzaio
<ide><path>trophe.jingle.sdp.js <ide> } <ide> <ide> if (ssrc) { <del> elem.c('ssrc', SDPUtil.parse_ssrc(this.media[i])).up(); // ssrc is part of description <add> tmp = SDPUtil.parse_ssrc(this.media[i]); <add> tmp.ssrc = ssrc; <add> el...
Java
lgpl-2.1
064c2cb1ec970a9c3d8fcba05d15262a4bdcb3bb
0
JiriOndrusek/wildfly-core,jfdenise/wildfly-core,bstansberry/wildfly-core,JiriOndrusek/wildfly-core,ivassile/wildfly-core,jamezp/wildfly-core,jfdenise/wildfly-core,JiriOndrusek/wildfly-core,ivassile/wildfly-core,aloubyansky/wildfly-core,yersan/wildfly-core,aloubyansky/wildfly-core,luck3y/wildfly-core,soul2zimate/wildfly...
/* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
controller/src/main/java/org/jboss/as/controller/SimpleAttributeDefinitionBuilder.java
/* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
Fix the appclient interface add operation params Do some housekeeping on the flags was: 9f6b5fcab2475110e437bb7f00382c907bc06fdb
controller/src/main/java/org/jboss/as/controller/SimpleAttributeDefinitionBuilder.java
Fix the appclient interface add operation params Do some housekeeping on the flags
<ide><path>ontroller/src/main/java/org/jboss/as/controller/SimpleAttributeDefinitionBuilder.java <ide> * @author Brian Stansberry (c) 2011 Red Hat Inc. <ide> */ <ide> public class SimpleAttributeDefinitionBuilder { <add> <add> public static SimpleAttributeDefinitionBuilder create(final String name, final ModelType...
JavaScript
agpl-3.0
3533feab75b3038158ce6798f20b4be0aa211d32
0
anom0ly/WoWAnalyzer,ronaldpereira/WoWAnalyzer,Juko8/WoWAnalyzer,yajinni/WoWAnalyzer,Juko8/WoWAnalyzer,anom0ly/WoWAnalyzer,anom0ly/WoWAnalyzer,Juko8/WoWAnalyzer,sMteX/WoWAnalyzer,yajinni/WoWAnalyzer,WoWAnalyzer/WoWAnalyzer,anom0ly/WoWAnalyzer,sMteX/WoWAnalyzer,sMteX/WoWAnalyzer,ronaldpereira/WoWAnalyzer,WoWAnalyzer/WoWA...
import React from 'react'; import SPELLS from 'common/SPELLS/index'; import { formatNumber, formatDuration } from 'common/format'; import { calculatePrimaryStat } from 'common/stats'; import SpellLink from 'common/SpellLink'; import StatIcon from 'interface/icons/PrimaryStat'; import ItemHealingDone from 'interface/o...
src/parser/shared/modules/spells/bfa/essences/TheEverRisingTide.js
import React from 'react'; import SPELLS from 'common/SPELLS/index'; import { formatNumber, formatDuration } from 'common/format'; import { calculatePrimaryStat } from 'common/stats'; import SpellLink from 'common/SpellLink'; import StatIcon from 'interface/icons/PrimaryStat'; import ItemHealingDone from 'interface/o...
fix 0 stacks shown if the fight ends before the buff
src/parser/shared/modules/spells/bfa/essences/TheEverRisingTide.js
fix 0 stacks shown if the fight ends before the buff
<ide><path>rc/parser/shared/modules/spells/bfa/essences/TheEverRisingTide.js <ide> this.addEventListener(Events.applybuffstack.by(SELECTED_PLAYER).spell(SPELLS.EVER_RISING_TIDE_HEALING_BUFF), this._applyBuff); <ide> this.addEventListener(Events.energize.by(SELECTED_PLAYER).spell(SPELLS.EVER_RISING_TIDE_ENERGIZE...
Java
apache-2.0
6ca7b29c0212ce6d86b03cf7b20f19764510d5c6
0
jmazzitelli/hawkular-agent,metlos/hawkular-agent,hawkular/hawkular-agent,Jiri-Kremser/hawkular-agent,jpkrohling/hawkular-agent,pilhuhn/hawkular-agent,jpkrohling/hawkular-agent,pavolloffay/hawkular-agent,sekigor/hawkular-agent,Jiri-Kremser/hawkular-agent,hawkular/hawkular-agent,sekigor/hawkular-agent,hawkular/hawkular-a...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.ap...
hawkular-wildfly-monitor/src/main/java/org/hawkular/agent/monitor/storage/HawkularStorageAdapter.java
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.ap...
escaping the path in json during metric(type)-resrouce(type) association
hawkular-wildfly-monitor/src/main/java/org/hawkular/agent/monitor/storage/HawkularStorageAdapter.java
escaping the path in json during metric(type)-resrouce(type) association
<ide><path>awkular-wildfly-monitor/src/main/java/org/hawkular/agent/monitor/storage/HawkularStorageAdapter.java <ide> MeasurementInstance<?, ?, ?> measInstance) { <ide> <ide> String resourceId = getInventoryId(resource); <del> String metricId = getInventoryId(measInstance); <add> Stri...
Java
mit
5029ab1e45bb24924726d273c2970a7bbb05a2ac
0
chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster
package fi.csc.microarray.module.chipster; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.Arrays; import java.util.HashSet; import java....
src/main/java/fi/csc/microarray/module/chipster/MicroarrayModule.java
package fi.csc.microarray.module.chipster; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.Arrays; import java.util.HashSet; import java....
Added fasta and fastq as supported data types in the microarray module.
src/main/java/fi/csc/microarray/module/chipster/MicroarrayModule.java
Added fasta and fastq as supported data types in the microarray module.
<ide><path>rc/main/java/fi/csc/microarray/module/chipster/MicroarrayModule.java <ide> manager.plugContentType("application/x-treeview", true, false, "Newick formatted tree from clustering", VisualConstants.ICON_TYPE_TEXT, "tre"); <ide> manager.plugContentType("application/cel", true, false, "Affymetrix CEL", Visual...
Java
apache-2.0
ab706a3578446424d28cd4e7838a0b7a41e3cbff
0
visallo/vertexium,visallo/vertexium,v5analytics/vertexium
package org.vertexium.metric; import com.codahale.metrics.ConsoleReporter; import com.codahale.metrics.MetricRegistry; import org.vertexium.VertexiumException; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; import java.util.function.Supplier; public class D...
core/src/main/java/org/vertexium/metric/DropWizardMetricRegistry.java
package org.vertexium.metric; import com.codahale.metrics.MetricRegistry; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; import java.util.function.Supplier; public class DropWizardMetricRegistry implements VertexiumMetricRegistry { private final MetricR...
add helper methods to easily enable Drop Wizard Metrics ConsoleReporter
core/src/main/java/org/vertexium/metric/DropWizardMetricRegistry.java
add helper methods to easily enable Drop Wizard Metrics ConsoleReporter
<ide><path>ore/src/main/java/org/vertexium/metric/DropWizardMetricRegistry.java <ide> package org.vertexium.metric; <ide> <add>import com.codahale.metrics.ConsoleReporter; <ide> import com.codahale.metrics.MetricRegistry; <add>import org.vertexium.VertexiumException; <ide> <ide> import java.util.Map; <ide> import jav...
Java
mit
ff820f9c22472d78f643348726e06f3e57bc94c1
0
uq-eresearch/dataspace,uq-eresearch/dataspace,uq-eresearch/dataspace,uq-eresearch/dataspace
package net.metadata.dataspace.app; import net.metadata.dataspace.atom.util.ClientHelper; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.methods.GetMethod; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import...
data-registry-test/src/test/java/net/metadata/dataspace/app/AppTest.java
package net.metadata.dataspace.app; import net.metadata.dataspace.atom.util.ClientHelper; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.methods.GetMethod; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import...
Added a very simple test to ensure the most important pages actually display something (which should catch future XSLT errors). git-svn-id: c915320aed33221a6cc00b5c5fda1fe642ba3057@836 a06b0660-b68b-0410-9a37-e6c9a29c9ca9
data-registry-test/src/test/java/net/metadata/dataspace/app/AppTest.java
Added a very simple test to ensure the most important pages actually display something (which should catch future XSLT errors).
<ide><path>ata-registry-test/src/test/java/net/metadata/dataspace/app/AppTest.java <ide> import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; <ide> <ide> import static junit.framework.Assert.assertEquals; <add>import static org.junit.Assert.assertTrue; <ide> <ide> /** <ide> * Author: alabri <ide> ...
JavaScript
mit
70318714303873463ff771fd867a10b24a1ec17f
0
NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet
import React, {Component} from 'react' import {Table} from 'react-bootstrap' import Fieldset from 'components/Fieldset' import LinkTo from 'components/LinkTo' export default class OrganizationApprovals extends Component { render() { let org = this.props.organization let approvalSteps = org.approvalSteps retur...
client/src/pages/organizations/Approvals.js
import React, {Component} from 'react' import {Table} from 'react-bootstrap' import Fieldset from 'components/Fieldset' import LinkTo from 'components/LinkTo' export default class OrganizationApprovals extends Component { render() { let org = this.props.organization let approvalSteps = org.approvalSteps retur...
NCI-Agency/anet#362: Remove unncessary check
client/src/pages/organizations/Approvals.js
NCI-Agency/anet#362: Remove unncessary check
<ide><path>lient/src/pages/organizations/Approvals.js <ide> <tbody> <ide> {step.approvers.map((position, approverIdx) => <ide> <tr key={position.uuid} id={`step_${idx}_approver_${approverIdx}`} > <del> <td>{position.person <del> ? <td>{position.person && <LinkTo person={position.pe...
JavaScript
mit
bd80cd7dcfb44bf1ec16c44ccd58fcd211c55a30
0
railsware/bozon,railsware/bozon
var path = require('path') var childProcess = require('child_process') var Settings = require('./settings') var bozon = { Settings: Settings, task: function () { return this.requireLocal('gulp').task.apply(this.requireLocal('gulp'), arguments) }, buildTask: function () { var gulp = this.requireLocal(...
lib/utils/bozon.js
var path = require('path') var childProcess = require('child_process') var Settings = require('./settings') var bozon = { Settings: Settings, task: function () { return this.requireLocal('gulp').task.apply(this.requireLocal('gulp'), arguments) }, buildTask: function () { this.hooks.push(arguments[0])...
Fix gulp isn't defined in ./lib/utils/bozon.js
lib/utils/bozon.js
Fix gulp isn't defined in ./lib/utils/bozon.js
<ide><path>ib/utils/bozon.js <ide> }, <ide> <ide> buildTask: function () { <add> var gulp = this.requireLocal('gulp') <ide> this.hooks.push(arguments[0]) <del> return this.requireLocal('gulp').task.apply(this.requireLocal('gulp'), arguments) <add> return gulp.task.apply(gulp, arguments) <ide> }, <id...
Java
apache-2.0
02015c89b5a801e00003cbfdc812654879f28146
0
maxmind/GeoIP2-java,maxmind/GeoIP2-java
package com.maxmind.geoip2.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonValue; /** * This class provides the GeoIP2 Connection-Type model. */ public class ConnectionTypeResponse extends AbstractResponse { /** * The enumerated values that connecti...
src/main/java/com/maxmind/geoip2/model/ConnectionTypeResponse.java
package com.maxmind.geoip2.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonValue; /** * This class provides the GeoIP2 Connection-Type model. */ public class ConnectionTypeResponse extends AbstractResponse { /** * The enumerated values that connecti...
Fix - removed private access modifier from Enum constructor It is already private by spec.
src/main/java/com/maxmind/geoip2/model/ConnectionTypeResponse.java
Fix - removed private access modifier from Enum constructor
<ide><path>rc/main/java/com/maxmind/geoip2/model/ConnectionTypeResponse.java <ide> <ide> private final String name; <ide> <del> private ConnectionType(String name) { <add> ConnectionType(String name) { <ide> this.name = name; <ide> } <ide>
Java
agpl-3.0
2ebff0990a39e280f25d64a4869f239eb0b6a751
0
splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceeng...
package com.splicemachine.derby.impl.load; import com.splicemachine.hbase.KVPair; import com.splicemachine.hbase.writer.WriteResult; import java.io.IOException; import java.util.concurrent.atomic.AtomicLong; /** * Counts the number of errors that were encountered. If it exceeds * some configured threshold, then it...
structured_derby/src/main/java/com/splicemachine/derby/impl/load/ThresholdErrorReporter.java
package com.splicemachine.derby.impl.load; import com.splicemachine.hbase.KVPair; import com.splicemachine.hbase.writer.WriteResult; import java.io.IOException; import java.util.concurrent.atomic.AtomicLong; /** * Counts the number of errors that were encountered. If it exceeds * some configured threshold, then it...
Making import bad records record N bad rows, not N-1
structured_derby/src/main/java/com/splicemachine/derby/impl/load/ThresholdErrorReporter.java
Making import bad records record N bad rows, not N-1
<ide><path>tructured_derby/src/main/java/com/splicemachine/derby/impl/load/ThresholdErrorReporter.java <ide> <ide> @Override <ide> public boolean reportError(String row, WriteResult result) { <del> return errors.incrementAndGet() < maxErrorCount && delegate.reportError(row, result); <add> return errors.getAn...
Java
mit
618653e4426963f86285dc74fbb3d16b3c83b93f
0
roxanne-baker/game-authoring-environment,roxanne-baker/game-authoring-environment,roxanne-baker/game-authoring-environment
package events; import api.IEventSystem; import api.ILevel; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.ListMultimap; import datamanagement.XMLReader; import datamanagement.XMLWriter; import javafx.beans.property.SimpleDoubleProperty; import javafx.beans.value.ChangeListener; i...
src/events/EventSystem.java
package events; import api.IEntitySystem; import api.IEventSystem; import api.ILevel; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.ListMultimap; import datamanagement.XMLReader; import datamanagement.XMLWriter; import javafx.beans.property.SimpleDoubleProperty; import javafx.b...
Fixed saving hopefully?
src/events/EventSystem.java
Fixed saving hopefully?
<ide><path>rc/events/EventSystem.java <ide> package events; <ide> <del>import api.IEntitySystem; <ide> import api.IEventSystem; <ide> import api.ILevel; <del> <ide> import com.google.common.collect.ArrayListMultimap; <ide> import com.google.common.collect.ListMultimap; <del> <ide> import datamanagement.XMLReader; <ide...
Java
apache-2.0
44794574531905d127e8fe33f743bbf500ff1f68
0
dschadow/JavaSecurity,dschadow/JavaSecurity,dschadow/JavaSecurity
/* * Copyright (C) 2016 Dominik Schadow, dominikschadow@gmail.com * * This file is part of the Java Security project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www....
direct-object-references/src/main/java/de/dominikschadow/javasecurity/DownloadServlet.java
/* * Copyright (C) 2016 Dominik Schadow, dominikschadow@gmail.com * * This file is part of the Java Security project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www....
Extended catch
direct-object-references/src/main/java/de/dominikschadow/javasecurity/DownloadServlet.java
Extended catch
<ide><path>irect-object-references/src/main/java/de/dominikschadow/javasecurity/DownloadServlet.java <ide> while ((read = is.read(bytes)) != -1) { <ide> os.write(bytes, 0, read); <ide> } <del> } catch (AccessControlException ex) { <add> } catch (AccessControlExcepti...
Java
apache-2.0
2d740d82ac2eac1b8961aac7a2330bb0463c4bb9
0
pax95/camel,cunningt/camel,tadayosi/camel,apache/camel,adessaigne/camel,tdiesler/camel,adessaigne/camel,gnodet/camel,nikhilvibhav/camel,nikhilvibhav/camel,apache/camel,apache/camel,apache/camel,tadayosi/camel,gnodet/camel,gnodet/camel,pmoerenhout/camel,cunningt/camel,christophd/camel,pmoerenhout/camel,pmoerenhout/camel...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
core/camel-core-engine/src/main/java/org/apache/camel/impl/DefaultModel.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 ...
camel-core - Optimize as the lambda code causes JVM compiler internally to throw an java.lang.NoSuchMethodError when it compiles the lambda code. JDK mission control reports this.
core/camel-core-engine/src/main/java/org/apache/camel/impl/DefaultModel.java
camel-core - Optimize as the lambda code causes JVM compiler internally to throw an java.lang.NoSuchMethodError when it compiles the lambda code. JDK mission control reports this.
<ide><path>ore/camel-core-engine/src/main/java/org/apache/camel/impl/DefaultModel.java <ide> if (routeDefinitions == null || routeDefinitions.isEmpty()) { <ide> return; <ide> } <del> List<RouteDefinition> list = new ArrayList<>(); <del> routeDefinitions.forEach(r -> { <del> ...
Java
apache-2.0
46a4b5a8bdd6e46406c689a937a286255b2271f0
0
Syncleus/AetherMUD,Dibasic/creeper,chriskearney/creeper,Syncleus/AetherMUD,chriskearney/creeper
package com.comandante.creeper.builder; import com.comandante.creeper.Items.ItemSpawnRule; import com.comandante.creeper.Items.ItemSpawner; import com.comandante.creeper.Items.ItemType; import com.comandante.creeper.managers.EntityManager; import com.comandante.creeper.managers.GameManager; import com.comandante.creep...
src/main/java/com/comandante/creeper/builder/RoomBuilders.java
package com.comandante.creeper.builder; import com.comandante.creeper.Items.ItemSpawnRule; import com.comandante.creeper.Items.ItemSpawner; import com.comandante.creeper.Items.ItemType; import com.comandante.creeper.managers.EntityManager; import com.comandante.creeper.managers.GameManager; import com.comandante.creep...
random
src/main/java/com/comandante/creeper/builder/RoomBuilders.java
random
<ide><path>rc/main/java/com/comandante/creeper/builder/RoomBuilders.java <ide> <ide> entityManager.addEntity(new BasicRoom( <ide> 7, <del> "Train Station", <add> "Emerald City Bullet Station", <ide> Optional.of(100), <ide> Optional.o...
Java
agpl-3.0
2839bed127ba10264085b7c05ab63b78ea28ab20
0
n1zea144/cbioportal,yichaoS/cbioportal,sheridancbio/cbioportal,jjgao/cbioportal,onursumer/cbioportal,cBioPortal/cbioportal,shrumit/cbioportal-gsoc-final,angelicaochoa/cbioportal,yichaoS/cbioportal,d3b-center/pedcbioportal,n1zea144/cbioportal,adamabeshouse/cbioportal,kalletlak/cbioportal,pughlab/cbioportal,adamabeshouse...
/* * Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS * FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder * is on an "...
core/src/main/java/org/mskcc/cbio/portal/dao/MySQLbulkLoader.java
/* * Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS * FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder * is on an "...
better message
core/src/main/java/org/mskcc/cbio/portal/dao/MySQLbulkLoader.java
better message
<ide><path>ore/src/main/java/org/mskcc/cbio/portal/dao/MySQLbulkLoader.java <ide> stmt.execute( command ); <ide> <ide> int updateCount = stmt.getUpdateCount(); <del> ProgressMonitor.logDebug(updateCount+" records inserted into "+tableName); <add> ProgressMonitor.setCurrentMes...
JavaScript
mit
1435d048e4e142e193e8b4df2bc4b7978eaecb14
0
PragTob/benchee_html,PragTob/benchee_html
var RUN_TIME_AXIS_TITLE = "Run Time in microseconds"; var runtimeHistogramData = function(runTimeData) { var data = [ { type: "histogram", x: runTimeData } ]; return data; }; var drawGraph = function(node, data, layout) { Plotly.newPlot(node, data, layout, { displaylogo: false, mo...
priv/assets/javascripts/benchee.js
var RUN_TIME_AXIS_TITLE = "Run Time in microseconds"; var runtimeHistogramData = function(runTimeData) { var data = [ { type: "histogram", x: runTimeData } ]; return data; }; var drawGraph = function(node, data, layout) { Plotly.newPlot(node, data, layout, { displaylogo: false, mo...
try tweaking y0
priv/assets/javascripts/benchee.js
try tweaking y0
<ide><path>riv/assets/javascripts/benchee.js <ide> var data = [ <ide> { <ide> y: runTimeData, <del> type: "bar" <add> type: "bar", <add> y0: 500 <ide> } <ide> ]; <ide>
Java
apache-2.0
c1e29ad938072cb8366eb62373eaea2ba746a058
0
gradle/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/grad...
/* * Copyright 2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
subprojects/plugins/src/main/java/org/gradle/api/plugins/JavaPlugin.java
/* * Copyright 2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Handle the case where main sourceset is removed before jar task is realized
subprojects/plugins/src/main/java/org/gradle/api/plugins/JavaPlugin.java
Handle the case where main sourceset is removed before jar task is realized
<ide><path>ubprojects/plugins/src/main/java/org/gradle/api/plugins/JavaPlugin.java <ide> public void execute(Jar jar) { <ide> jar.setDescription("Assembles a jar archive containing the main classes."); <ide> jar.setGroup(BasePlugin.BUILD_GROUP); <del> jar.from(...
Java
apache-2.0
6e3c937067fa6b6dc3e523e5d7644be11a1f39a3
0
canoo/open-dolphin,nagyistoce/open-dolphin,canoo/open-dolphin,gemaSantiago/open-dolphin,nagyistoce/open-dolphin,Poundex/open-dolphin,gemaSantiago/open-dolphin,janih/open-dolphin,Poundex/open-dolphin,janih/open-dolphin,janih/open-dolphin,canoo/open-dolphin,nagyistoce/open-dolphin,gemaSantiago/open-dolphin,Poundex/open-d...
package org.opendolphin.demo.team; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import groovy.lang.Closure; import groovyx.gpars.agent.Agent; import groovyx.gpars.dataflow.DataflowQueue; import org.open...
subprojects/demo-javafx/server/src/main/java/org/opendolphin/demo/team/TeamMemberActions.java
package org.opendolphin.demo.team; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import groovy.lang.Closure; import groovyx.gpars.agent.Agent; import groovyx.gpars.dataflow.DataflowQueue; import org.open...
remove some duplication from demo
subprojects/demo-javafx/server/src/main/java/org/opendolphin/demo/team/TeamMemberActions.java
remove some duplication from demo
<ide><path>ubprojects/demo-javafx/server/src/main/java/org/opendolphin/demo/team/TeamMemberActions.java <ide> } <ide> } <ide> <add> private Slot findSlotByQualifier(List<DTO> dtos, String qualifier) { <add> if (qualifier == null) return null; <add> Slot result = null; <add> for (DTO...
Java
apache-2.0
b7e41df9aeb40b84e43a905827b402db3a885c03
0
FHannes/intellij-community,ibinti/intellij-community,slisson/intellij-community,alphafoobar/intellij-community,da1z/intellij-community,fitermay/intellij-community,da1z/intellij-community,gnuhub/intellij-community,caot/intellij-community,xfournet/intellij-community,ryano144/intellij-community,apixandru/intellij-communit...
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/lang-impl/src/com/intellij/find/impl/FindInProjectUtil.java
/* * Copyright 2000-2012 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...
WI-14660 PHAR: Find in Path and Replace in Path don't work: implementation doesn't work for root level
platform/lang-impl/src/com/intellij/find/impl/FindInProjectUtil.java
WI-14660 PHAR: Find in Path and Replace in Path don't work: implementation doesn't work for root level
<ide><path>latform/lang-impl/src/com/intellij/find/impl/FindInProjectUtil.java <ide> String path = directoryName.replace(File.separatorChar, '/'); <ide> VirtualFile virtualFile = LocalFileSystem.getInstance().findFileByPath(path); <ide> if (virtualFile == null || !virtualFile.isDirectory()) { <add> vir...
Java
epl-1.0
82b7a82cacc59347c63a549c474c77cf62057528
0
WonderCsabo/m2e-android,b-cuts/m2e-android,WonderCsabo/m2e-android,rgladwell/m2e-android,rgladwell/m2e-android,b-cuts/m2e-android
/******************************************************************************* * Copyright (c) 2009, 2010 Ricardo Gladwell and Hugo Josefson * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribut...
com.googlecode.eclipse.m2e.android.test/src/com/googlecode/eclipse/m2e/android/test/AndroidMavenPluginTest.java
/******************************************************************************* * Copyright (c) 2009, 2010 Ricardo Gladwell and Hugo Josefson * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribut...
Added commented test to ensure incremental build is not building full APK.
com.googlecode.eclipse.m2e.android.test/src/com/googlecode/eclipse/m2e/android/test/AndroidMavenPluginTest.java
Added commented test to ensure incremental build is not building full APK.
<ide><path>om.googlecode.eclipse.m2e.android.test/src/com/googlecode/eclipse/m2e/android/test/AndroidMavenPluginTest.java <ide> private static final String ANDROID_LIB_PROJECT_NAME = "apklib-project"; <ide> <ide> protected AdtPlugin adtPlugin; <add>// DexInfoService dexInfoService; <ide> <ide> @Override <ide...
Java
bsd-3-clause
8444405aa4decdc56a5ab09c6eed57a6530cad2d
0
TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc
/* * Copyright 2014 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
/* * Copyright 2014 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
Try re-enabling two PeerConnectionClientTests: - org.appspot.apprtc.test.PeerConnectionClientTest#testCaptureFormatChange - org.appspot.apprtc.test.PeerConnectionClientTest#testVideoSourceRestart The tests were previously flaky but significant changes to the test architecture have been made since. Opportunistically t...
webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
Try re-enabling two PeerConnectionClientTests:
<ide><path>ebrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java <ide> <ide> import android.os.Build; <ide> import android.support.test.InstrumentationRegistry; <del>import android.support.test.filters.FlakyTest; <ide> import android.support.test.filters.SmallTest; <ide> import android....
Java
mit
da4ee491b67f6f2109278ff9643e6c5c3c9bd714
0
PerimeterX/perimeterx-java-sdk,PerimeterX/perimeterx-java-sdk
package com.perimeterx.utils; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectReader; import com.fasterxml.jackson.databind.ObjectWriter; import com.perimeterx.internals.cookie.RiskCookie; import com.perimeterx.models.httpmodels.CaptchaResponse; import com.perimeterx.mod...
src/main/java/com/perimeterx/utils/JsonUtils.java
package com.perimeterx.utils; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectReader; import com.fasterxml.jackson.databind.ObjectWriter; import com.perimeterx.internals.cookie.RiskCookie; import com.perimeterx.models.httpmodels.CaptchaResponse; import com.perimeterx.mod...
compatibility with older jackson
src/main/java/com/perimeterx/utils/JsonUtils.java
compatibility with older jackson
<ide><path>rc/main/java/com/perimeterx/utils/JsonUtils.java <ide> <ide> private final static ObjectMapper mapper = new ObjectMapper(); <ide> <del> public final static ObjectReader riskResponseReader = mapper.readerFor(RiskResponse.class); <del> public final static ObjectReader captchaResponseReader = mapper...
JavaScript
apache-2.0
b7d0b226d9e985a0c596bbcf4a5ed36e659b528f
0
wingcrawler/shop_bbs,wingcrawler/shop_bbs,wingcrawler/shop_bbs,wingcrawler/shop_bbs
/** 2016-04-05 **/ (function($){ var ms = { init:function(obj,args){ return (function(){ ms.fillHtml(obj,args); ms.bindEvent(obj,args); })(); }, fillHtml:function(obj,args){ return (function(){ obj.empty(); if(args.current > 1){ if(args.prevPage==undefined){ ob...
src/main/webapp/backendstyle/js/jquery.page.js
/** 2016-04-05 **/ (function($){ var ms = { init:function(obj,args){ return (function(){ ms.fillHtml(obj,args); ms.bindEvent(obj,args); })(); }, fillHtml:function(obj,args){ return (function(){ obj.empty(); if(args.current > 1){ if(args.prevPage==undefined){ ob...
翻页undefined处理
src/main/webapp/backendstyle/js/jquery.page.js
翻页undefined处理
<ide><path>rc/main/webapp/backendstyle/js/jquery.page.js <ide> if(args.prevPage==undefined){ <ide> obj.append('<a href="javascript:;" class="prevPage" onClick="'+args.fnName+'('+(args.current-1)+')"><</a>'); <ide> } else { <del> obj.append('<a href="javascript:;" class="prevPage" onClick="'+args.fn...
Java
lgpl-2.1
78d511333aaf5f613a6e81b02cda0ea3a6ab6468
0
open-eid/digidoc4j,open-eid/digidoc4j,open-eid/digidoc4j
package org.digidoc4j.impl.edoc; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import java.util.List; import org.digidoc4j.Configuration; import org.digidoc4j.Container; import org.digidoc4j.ContainerBuilder; import org.digidoc4j.ContainerOpener; import org.digidoc4j.Va...
test/org/digidoc4j/impl/edoc/TimeStampValidationForEDocTest.java
package org.digidoc4j.impl.edoc; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import java.util.List; import org.digidoc4j.Configuration; import org.digidoc4j.Container; import org.digidoc4j.ContainerBuilder; import org.digidoc4j.ContainerOpener; import org.digidoc4j.Va...
DD4J-43: added no test for asice
test/org/digidoc4j/impl/edoc/TimeStampValidationForEDocTest.java
DD4J-43: added no test for asice
<ide><path>est/org/digidoc4j/impl/edoc/TimeStampValidationForEDocTest.java <ide> <ide> private final static Logger logger = LoggerFactory.getLogger(TimeStampValidationForEDocTest.class); <ide> <del> private static final String EDOC_CONTAINER_TYPE = "BDOC"; <del> // private static final String EDOC_LOCATION = "tes...
Java
apache-2.0
3b2760d77200edee302c4bec1ecb0f8ba2f948b2
0
mjoell/TwitchStatistics
package com.mjoell.twitchchatcounter; import java.sql.SQLException; import org.jibble.pircbot.PircBot; import com.mjoell.twitchchatcounter.TwitchChatCounter; public class IRCBot extends PircBot { public static String topChatter; public IRCBot() { this.setName(TwitchChatCounter.username); } public void onM...
src/com/mjoell/twitchchatcounter/IRCBot.java
package com.mjoell.twitchchatcounter; import java.sql.SQLException; import org.jibble.pircbot.PircBot; import com.mjoell.twitchchatcounter.TwitchChatCounter; public class IRCBot extends PircBot { public static String topChatter; public IRCBot() { this.setName(TwitchChatCounter.username); } public void onM...
Don't track night/moobot messages
src/com/mjoell/twitchchatcounter/IRCBot.java
Don't track night/moobot messages
<ide><path>rc/com/mjoell/twitchchatcounter/IRCBot.java <ide> <ide> public void onMessage(String channel, String sender, String login, String hostname, String message) { <ide> try { <del> Mysql.addOneForUserInChannel(channel.replace("#", ""), sender); <add> if(!sender.toLowerCase().equals("nightbot") || !sender...
Java
apache-2.0
1757f8c4c8469314c70b320f2f98b584344a541d
0
thomaskrause/ANNIS,thomaskrause/ANNIS,thomaskrause/ANNIS,korpling/ANNIS,pixeldrama/ANNIS,korpling/ANNIS,amir-zeldes/ANNIS,korpling/ANNIS,zangsir/ANNIS,amir-zeldes/ANNIS,pixeldrama/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,zangsir/ANNIS,amir-zeldes/ANNIS,korpling/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,pixeldr...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package annis.sqlgen; import static annis.model.AnnisConstants.*; import static annis.sqlgen.TableAccessStrategy.COMPONENT_TABLE; import static annis.sqlgen.TableAccessStrategy.EDGE_ANNOTATION_TABLE; import static annis...
annis-service/src/main/java/annis/sqlgen/SaltAnnotateExtractor.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package annis.sqlgen; import static annis.model.AnnisConstants.*; import static annis.sqlgen.TableAccessStrategy.COMPONENT_TABLE; import static annis.sqlgen.TableAccessStrategy.EDGE_ANNOTATION_TABLE; import static annis...
use an inverse map and update *all* references to the node when it was recreated (not just the ones from the same component) this will fix several of the DanglingHREF Exceptions that occur in the pcc2 corpus
annis-service/src/main/java/annis/sqlgen/SaltAnnotateExtractor.java
use an inverse map and update *all* references to the node when it was recreated (not just the ones from the same component)
<ide><path>nnis-service/src/main/java/annis/sqlgen/SaltAnnotateExtractor.java <ide> <ide> import java.sql.ResultSet; <ide> import java.sql.SQLException; <del>import java.util.HashMap; <ide> import java.util.Iterator; <ide> import java.util.List; <ide> import java.util.Map; <ide> import de.hu_berlin.german.korpling.sal...
Java
apache-2.0
633a19ddd31efae8b5e5990f21074dd47b3751d1
0
JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse
package edu.harvard.iq.dataverse.engine.command; import edu.harvard.iq.dataverse.DvObject; import edu.harvard.iq.dataverse.authorization.Permission; import edu.harvard.iq.dataverse.authorization.users.User; import static edu.harvard.iq.dataverse.engine.command.CommandHelper.CH; import java.util.HashMap; import java.ut...
src/main/java/edu/harvard/iq/dataverse/engine/command/AbstractCommand.java
package edu.harvard.iq.dataverse.engine.command; import edu.harvard.iq.dataverse.DvObject; import edu.harvard.iq.dataverse.authorization.Permission; import edu.harvard.iq.dataverse.authorization.users.User; import static edu.harvard.iq.dataverse.engine.command.CommandHelper.CH; import java.util.HashMap; import java.ut...
affectedDvObjects is a better name for this field #4262
src/main/java/edu/harvard/iq/dataverse/engine/command/AbstractCommand.java
affectedDvObjects is a better name for this field #4262
<ide><path>rc/main/java/edu/harvard/iq/dataverse/engine/command/AbstractCommand.java <ide> */ <ide> public abstract class AbstractCommand<R> implements Command<R> { <ide> <del> // FIXME: rename this from "affectedDataverses" to "affectedDvObjects". It's confusing. <del> private final Map<String, DvObject> affec...
Java
bsd-3-clause
fef963ca43448464092b23c9cf2a1d02a19f0705
0
swapnilshrikhande/githubsfdeploy,PankajHingane-REISysIn/GitHubToSFDeploy,motiko/githubsfdeploy,motiko/githubsfdeploy,afawcett/githubsfdeploy,PankajHingane-REISysIn/GitHubToSFDeploy,swapnilshrikhande/githubsfdeploy,afawcett/githubsfdeploy,PankajHingane-REISysIn/GitHubToSFDeploy,swapnilshrikhande/githubsfdeploy,afawcett/...
/** * Copyright (c) 2012, Andrew Fawcett * 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 o...
src/main/java/com/andyinthecloud/githubsfdeploy/controller/GitHubSalesforceDeployController.java
/** * Copyright (c) 2012, Andrew Fawcett * 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 o...
Fix for issue 'Doesn't add Documents in repos without package.xml' https://github.com/afawcett/githubsfdeploy/issues/2
src/main/java/com/andyinthecloud/githubsfdeploy/controller/GitHubSalesforceDeployController.java
Fix for issue 'Doesn't add Documents in repos without package.xml'
<ide><path>rc/main/java/com/andyinthecloud/githubsfdeploy/controller/GitHubSalesforceDeployController.java <ide> xmlOutputStream.setPrefix("xsi", "http://www.w3.org/2001/XMLSchema-instance"); <ide> packageManifest.write(packageQName, xmlOutputStream, typeMapper); <ide> xmlOutputStream.close()...
JavaScript
unlicense
f4e2fc1954bd2635c4a498ca6f012cc192cb7402
0
fvdm/nodejs-geoip2ws
/* Name: geoip2ws - test.js Description: Maxmind GeoIP2 Web Services for node.js Author: Franklin van de Meent (https://frankl.in) Source & docs: https://github.com/fvdm/nodejs-geoip2ws Feedback: https://github.com/fvdm/nodejs-geoip2ws/issues License: Unlicense (public domain, see LIC...
test.js
/* Name: geoip2ws - test.js Description: Maxmind GeoIP2 Web Services for node.js Author: Franklin van de Meent (https://frankl.in) Source & docs: https://github.com/fvdm/nodejs-geoip2ws Feedback: https://github.com/fvdm/nodejs-geoip2ws/issues License: Unlicense (public domain, see LIC...
Style(test): Reduced indentation
test.js
Style(test): Reduced indentation
<ide><path>est.js <ide> } <ide> <ide> test () <del> .done (); <add> .done (); <ide> } <ide> <ide>
Java
apache-2.0
df5780a9ace99369c607aa828abb09620480fdc7
0
archiecobbs/jsimpledb,archiecobbs/jsimpledb,permazen/permazen,permazen/permazen,permazen/permazen,archiecobbs/jsimpledb
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package org.jsimpledb.kv.spanner; import com.google.cloud.spanner.AbortedException; import com.google.cloud.spanner.DatabaseClient; import com.google.cloud.spanner.ReadContext; import com.google.cloud.spanner.ReadOnlyTransaction; import com.google.cl...
jsimpledb-kv-spanner/src/main/java/org/jsimpledb/kv/spanner/SpannerKVTransaction.java
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package org.jsimpledb.kv.spanner; import com.google.cloud.spanner.AbortedException; import com.google.cloud.spanner.DatabaseClient; import com.google.cloud.spanner.ReadContext; import com.google.cloud.spanner.ReadOnlyTransaction; import com.google.cl...
Rollback transaction on exception.
jsimpledb-kv-spanner/src/main/java/org/jsimpledb/kv/spanner/SpannerKVTransaction.java
Rollback transaction on exception.
<ide><path>simpledb-kv-spanner/src/main/java/org/jsimpledb/kv/spanner/SpannerKVTransaction.java <ide> try { <ide> return super.get(key); <ide> } catch (SpannerException e) { <add> this.rollback(); <ide> throw this.wrapException(e); <ide> } <ide> } <ide> ...
Java
epl-1.0
db1d9459de2a8344e6a2cf1718c9957a38b6ae49
0
gameduell/eclipselink.runtime,gameduell/eclipselink.runtime,gameduell/eclipselink.runtime,gameduell/eclipselink.runtime
/******************************************************************************* * Copyright (c) 1998, 2009 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompa...
foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/oxm/record/ContentHandlerRecord.java
/******************************************************************************* * Copyright (c) 1998, 2009 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompa...
Minor Change - Removed unnecessary whitespace and changed tabs to spaces.
foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/oxm/record/ContentHandlerRecord.java
Minor Change - Removed unnecessary whitespace and changed tabs to spaces.
<ide><path>oundation/org.eclipse.persistence.core/src/org/eclipse/persistence/oxm/record/ContentHandlerRecord.java <ide> public void setContentHandler(ContentHandler contentHandler) { <ide> this.contentHandler = contentHandler; <ide> } <del> <del> /** <del> * Set the LexicalHandler to recieve...
Java
lgpl-2.1
bc5c9894cdc68897bfc5608e295ac6c092f49911
0
pentaho/pentaho-commons-xul
package org.pentaho.ui.xul.gwt; import java.util.Iterator; import org.pentaho.ui.xul.XulComponent; import org.pentaho.ui.xul.XulContainer; import org.pentaho.ui.xul.util.Align; import com.google.gwt.user.client.ui.Widget; public abstract class AbstractGwtXulContainer extends AbstractGwtXulComponent implem...
pentaho-xul-gwt/src/org/pentaho/ui/xul/gwt/AbstractGwtXulContainer.java
package org.pentaho.ui.xul.gwt; import java.util.Iterator; import org.pentaho.ui.xul.XulComponent; import org.pentaho.ui.xul.XulContainer; import org.pentaho.ui.xul.XulDomException; import org.pentaho.ui.xul.dom.Element; import org.pentaho.ui.xul.util.Align; import com.google.gwt.user.client.ui.Widget; ...
Temporarily backing out layout logic.
pentaho-xul-gwt/src/org/pentaho/ui/xul/gwt/AbstractGwtXulContainer.java
Temporarily backing out layout logic.
<ide><path>entaho-xul-gwt/src/org/pentaho/ui/xul/gwt/AbstractGwtXulContainer.java <ide> <ide> import org.pentaho.ui.xul.XulComponent; <ide> import org.pentaho.ui.xul.XulContainer; <del>import org.pentaho.ui.xul.XulDomException; <del>import org.pentaho.ui.xul.dom.Element; <ide> import org.pentaho.ui.xul.util.Align; <id...
Java
mit
fc0dcbc26d84906f3e4cc788711a250338c0cabe
0
ictrobot/Open-Exchange
package oe.network.packet; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.io.IOException; import oe.api.OEItemInterface; import oe.api.OE_API; import oe.lib.Debug; import oe.lib.helper.ConfigHelper; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; imp...
src/oe/network/packet/QuantumDestructionPacket.java
package oe.network.packet; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.io.IOException; import oe.api.OEItemInterface; import oe.api.OE_API; import oe.lib.helper.ConfigHelper; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.ite...
Prevent Quantum Destruction crash.
src/oe/network/packet/QuantumDestructionPacket.java
Prevent Quantum Destruction crash.
<ide><path>rc/oe/network/packet/QuantumDestructionPacket.java <ide> import java.io.IOException; <ide> import oe.api.OEItemInterface; <ide> import oe.api.OE_API; <add>import oe.lib.Debug; <ide> import oe.lib.helper.ConfigHelper; <ide> import net.minecraft.block.Block; <ide> import net.minecraft.entity.player.EntityPlaye...
Java
apache-2.0
40221d04cbad8bf89156507ede599c852563db1e
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.debugger.impl; import com.intellij.execution.process.ProcessOutputTypes; import com.intellij.idea.IdeaLogger; import com.intellij.openapi.application.Applica...
java/testFramework/src/com/intellij/debugger/impl/OutputChecker.java
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.debugger.impl; import com.intellij.execution.process.ProcessOutputTypes; import com.intellij.idea.IdeaLogger; import com.intellij.openapi.application.Applica...
[tests] Java launcher path substitution in debugger tests (IDEA-188247)
java/testFramework/src/com/intellij/debugger/impl/OutputChecker.java
[tests] Java launcher path substitution in debugger tests (IDEA-188247)
<ide><path>ava/testFramework/src/com/intellij/debugger/impl/OutputChecker.java <ide> result = result.replaceAll("\\((.*):\\d+\\)", "($1:!LINE_NUMBER!)"); <ide> <ide> result = fixSlashes(result, JDK_HOME_STR); <add> result = result.replaceAll("!JDK_HOME!\\\\bin\\\\java.exe", "!JDK_HOME!\\\\bin\\\...
Java
bsd-3-clause
c28845e7e2750bc31904d859d7c78a7a7cb08d34
0
forcedotcom/phoenix,forcedotcom/phoenix
/******************************************************************************* * Copyright (c) 2013, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistr...
src/test/java/com/salesforce/phoenix/end2end/VariableLengthPKTest.java
/******************************************************************************* * Copyright (c) 2013, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistr...
Fix tests.
src/test/java/com/salesforce/phoenix/end2end/VariableLengthPKTest.java
Fix tests.
<ide><path>rc/test/java/com/salesforce/phoenix/end2end/VariableLengthPKTest.java <ide> PreparedStatement statement = conn.prepareStatement(query); <ide> ResultSet rs = statement.executeQuery(); <ide> assertTrue(rs.next()); <del> assertEquals(dateFormatter.format(D1), rs.ge...
Java
apache-2.0
3e4d4d1fc91a1edfb9e3b51a11d95611d0571922
0
PangZhi/flink,xccui/flink,GJL/flink,zjureel/flink,DieBauer/flink,tzulitai/flink,wwjiang007/flink,sunjincheng121/flink,zohar-mizrahi/flink,gyfora/flink,tillrohrmann/flink,zjureel/flink,yew1eb/flink,lincoln-lil/flink,kaibozhou/flink,godfreyhe/flink,PangZhi/flink,hwstreaming/flink,lincoln-lil/flink,kl0u/flink,clarkyzl/fli...
/*********************************************************************************************************************** * * Copyright (C) 2010 by the Stratosphere project (http://stratosphere.eu) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with...
nephele/nephele-common/src/main/java/eu/stratosphere/nephele/io/RecordWriter.java
/*********************************************************************************************************************** * * Copyright (C) 2010 by the Stratosphere project (http://stratosphere.eu) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with...
Fixed two warnings in nephele-common
nephele/nephele-common/src/main/java/eu/stratosphere/nephele/io/RecordWriter.java
Fixed two warnings in nephele-common
<ide><path>ephele/nephele-common/src/main/java/eu/stratosphere/nephele/io/RecordWriter.java <ide> <ide> } <ide> <del> public RecordWriter(AbstractInputTask inputBase, Class<T> outputClass) { <add> public RecordWriter(AbstractInputTask<?> inputBase, Class<T> outputClass) { <ide> <ide> this.environment = inputBase....
Java
mit
54b6fb0bf9551a55881d5d82fdcb3c6404345d63
0
Nincodedo/Ninbot
package dev.nincodedo.ninbot.components.reaction; import lombok.Data; import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.MessageChannel; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import java.util.List; @Data class ReactionResponse { protected String response; ...
src/main/java/dev/nincodedo/ninbot/components/reaction/ReactionResponse.java
package dev.nincodedo.ninbot.components.reaction; import lombok.Data; import lombok.NoArgsConstructor; import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.MessageChannel; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import java.util.List; @NoArgsConstructor @Data abstr...
Fix loading issue for reactions
src/main/java/dev/nincodedo/ninbot/components/reaction/ReactionResponse.java
Fix loading issue for reactions
<ide><path>rc/main/java/dev/nincodedo/ninbot/components/reaction/ReactionResponse.java <ide> package dev.nincodedo.ninbot.components.reaction; <ide> <ide> import lombok.Data; <del>import lombok.NoArgsConstructor; <ide> import net.dv8tion.jda.api.entities.Message; <ide> import net.dv8tion.jda.api.entities.MessageChanne...
Java
apache-2.0
65f42f6df04432705d4385d61480ad422d881e90
0
lukecwik/incubator-beam,apache/beam,chamikaramj/beam,robertwb/incubator-beam,lukecwik/incubator-beam,chamikaramj/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,robertwb/incubator-beam,chamikaramj/beam,apache/beam,apache/beam,apache/beam,robertwb/incubator-beam,robertwb/incubator-beam,robertwb/incubator-beam,apach...
/* * 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 ...
sdks/java/io/mongodb/src/test/java/org/apache/beam/sdk/io/mongodb/MongoDBIOIT.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 ...
[BEAM-8946] Publish collection size of data written during MongoDBIOIT run
sdks/java/io/mongodb/src/test/java/org/apache/beam/sdk/io/mongodb/MongoDBIOIT.java
[BEAM-8946] Publish collection size of data written during MongoDBIOIT run
<ide><path>dks/java/io/mongodb/src/test/java/org/apache/beam/sdk/io/mongodb/MongoDBIOIT.java <ide> import static org.apache.beam.sdk.io.common.IOITHelper.getHashForRecordCount; <ide> <ide> import com.google.cloud.Timestamp; <del>import com.mongodb.MongoClient; <add>import com.mongodb.client.MongoClient; <add>import co...
Java
mit
ab9bbf550fa484061122b509acdbd882969d499f
0
mySingleLive/forest
package com.dtflys.test.http; import com.dtflys.forest.backend.HttpBackend; import com.dtflys.forest.config.ForestConfiguration; import com.dtflys.forest.ssl.SSLKeyStore; import com.dtflys.test.mock.GetMockServer; import com.github.dreamhead.moco.HttpsCertificate; import com.github.dreamhead.moco.HttpsServer; import c...
forest-core/src/test/java/com/dtflys/test/http/TestSSLClient.java
package com.dtflys.test.http; import com.dtflys.forest.backend.HttpBackend; import com.dtflys.forest.config.ForestConfiguration; import com.dtflys.forest.ssl.SSLKeyStore; import com.dtflys.test.mock.GetMockServer; import com.github.dreamhead.moco.HttpsCertificate; import com.github.dreamhead.moco.HttpsServer; import c...
fix client0
forest-core/src/test/java/com/dtflys/test/http/TestSSLClient.java
fix client0
<ide><path>orest-core/src/test/java/com/dtflys/test/http/TestSSLClient.java <ide> import com.github.dreamhead.moco.HttpsCertificate; <ide> import com.github.dreamhead.moco.HttpsServer; <ide> import com.github.dreamhead.moco.Runner; <del>import com.dtflys.forest.backend.HttpBackend; <del>import com.dtflys.forest.config....
JavaScript
mit
71abe7886f5e244e4ea46cbefc411f90efd2f6d6
0
helion3/inspire-tree,helion3/inspire-tree
'use strict'; // Libs import _ from 'lodash'; import cuid from 'cuid'; import EventEmitter from 'eventemitter2'; import { Promise } from 'es6-promise'; // CSS require('./scss/tree.scss'); function InspireTree(opts) { var initialized = false; var noop = function() {}; var tree = this; tree.preventDese...
src/tree.js
'use strict'; // Libs import _ from 'lodash'; import cuid from 'cuid'; import EventEmitter from 'eventemitter2'; import { Promise } from 'es6-promise'; // CSS require('./scss/tree.scss'); function InspireTree(opts) { var initialized = false; var noop = function() {}; var tree = this; tree.preventDese...
Fixes selectBetween advancing node before checking its the end
src/tree.js
Fixes selectBetween advancing node before checking its the end
<ide><path>rc/tree.js <ide> <ide> var node = startNode.nextVisibleNode(); <ide> while (node) { <add> if (node.id === endNode.id) { <add> break; <add> } <add> <ide> node.select(); <ide> <ide> node = node.nextVisibleNode(); <del> if...
Java
apache-2.0
b3dfde696c7809382f77f0c39f48d4d51837ec8a
0
GinaHsu/ud851-GinaExercises,GinaHsu/ud851-GinaExercises
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Lesson08-Quiz-Example/T08.02-Exercise-AddAsyncTaskToRetrieveCursor/app/src/main/java/com/udacity/example/quizexample/MainActivity.java
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Done T0802- AddAsyncTaskToRetrieveCursor
Lesson08-Quiz-Example/T08.02-Exercise-AddAsyncTaskToRetrieveCursor/app/src/main/java/com/udacity/example/quizexample/MainActivity.java
Done T0802- AddAsyncTaskToRetrieveCursor
<ide><path>esson08-Quiz-Example/T08.02-Exercise-AddAsyncTaskToRetrieveCursor/app/src/main/java/com/udacity/example/quizexample/MainActivity.java <ide> <ide> package com.udacity.example.quizexample; <ide> <add>import android.content.ContentResolver; <add>import android.database.Cursor; <add>import android.os.AsyncTask...
Java
mit
44e010a92724824e9384599d0a2ab6b5d13500ed
0
opacapp/opacclient,johan12345/opacclient,opacapp/opacclient,ruediger-w/opacclient,raphaelm/opacclient,johan12345/opacclient,ruediger-w/opacclient,opacapp/opacclient,johan12345/opacclient,opacapp/opacclient,ruediger-w/opacclient,raphaelm/opacclient,opacapp/opacclient,ruediger-w/opacclient,ruediger-w/opacclient,johan1234...
package de.geeksfactory.opacclient.apis; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.message.BasicNameValuePair...
opacclient/libopac/src/main/java/de/geeksfactory/opacclient/apis/Adis.java
package de.geeksfactory.opacclient.apis; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.message.BasicNameValuePair...
Adis: Warn about reservation costs even if branch is selectable
opacclient/libopac/src/main/java/de/geeksfactory/opacclient/apis/Adis.java
Adis: Warn about reservation costs even if branch is selectable
<ide><path>pacclient/libopac/src/main/java/de/geeksfactory/opacclient/apis/Adis.java <ide> e1.getMessage()); <ide> } <ide> <del> if (useraction == 0 && selection == null <del> && doc.select("#AUSGAB_1").size() == 0) { <add> if (useraction == ...
Java
apache-2.0
3c948fc1476c7e2b3ef97380b8931452c33f90d1
0
robertwb/incubator-beam,lukecwik/incubator-beam,apache/beam,chamikaramj/beam,apache/beam,apache/beam,chamikaramj/beam,chamikaramj/beam,robertwb/incubator-beam,lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,robertwb/incubator-beam,lukecwik/incubator-beam,robertwb/incubator-beam,chamikaramj/beam,robertwb/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, Version 2.0 (the * "License"); you ...
sdks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/RecommendationAICatalogItemIT.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Fix failing RecommendationAICatalogItemIT
sdks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/RecommendationAICatalogItemIT.java
Fix failing RecommendationAICatalogItemIT
<ide><path>dks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/RecommendationAICatalogItemIT.java <ide> import org.apache.beam.sdk.values.KV; <ide> import org.apache.beam.sdk.values.PCollectionTuple; <ide> import org.junit.AfterClass; <add>import org.junit.ClassRule; <ide> import org.junit.Ignore; <d...
Java
apache-2.0
9bedc1454cce41ede21e5425689833f11091adef
0
SphericalElephant/android-http,the-diamond-dogs-group-oss/android-http,SphericalElephant/android-http,the-diamond-dogs-group-oss/android-http
/* * Copyright (C) 2012 the diamond:dogs|group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
library/src/at/diamonddogs/service/net/HttpService.java
/* * Copyright (C) 2012 the diamond:dogs|group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
[ADD] javadoc
library/src/at/diamonddogs/service/net/HttpService.java
[ADD] javadoc
<ide><path>ibrary/src/at/diamonddogs/service/net/HttpService.java <ide> import android.content.Context; <ide> import android.content.Intent; <ide> import android.content.ServiceConnection; <add>import android.net.ConnectivityManager; <ide> import android.os.Binder; <ide> import android.os.Handler; <ide> import android....
JavaScript
mit
838182cee4aa25aa2174bfa71b50c7b0ebf46c90
0
hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
app/assets/javascripts/application.js
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
Contador de caracteres em texto da 4ª capa
app/assets/javascripts/application.js
Contador de caracteres em texto da 4ª capa
<ide><path>pp/assets/javascripts/application.js <ide> } <ide> }); <ide> $('#book_zipcode').mask("99999-999"); <add> <ide> $('#book_title').jqEasyCounter({ <ide> 'maxChars': 54 <ide> }); <add> <add> $('#book_cover_info_attributes_texto_quarta_capa').jqEasyCounter({ <add> 'maxChars': 415 <add> ...
Java
apache-2.0
f76a48395ccf616976ac0b1f289690c4c256f3b4
0
EvilMcJerkface/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb,EvilMcJerkface/atlasdb,palantir/atlasdb,palantir/atlasdb
/** * Copyright 2017 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
atlasdb-config/src/test/java/com/palantir/atlasdb/config/TimeLockClientConfigTest.java
/** * Copyright 2017 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
Add additional client config tests
atlasdb-config/src/test/java/com/palantir/atlasdb/config/TimeLockClientConfigTest.java
Add additional client config tests
<ide><path>tlasdb-config/src/test/java/com/palantir/atlasdb/config/TimeLockClientConfigTest.java <ide> */ <ide> package com.palantir.atlasdb.config; <ide> <add>import static org.hamcrest.Matchers.equalTo; <ide> import static org.hamcrest.Matchers.hasItems; <ide> import static org.junit.Assert.assertThat; <add>import ...
Java
apache-2.0
9030ee2114d3a2e81daf21f73705464b940fae94
0
ontopia/ontopia,ontopia/ontopia,ontopia/ontopia,ontopia/ontopia,ontopia/ontopia
package ontopoly.components; import net.ontopia.topicmaps.core.OccurrenceIF; import ontopoly.model.Cardinality; import ontopoly.model.DataType; import ontopoly.model.FieldAssignment; import ontopoly.model.FieldDefinition; import ontopoly.model.FieldInstance; import ontopoly.model.OccurrenceField; import ontopoly.model...
ontopia/src/webapps/ontopoly/src/main/java/ontopoly/components/FieldInstanceOccurrencePanel.java
package ontopoly.components; import net.ontopia.topicmaps.core.OccurrenceIF; import ontopoly.model.Cardinality; import ontopoly.model.DataType; import ontopoly.model.FieldAssignment; import ontopoly.model.FieldDefinition; import ontopoly.model.FieldInstance; import ontopoly.model.OccurrenceField; import ontopoly.model...
Removed debug statement.
ontopia/src/webapps/ontopoly/src/main/java/ontopoly/components/FieldInstanceOccurrencePanel.java
Removed debug statement.
<ide><path>ntopia/src/webapps/ontopoly/src/main/java/ontopoly/components/FieldInstanceOccurrencePanel.java <ide> } <ide> @Override <ide> public void populateItem(final ListItem<FieldValueModel> item) { <del> System.out.println("LIP: "+ item + " " + item.getParent()); <del> final FieldValueMo...
JavaScript
mit
1be64e3548da3cb01f42f01d1727185ada29c848
0
soyuka/node-archiver,soyuka/node-archiver,archiverjs/node-archiver
/*global before,describe,it */ var fs = require('fs'); var assert = require('chai').assert; var mkdir = require('mkdirp'); var tar = require('tar'); var yauzl = require('yauzl'); var WriteStream = fs.createWriteStream; var archiver = require('../'); var helpers = require('./helpers'); var binaryBuffer = helpers.binary...
test/plugins.js
/*global before,describe,it */ var fs = require('fs'); var assert = require('chai').assert; var mkdir = require('mkdirp'); var tar = require('tar'); var yauzl = require('yauzl'); var WriteStream = fs.createWriteStream; var archiver = require('../'); var helpers = require('./helpers'); var binaryBuffer = helpers.binary...
update tests.
test/plugins.js
update tests.
<ide><path>est/plugins.js <ide> <ide> before(function(done) { <ide> archive = archiver('tar'); <del> var testStream = tar.Parse(); <add> var testStream = new tar.Parse(); <ide> <ide> testStream.on('entry', function(entry) { <ide> actual.push(entry.path); <del> entries[entry.pa...
Java
agpl-3.0
2a5f075063d439134fc97d952ddd8a991b518ce1
0
opensourceBIM/BIMserver,opensourceBIM/BIMserver,opensourceBIM/BIMserver
package org.bimserver.utils; /****************************************************************************** * Copyright (C) 2009-2019 BIMserver.org * * This program 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 S...
PluginBase/src/org/bimserver/utils/IfcUtils.java
package org.bimserver.utils; /****************************************************************************** * Copyright (C) 2009-2019 BIMserver.org * * This program 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 S...
Made methods public
PluginBase/src/org/bimserver/utils/IfcUtils.java
Made methods public
<ide><path>luginBase/src/org/bimserver/utils/IfcUtils.java <ide> return result; <ide> } <ide> <del> private static Object nominalValueToObject(IfcValue nominalValue) { <add> public static Object nominalValueToObject(IfcValue nominalValue) { <ide> if (nominalValue instanceof IfcLabel) { <ide> return ((IfcLabel)...
Java
apache-2.0
12e846ce0d66c7ace160c25051bb63419b82b0cb
0
apache/openwebbeans,apache/openwebbeans,apache/openwebbeans
/* * 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 ...
webbeans-impl/src/main/java/org/apache/webbeans/el/ELContextStore.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 ...
[OWB-241] Conversation scoped bean instance gets destroyed for every ELResolver.getValue git-svn-id: 6e2e506005f11016269006bf59d22f905406eeba@901332 13f79535-47bb-0310-9956-ffa450edef68
webbeans-impl/src/main/java/org/apache/webbeans/el/ELContextStore.java
[OWB-241] Conversation scoped bean instance gets destroyed for every ELResolver.getValue
<ide><path>ebbeans-impl/src/main/java/org/apache/webbeans/el/ELContextStore.java <ide> import java.util.Set; <ide> <ide> import javax.el.ELContext; <add>import javax.enterprise.context.Dependent; <ide> import javax.enterprise.context.spi.CreationalContext; <ide> import javax.enterprise.inject.spi.Bean; <ide> <ide> <...
JavaScript
mit
3f7848d4a18d42c8b9783f13fa3af571cf7575a6
0
ProseMirror/prosemirror-model
const {ContentMatch} = require("../dist") const {schema, eq, doc, p, pre, img, br, h1, h2, em, hr} = require("prosemirror-test-builder") const ist = require("ist") function get(expr) { return ContentMatch.parse(expr, schema.nodes) } describe("ContentMatch", () => { function match(expr, types) { let m = get(expr...
test/test-content.js
const {__ContentExpr: ContentExpr} = require("../dist") const {schema, eq, doc, p, pre, img, br, h1, h2, em, hr} = require("prosemirror-test-builder") const ist = require("ist") function get(expr) { return ContentExpr.parse(schema.nodes.heading, expr, schema.spec.nodes) } function val(value) { return value.attr ? "."...
Start porting content tests
test/test-content.js
Start porting content tests
<ide><path>est/test-content.js <del>const {__ContentExpr: ContentExpr} = require("../dist") <add>const {ContentMatch} = require("../dist") <ide> const {schema, eq, doc, p, pre, img, br, h1, h2, em, hr} = require("prosemirror-test-builder") <ide> const ist = require("ist") <ide> <del>function get(expr) { return Content...
Java
apache-2.0
error: pathspec 'QRCard_Android/src/com/main/log/Logger.java' did not match any file(s) known to git
468e75ac741fbb6dfb40c395a29d72498a7c0642
1
czmao/QRCard
package com.main.log; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import android.os.Environment; pub...
QRCard_Android/src/com/main/log/Logger.java
add logger
QRCard_Android/src/com/main/log/Logger.java
add logger
<ide><path>RCard_Android/src/com/main/log/Logger.java <add>package com.main.log; <add> <add>import java.io.File; <add>import java.io.FileNotFoundException; <add>import java.io.FileOutputStream; <add>import java.io.FileWriter; <add>import java.io.IOException; <add>import java.text.DateFormat; <add>import java.text.Simpl...
Java
apache-2.0
e2ff8a425c787d701a59247e43650c6642def4ab
0
thunderbird/pungwecms,thunderbird/pungwecms
/* * 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 ...
themes/adminLTE/src/main/java/com/pungwe/cms/themes/adminlte/AdminLTE.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 ...
added more wrappers around visibility, checkboxes and radios
themes/adminLTE/src/main/java/com/pungwe/cms/themes/adminlte/AdminLTE.java
added more wrappers around visibility, checkboxes and radios
<ide><path>hemes/adminLTE/src/main/java/com/pungwe/cms/themes/adminlte/AdminLTE.java <ide> element.addClass("form"); <ide> } <ide> <del> if (element instanceof FormRenderedElement && !(element instanceof InputButtonElement || element instanceof ButtonElement)) { <add> if (element inst...
Java
apache-2.0
7a05d78357160dac747ccebced7d134b4e9b8e0c
0
OpherV/gitflow4idea,AntonShalimov/gitflow4idea,SharkMachine/gitflow4idea
package gitflow; import com.intellij.openapi.project.Project; import git4idea.GitLocalBranch; import git4idea.GitRemoteBranch; import git4idea.GitUtil; import git4idea.branch.GitBranchUtil; import git4idea.repo.GitRemote; import git4idea.repo.GitRepository; import git4idea.ui.branch.GitMultiRootBranchConfig; import ...
src/gitflow/GitflowBranchUtil.java
package gitflow; import com.intellij.openapi.project.Project; import git4idea.GitLocalBranch; import git4idea.GitRemoteBranch; import git4idea.GitUtil; import git4idea.branch.GitBranchUtil; import git4idea.repo.GitRemote; import git4idea.repo.GitRepository; import git4idea.ui.branch.GitMultiRootBranchConfig; import ...
hasGitflow is a bit more robust now #24
src/gitflow/GitflowBranchUtil.java
hasGitflow is a bit more robust now #24
<ide><path>rc/gitflow/GitflowBranchUtil.java <ide> <ide> public boolean hasGitflow(){ <ide> boolean hasGitflow=false; <del> hasGitflow=(GitflowConfigUtil.getMasterBranch(myProject)!=null); <add> hasGitflow=GitflowConfigUtil.getMasterBranch(myProject)!=null <add> && GitflowCo...
Java
apache-2.0
6e7e0c0984f63e369e2f5e6ff474c487b10bc58f
0
virustotalop/Apktool,kuter007/android-apktool,sawrus/Apktool,PiR43/Apktool,dankoman30/Apktool,kaneawk/Apktool,CheungSKei/Apktool,pandazheng/Apktool,draekko/Apktool,yujokang/Apktool,Klozz/Apktool,jasonzhong/Apktool,lnln1111/android-apktool,chenrui2014/Apktool,Benjamin-Dobell/Apktool,yunemr/Apktool,yunemr/Apktool,digshoc...
/** * Copyright 2011 Ryszard Wiśniewski <brut.alll@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
brut.apktool/apktool-lib/src/main/java/brut/androlib/src/SmaliBuilder.java
/** * Copyright 2011 Ryszard Wiśniewski <brut.alll@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
Fixed "-d" option of build command - it was always enabled.
brut.apktool/apktool-lib/src/main/java/brut/androlib/src/SmaliBuilder.java
Fixed "-d" option of build command - it was always enabled.
<ide><path>rut.apktool/apktool-lib/src/main/java/brut/androlib/src/SmaliBuilder.java <ide> StringBuilder out = new StringBuilder(); <ide> List<String> lines = IOUtils.readLines(inStream); <ide> <del> if (!mFlags.containsKey("debug")) { <add> if (!mFlags.get("debug")) { <ide> final String[] linesArray = lines....
JavaScript
bsd-3-clause
aa242ca57eba93bf7cd3c16b26611c87fe4f706d
0
dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq
/* * Component for displaying a selection as a set of buttons. * Creates an invisible <select> element to store the value and a set of buttons for the user to interact with. * * Required parameters * - options: Data to build select options. May be list of strings or list of objects with `id` and `text` properties...
corehq/apps/hqwebapp/static/hqwebapp/js/components/select_toggle.js
/* * Component for TODO * * Required parameters * - options * * Optional parameters * - name * - id * - value */ hqDefine('hqwebapp/js/components/select_toggle', [ 'jquery', 'knockout', 'underscore', ], function ( $, ko, _ ) { return { viewModel: function (params) { ...
Added docs
corehq/apps/hqwebapp/static/hqwebapp/js/components/select_toggle.js
Added docs
<ide><path>orehq/apps/hqwebapp/static/hqwebapp/js/components/select_toggle.js <ide> /* <del> * Component for TODO <add> * Component for displaying a selection as a set of buttons. <add> * Creates an invisible <select> element to store the value and a set of buttons for the user to interact with. <ide> * <ide> * Requi...
Java
apache-2.0
error: pathspec '03-Development/dto/src/main/java/co/shinetech/dto/Activity.java' did not match any file(s) known to git
4920523e86e137d7492f7c9d126b983d6439d7a3
1
rd-shinetech/quicktest
package co.shinetech.dto; import java.time.LocalDateTime; public class Activity implements Domain{ private static final long serialVersionUID = 1L; private long id; private int name; private LocalDateTime startTime; private LocalDateTime endTime; private String className; public int getName() { return na...
03-Development/dto/src/main/java/co/shinetech/dto/Activity.java
Activity DTO corrected
03-Development/dto/src/main/java/co/shinetech/dto/Activity.java
Activity DTO corrected
<ide><path>3-Development/dto/src/main/java/co/shinetech/dto/Activity.java <add>package co.shinetech.dto; <add> <add>import java.time.LocalDateTime; <add> <add>public class Activity implements Domain{ <add> <add> <add> private static final long serialVersionUID = 1L; <add> private long id; <add> private int name; <add> ...
Java
apache-2.0
4199f9658ae10d562a7d4a9b2b985da00a6b60ff
0
apringle/crate
package uk.co.alexpringle.crate; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import com.google.gson.Gson; import com.google.gson.JsonSyntaxE...
src/main/java/uk/co/alexpringle/crate/Crate.java
package uk.co.alexpringle.crate; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import com.google.gson.Gson; import com.google.gson.JsonSyntaxE...
throw IllegalArgumentException if parameters are null fixes #2
src/main/java/uk/co/alexpringle/crate/Crate.java
throw IllegalArgumentException if parameters are null
<ide><path>rc/main/java/uk/co/alexpringle/crate/Crate.java <ide> */ <ide> public final T withId(String itemId) <ide> { <add> throwIfNull("itemId",itemId); <add> <ide> SQLiteDatabase database = crateSQLiteOpenHelper.getReadableDatabase(); <ide> T item = null; <ide> <ide> */ <ide...
Java
epl-1.0
fa1edab22d5e5fb975489231374f2aada17419d6
0
Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/DNDService.java
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
use platform trace
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/DNDService.java
use platform trace
<ide><path>I/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/DNDService.java <ide> import java.util.List; <ide> import java.util.Map; <ide> <add>import org.eclipse.birt.report.designer.internal.ui.util.Policy; <ide> import org.eclipse.core.runtime.CoreException; <ide> import or...
Java
apache-2.0
aa3e9c3279b0f72f5581b3847ab1b54e5bb905da
0
piotr-j/VisEditor,code-disaster/VisEditor,piotr-j/VisEditor,StQuote/VisEditor,kotcrab/vis-editor,kotcrab/vis-editor,kotcrab/VisEditor,billy1380/VisEditor,intrigus/VisEditor
/******************************************************************************* * Copyright 2014-2015 Pawel Pastuszak * * 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.ap...
UI/src/pl/kotcrab/vis/ui/util/DialogUtils.java
/******************************************************************************* * Copyright 2014-2015 Pawel Pastuszak * * 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.ap...
DialogUtils is now GWT compatible
UI/src/pl/kotcrab/vis/ui/util/DialogUtils.java
DialogUtils is now GWT compatible
<ide><path>I/src/pl/kotcrab/vis/ui/util/DialogUtils.java <ide> ******************************************************************************/ <ide> <ide> package pl.kotcrab.vis.ui.util; <del> <del>import java.io.PrintWriter; <del>import java.io.StringWriter; <ide> <ide> import pl.kotcrab.vis.ui.VisTable; <ide> impo...
Java
agpl-3.0
4bd86f086ff3c7a1b11a4a881fb2d8d849fa6d77
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
99c6003e-2e60-11e5-9284-b827eb9e62be
hello.java
99c06fc0-2e60-11e5-9284-b827eb9e62be
99c6003e-2e60-11e5-9284-b827eb9e62be
hello.java
99c6003e-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>99c06fc0-2e60-11e5-9284-b827eb9e62be <add>99c6003e-2e60-11e5-9284-b827eb9e62be
Java
apache-2.0
error: pathspec 'src/test/java/com/google/devtools/build/lib/analysis/LicensingTests.java' did not match any file(s) known to git
8f5943ec8241490e6c66a9169c55800c9c6ce045
1
LuminateWireless/bazel,aehlig/bazel,meteorcloudy/bazel,cushon/bazel,juhalindfors/bazel-patches,ButterflyNetwork/bazel,aehlig/bazel,spxtr/bazel,safarmer/bazel,Asana/bazel,werkt/bazel,perezd/bazel,cushon/bazel,dropbox/bazel,katre/bazel,davidzchen/bazel,dslomov/bazel,spxtr/bazel,hermione521/bazel,ulfjack/bazel,davidzchen/...
// Copyright 2016 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
src/test/java/com/google/devtools/build/lib/analysis/LicensingTests.java
Open sourcing LicensingTests. -- PiperOrigin-RevId: 144445429 MOS_MIGRATED_REVID=144445429
src/test/java/com/google/devtools/build/lib/analysis/LicensingTests.java
Open sourcing LicensingTests.
<ide><path>rc/test/java/com/google/devtools/build/lib/analysis/LicensingTests.java <add>// Copyright 2016 The Bazel Authors. All rights reserved. <add>// <add>// Licensed under the Apache License, Version 2.0 (the "License"); <add>// you may not use this file except in compliance with the License. <add>// You may obtai...
Java
mit
a15c7e75202f6a510860e2e9471569e4dc5c21ca
0
thyrlian/AwesomeValidation,thyrlian/AwesomeValidation
package com.basgeekball.awesomevalidation.validators; import android.app.Activity; import android.support.design.widget.TextInputLayout; import android.text.SpannableStringBuilder; import android.widget.EditText; import com.basgeekball.awesomevalidation.ValidationHolder; import com.basgeekball.awesomevalidation.model...
library/src/test/java/com/basgeekball/awesomevalidation/validators/ValidatorTest.java
package com.basgeekball.awesomevalidation.validators; import android.text.SpannableStringBuilder; import android.widget.EditText; import com.basgeekball.awesomevalidation.ValidationHolder; import com.basgeekball.awesomevalidation.model.NumericRange; import com.basgeekball.awesomevalidation.utility.ValidationCallback;...
Add unit test for Validator
library/src/test/java/com/basgeekball/awesomevalidation/validators/ValidatorTest.java
Add unit test for Validator
<ide><path>ibrary/src/test/java/com/basgeekball/awesomevalidation/validators/ValidatorTest.java <ide> package com.basgeekball.awesomevalidation.validators; <ide> <add>import android.app.Activity; <add>import android.support.design.widget.TextInputLayout; <ide> import android.text.SpannableStringBuilder; <ide> import a...
Java
apache-2.0
c2fc644e98b6472c539b1749af01b9438fa798df
0
fabric8io/kubernetes-client,fabric8io/kubernetes-client,fabric8io/kubernetes-client
/** * Copyright (C) 2015 Red Hat, 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...
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/base/OperationContext.java
/** * Copyright (C) 2015 Red Hat, 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...
fix: use item apiVersion when needed.
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/base/OperationContext.java
fix: use item apiVersion when needed.
<ide><path>ubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/base/OperationContext.java <ide> */ <ide> package io.fabric8.kubernetes.client.dsl.base; <ide> <add>import io.fabric8.kubernetes.api.model.HasMetadata; <ide> import io.fabric8.kubernetes.client.Config; <add>import io.fabric8.kubernetes.client....
Java
apache-2.0
fe537ec9c260401bf67b98dc44b90becffcbb20e
0
SachinMali/acs-aem-commons,Adobe-Consulting-Services/acs-aem-commons,Adobe-Consulting-Services/acs-aem-commons,badvision/acs-aem-commons,badvision/acs-aem-commons,bstopp/acs-aem-commons,dfoerderreuther/acs-aem-commons,SachinMali/acs-aem-commons,badvision/acs-aem-commons,Adobe-Consulting-Services/acs-aem-commons,bstopp/...
package com.adobe.acs.commons.wcm.impl; import com.adobe.acs.commons.util.BufferingResponse; import com.adobe.granite.xss.XSSAPI; import com.day.cq.wcm.api.WCMMode; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.text.StrLookup; import org.apache.commons.lang.text.StrSubstitutor; import org....
bundle/src/main/java/com/adobe/acs/commons/wcm/impl/AemEnvironmentIndicatorFilter.java
package com.adobe.acs.commons.wcm.impl; import com.adobe.acs.commons.util.BufferingResponse; import com.adobe.granite.xss.XSSAPI; import com.day.cq.wcm.api.WCMMode; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.text.StrLookup; import org.apache.commons.lang.text.StrSubstitutor; import org....
6.2 Compatibility branch merge
bundle/src/main/java/com/adobe/acs/commons/wcm/impl/AemEnvironmentIndicatorFilter.java
6.2 Compatibility branch merge
<ide><path>undle/src/main/java/com/adobe/acs/commons/wcm/impl/AemEnvironmentIndicatorFilter.java <ide> description = "A prefix to add to the browser tab/window title; <THIS VALUE> | <ORIGINAL DOC TITLE>", <ide> value = DEFAULT_TITLE_PREFIX) <ide> public static final String PROP_TITLE_PREFIX ...
Java
bsd-3-clause
4c4cbc3e096acb29d9d8020bca2c091ae1bfcedb
0
Clunker5/tregmine-2.0,EmilHernvall/tregmine,Clunker5/tregmine-2.0,EmilHernvall/tregmine,EmilHernvall/tregmine
package info.tregmine.inventoryspy; import net.minecraft.server.Item; import org.bukkit.ChatColor; import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.block.Chest; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.eve...
InventorySpy/src/info/tregmine/inventoryspy/SpyPlayerListener.java
package info.tregmine.inventoryspy; import net.minecraft.server.Item; import org.bukkit.ChatColor; import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.block.Chest; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.eve...
disabled boats
InventorySpy/src/info/tregmine/inventoryspy/SpyPlayerListener.java
disabled boats
<ide><path>nventorySpy/src/info/tregmine/inventoryspy/SpyPlayerListener.java <ide> <ide> if (event.getPlayer().getItemInHand().getType() == Material.BOAT) { <ide> event.getPlayer().sendMessage("Boats are temporary disabled as they are used to crash the server"); <add> event.setCancelled(true); <ide> } <ide> ...
Java
apache-2.0
9567fdf322e6963da1e1e03a3a763269284a34c6
0
dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.core; import com.haulmont.cuba.core.sys.EntityManagerContext; import com.haulmont.cuba.core.sys.persistence.DbTypeConverter; import java...
modules/core/src/com/haulmont/cuba/core/Persistence.java
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.core; import com.haulmont.cuba.core.sys.EntityManagerContext; import com.haulmont.cuba.core.sys.persistence.DbTypeConverter; import java...
Nested transaction strange behaviour without commit (JavaDocs improved). #PL-4494
modules/core/src/com/haulmont/cuba/core/Persistence.java
Nested transaction strange behaviour without commit (JavaDocs improved). #PL-4494
<ide><path>odules/core/src/com/haulmont/cuba/core/Persistence.java <ide> * Creates a new transaction.<br> <ide> * If there is an active transaction, it will be suspended. <ide> * <del> * @return new transaction <add> * @return object to control the new transaction <ide> */ <ide> Transact...
Java
apache-2.0
20b0a8fd29ad7c2ca9e064c89f9a799c6d6cf171
0
asiaon123/hsweb-framework,asiaon123/hsweb-framework,hs-web/hsweb-framework,asiaon123/hsweb-framework,hs-web/hsweb-framework,hs-web/hsweb-framework
/* * * * Copyright 2016 http://www.hswebframework.org * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * *...
hsweb-commons/hsweb-commons-service/hsweb-commons-service-simple/src/main/java/org/hswebframework/web/service/DefaultQueryByEntityService.java
/* * * * Copyright 2016 http://www.hswebframework.org * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * *...
完善部分注释
hsweb-commons/hsweb-commons-service/hsweb-commons-service-simple/src/main/java/org/hswebframework/web/service/DefaultQueryByEntityService.java
完善部分注释
<ide><path>sweb-commons/hsweb-commons-service/hsweb-commons-service-simple/src/main/java/org/hswebframework/web/service/DefaultQueryByEntityService.java <ide> package org.hswebframework.web.service; <ide> <ide> import org.hsweb.ezorm.core.dsl.Query; <del>import org.hsweb.ezorm.core.param.QueryParam; <ide> import org.h...
Java
mit
c18b12f3ebb5bd8e1712d55cb0db9de08002e1b3
0
yk0242/incubation,yk0242/incubation,yk0242/incubation,yk0242/incubation,yk0242/incubation
incubation-java/src/main/java/tf/customize/sdrsg/SylvieDressingRoomScenarioGeneratorMain.java
package tf.customize.sdrsg; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java...
(refs #45) Make custom scenario "(sitting) clothes test" maker for TeachingFeeling http://github.com/yk0242/incubation/issues/issue/45 * remove code from GitHub on migration to Bitbucket
incubation-java/src/main/java/tf/customize/sdrsg/SylvieDressingRoomScenarioGeneratorMain.java
(refs #45) Make custom scenario "(sitting) clothes test" maker for TeachingFeeling http://github.com/yk0242/incubation/issues/issue/45 * remove code from GitHub on migration to Bitbucket
<ide><path>ncubation-java/src/main/java/tf/customize/sdrsg/SylvieDressingRoomScenarioGeneratorMain.java <del>package tf.customize.sdrsg; <del> <del>import java.io.BufferedWriter; <del>import java.io.File; <del>import java.io.FileInputStream; <del>import java.io.FileNotFoundException; <del>import java.io.FileOutputStrea...
Java
apache-2.0
bda2d0c8937e27b63e648f383174b9364aa31995
0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
package uk.ac.ebi.quickgo.ontology.common.coterm; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.springframework.stereotype.Component; /** * Retrieve the co-occurring terms for the selected term from the in-memory map. * * @author Tony Ward...
ontology-common/src/main/java/uk/ac/ebi/quickgo/ontology/common/coterm/CoTermRepositorySimpleMap.java
package uk.ac.ebi.quickgo.ontology.common.coterm; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.springframework.stereotype.Component; /** * Retrieve the co-occurring terms for the selected term from the in-memory map. * * @author Tony Ward...
If the size of the results is less than the size of limit, return all the results.
ontology-common/src/main/java/uk/ac/ebi/quickgo/ontology/common/coterm/CoTermRepositorySimpleMap.java
If the size of the results is less than the size of limit, return all the results.
<ide><path>ntology-common/src/main/java/uk/ac/ebi/quickgo/ontology/common/coterm/CoTermRepositorySimpleMap.java <ide> .collect(Collectors.toList()); <ide> } <ide> if(results.size()<=limit){ <del> return results.subList(0,results.size()-1); <add> return results; ...
Java
apache-2.0
c64f43f1e705f4cdf9c47454be3e682fd7b2e00c
0
devindi/UniScrob
/* * Copyright 2016 Andrii Mikhin * * 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...
app/src/main/java/com/devindi/android/uniscrob/screen/list/ListFragment.java
/* * Copyright 2016 Andrii Mikhin * * 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...
<master> Fixed memory leak
app/src/main/java/com/devindi/android/uniscrob/screen/list/ListFragment.java
<master> Fixed memory leak
<ide><path>pp/src/main/java/com/devindi/android/uniscrob/screen/list/ListFragment.java <ide> public void onStart() { <ide> super.onStart(); <ide> subscription = storage.getAll().subscribe(this); <add> compositeSubscription.add(subscription); <ide> } <ide> <ide> @Nullable
JavaScript
mit
2be91f5e06f97872ac959e22ce8a12ac1e764e5d
0
arjunmehta/node-ansi-state
var util = require('util'); var stream = require('stream'); var PassThrough = stream.PassThrough || require('readable-stream').PassThrough; var ansi_styles = require('./lib/ansi_styles'), ansi_styles_flat = {}, color_regex = /\x1b\[[0-9;]*m/g, attr; util.inherits(ANSIState, PassThrough); // build ansi_s...
main.js
var util = require('util'); var stream = require('stream'); var PassThrough = stream.PassThrough || require('readable-stream').PassThrough; var ansi_styles = require('./lib/ansi_styles'), ansi_styles_flat = {}, color_regex = /\x1b\[[0-9;]*m/g, attr; util.inherits(ANSIState, PassThrough); // build ansi_s...
Fixing bug when returning attribute with null value.
main.js
Fixing bug when returning attribute with null value.
<ide><path>ain.js <ide> <ide> PassThrough.call(this); <ide> <del> this.attrs = {}; <add> this.attrs = {}; <ide> this.reset(); <ide> this.is_reset = false; <ide> this.setEncoding('utf8'); <ide> return { <ide> enumerable: true, <ide> get: function() { <del> retur...
Java
apache-2.0
251382e7f9231070019657baccc77dde879ea89a
0
pongo710/urlaubsverwaltung,Intera/urlaubsverwaltung,synyx/urlaubsverwaltung,Intera/urlaubsverwaltung,Intera/urlaubsverwaltung,synyx/urlaubsverwaltung,pongo710/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,pongo710/urlaubsverwaltung
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.synyx.urlaubsverwaltung.service; import org.apache.velocity.app.VelocityEngine; import org.junit.After; import org.junit.AfterClass; import static org.junit.Assert.assertEquals; import static org.junit.Ass...
src/test/java/org/synyx/urlaubsverwaltung/service/MailServiceImplTest.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.synyx.urlaubsverwaltung.service; import org.junit.After; import org.junit.AfterClass; import static org.junit.Assert.fail; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Ignore; im...
Implemented methods of MailServiceImplTest. refs #8668 refs #8597
src/test/java/org/synyx/urlaubsverwaltung/service/MailServiceImplTest.java
Implemented methods of MailServiceImplTest. refs #8668 refs #8597
<ide><path>rc/test/java/org/synyx/urlaubsverwaltung/service/MailServiceImplTest.java <ide> */ <ide> package org.synyx.urlaubsverwaltung.service; <ide> <add>import org.apache.velocity.app.VelocityEngine; <add> <ide> import org.junit.After; <ide> import org.junit.AfterClass; <ide> <del>import static org.junit.Assert.f...
Java
epl-1.0
24a6c414bf1100f4d270fbab57c4dc63d8f48154
0
paulvi/egit,mdoninger/egit,SmithAndr/egit,collaborative-modeling/egit,blizzy78/egit,paulvi/egit,collaborative-modeling/egit,wdliu/egit,SmithAndr/egit,wdliu/egit,chalstrick/egit
/******************************************************************************* * Copyright (c) 2011 GitHub Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/DiffStyleRangeFormatter.java
/******************************************************************************* * Copyright (c) 2011 GitHub Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
[findBugs] Document use of super class' equals() and hashCode() Change-Id: Ib782b1cb0ed55ce1f0a49afd83d702d0806c363c Signed-off-by: Matthias Sohn <446760a3fbea85cd5f8f4f5c3de304fe3a38014f@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/DiffStyleRangeFormatter.java
[findBugs] Document use of super class' equals() and hashCode()
<ide><path>rg.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/DiffStyleRangeFormatter.java <ide> <ide> } <ide> <add> @Override <add> public boolean equals(Object object) { <add> return super.equals(object); <add> } <add> <add> @Override <add> public int hashCode() { <add> return super.hashCode(); <...
JavaScript
bsd-3-clause
4b849cb6e0129289bc311db431c951f250840b09
0
avoidwork/woodland,avoidwork/woodland
"use strict"; const path = require("path"), http = require("http"), {METHODS} = http, EventEmitter = require("events"), fs = require("fs"), etag = require("tiny-etag"), lru = require("tiny-lru"), {all, delimiter, last, next, params, parse, partial, pipeable, reduce, stream, writeHead} = require(path.join(__dirn...
lib/woodland.js
"use strict"; const path = require("path"), http = require("http"), {METHODS} = http, EventEmitter = require("events"), fs = require("fs"), etag = require("tiny-etag"), lru = require("tiny-lru"), {all, delimiter, last, next, params, parse, partial, pipeable, reduce, stream, writeHead} = require(path.join(__dirn...
Moving event emission into `error()` from `res.error()`
lib/woodland.js
Moving event emission into `error()` from `res.error()`
<ide><path>ib/woodland.js <ide> res.locals = {}; <ide> req.params = {}; <ide> res.error = (status = 500, body) => { <del> const ev = "error", <del> err = body !== void 0 ? body instanceof Error ? body : new Error(body) : new Error(http.STATUS_CODES[status]); <add> const err = body !== void 0 ? body instanc...
Java
apache-2.0
5a16aee2c9c5ab73626a92da01c25bad03b8f969
0
amzn/exoplayer-amazon-port,yangwuan55/ExoPlayer,ened/ExoPlayer,superbderrick/ExoPlayer,google/ExoPlayer,saki4510t/ExoPlayer,zhouweiguo2017/ExoPlayer,JasonFengHot/ExoPlayerSource,androidx/media,rubensousa/exoplayer-amazon-port,google/ExoPlayer,YouKim/ExoPlayer,rubensousa/exoplayer-amazon-port,yangwuan55/ExoPlayer,michal...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
library/src/main/java/com/google/android/exoplayer2/audio/AudioTrack.java
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Use stereo for mono audio passthrough on fugu. Also backport the Shield workaround to v1. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144446498
library/src/main/java/com/google/android/exoplayer2/audio/AudioTrack.java
Use stereo for mono audio passthrough on fugu.
<ide><path>ibrary/src/main/java/com/google/android/exoplayer2/audio/AudioTrack.java <ide> <ide> // Workaround for overly strict channel configuration checks on nVidia Shield. <ide> if (Util.SDK_INT <= 23 && "foster".equals(Util.DEVICE) && "NVIDIA".equals(Util.MANUFACTURER)) { <del> switch(channelCount) { ...
Java
mit
error: pathspec 'src/main/java/com/github/aureliano/achmed/annotation/Min.java' did not match any file(s) known to git
673fe1ca396887735fd6a6f6a8cb24ce8a7eb04c
1
aureliano/achmed
package com.github.aureliano.achmed.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import com.github.aureliano.achmed.validation.MinValidator; @Retention(RetentionPolicy.RUNTIME) @Target(Elem...
src/main/java/com/github/aureliano/achmed/annotation/Min.java
Create Min annotation.
src/main/java/com/github/aureliano/achmed/annotation/Min.java
Create Min annotation.
<ide><path>rc/main/java/com/github/aureliano/achmed/annotation/Min.java <add>package com.github.aureliano.achmed.annotation; <add> <add>import java.lang.annotation.ElementType; <add>import java.lang.annotation.Retention; <add>import java.lang.annotation.RetentionPolicy; <add>import java.lang.annotation.Target; <add> <a...
Java
agpl-3.0
523e57e268655044a360147b671b1081260c28e1
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
b6b5b176-2e60-11e5-9284-b827eb9e62be
hello.java
b6b0457e-2e60-11e5-9284-b827eb9e62be
b6b5b176-2e60-11e5-9284-b827eb9e62be
hello.java
b6b5b176-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>b6b0457e-2e60-11e5-9284-b827eb9e62be <add>b6b5b176-2e60-11e5-9284-b827eb9e62be
JavaScript
apache-2.0
a935fc554473b1234f0062e2de1a4dd82c53f34d
0
dirkgroenen/mopidy-mopify,dbrgn/mopidy-mopify,dbrgn/mopidy-mopify,dirkgroenen/mopidy-mopify,dirkgroenen/mopidy-mopify,dbrgn/mopidy-mopify
/* * Inspired and mostly coming from MartijnBoland's MopidyService.js * https://github.com/martijnboland/moped/blob/master/src/app/services/mopidyservice.js */ 'use strict'; angular.module('mopify.services.mopidy', [ "mopify.services.settings", "mopify.services.queuemanager", 'llNotifier' ]) .factory("...
src/app/services/mopidy.service.js
/* * Inspired and mostly coming from MartijnBoland's MopidyService.js * https://github.com/martijnboland/moped/blob/master/src/app/services/mopidyservice.js */ 'use strict'; angular.module('mopify.services.mopidy', [ "mopify.services.settings", "mopify.services.queuemanager", 'llNotifier' ]) .factory("...
Make sure the player is playing when calling next track
src/app/services/mopidy.service.js
Make sure the player is playing when calling next track
<ide><path>rc/app/services/mopidy.service.js <ide> }, <ide> <ide> next: function() { <del> return wrapMopidyFunc("mopidy.playback.next", this)(); <add> var self = this; <add> var deferred = $q.defer(); <add> <add> // Start playing when the next track gets cal...
JavaScript
mit
38f4d74922524e74bf7b94f0d75f5929036c56e9
0
frontiernav/frontiernav-data,frontiernav/frontiernav-data
const path = require('path') const util = require('util') const { readObjects, readFile } = require('@frontiernav/filesystem') const { mapMappings, tileMappings } = require('../util/mappings') const csv = require('csv') const parseCSV = util.promisify(csv.parse) const _ = require('lodash') const log = require('@frontie...
extractors/xenoblade-chronicles-2/src/entities/MapFeatures.js
const path = require('path') const util = require('util') const { readObjects, readFile } = require('@frontiernav/filesystem') const { mapMappings, tileMappings } = require('../util/mappings') const csv = require('csv') const parseCSV = util.promisify(csv.parse) const _ = require('lodash') const log = require('@frontie...
feat(xc2): add map features for `RoutedEnemy` gimmicks
extractors/xenoblade-chronicles-2/src/entities/MapFeatures.js
feat(xc2): add map features for `RoutedEnemy` gimmicks
<ide><path>xtractors/xenoblade-chronicles-2/src/entities/MapFeatures.js <ide> getMarkersForRegion({ region, filename: 'collection', type: 'GmkCollection', Target: CollectionPoints }), <ide> getMarkersForRegion({ region, filename: 'landmark', type: 'GmkLandmark', Target: Locations }), <ide> getMa...
JavaScript
agpl-3.0
56b4f0825cc0bc1418c8114869b561dce36391f9
0
francois2metz/node-intervals,francois2metz/node-intervals
var vows = require('vows') , assert = require('assert') ; var intervals = require('../intervals') ; function createFakeClient() { return { me: function(callback) { callback(null, { body: { personid: 'me' } }); }, ...
tests/test_time.js
var vows = require('vows') , assert = require('assert') ; var intervals = require('../intervals') ; function createFakeClient() { return { me: function(callback) { callback(null, { body: { personid: 'me' } }); }, ...
Update tests. Signed-off-by: François de Metz <5187da0b934cc25eb2201a3ec9206c24b13cb23b@2metz.fr>
tests/test_time.js
Update tests.
<ide><path>ests/test_time.js <ide> 'ask for project': { <ide> topic: function() { <ide> var client = createFakeClient(); <del> intervals.askForProject(client).then(this.callback); <add> intervals.askForProject(client)(this.callback); <ide> }, <del> 'return go...
Java
lgpl-2.1
b36fbf9a4019a3c087187470984121a01f9cea80
0
joshkh/intermine,JoeCarlson/intermine,drhee/toxoMine,kimrutherford/intermine,kimrutherford/intermine,tomck/intermine,kimrutherford/intermine,tomck/intermine,justincc/intermine,zebrafishmine/intermine,justincc/intermine,Arabidopsis-Information-Portal/intermine,justincc/intermine,elsiklab/intermine,Arabidopsis-Informatio...
package org.intermine.web.struts; /* * Copyright (C) 2002-2007 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.h...
intermine/web/main/src/org/intermine/web/struts/WebSearchableListController.java
package org.intermine.web.struts; /* * Copyright (C) 2002-2007 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.h...
In webSearchableList.tile, if scope = global is given, im:public tag is now assumed.
intermine/web/main/src/org/intermine/web/struts/WebSearchableListController.java
In webSearchableList.tile, if scope = global is given, im:public tag is now assumed.
<ide><path>ntermine/web/main/src/org/intermine/web/struts/WebSearchableListController.java <ide> import org.intermine.web.logic.profile.Profile; <ide> import org.intermine.web.logic.profile.ProfileManager; <ide> import org.intermine.web.logic.search.Scope; <add>import org.intermine.web.logic.search.SearchRepository; <i...
Java
mpl-2.0
6ddc0bc2460e11cd249e9282e54286623a6f390e
0
mahdi71/iap-bazaarfix,mahdi71/iap-bazaarfix,mahdi71/iap-bazaarfix,mahdi71/iap-bazaarfix,mahdi71/iap-bazaarfix
package com.ludei.inapps.googleplay; import android.app.Activity; import android.app.PendingIntent; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.IBinder; import android.os.Remote...
src/cordova/android/googleplay/src/deps/com/ludei/inapps/googleplay/GooglePlayInAppService.java
package com.ludei.inapps.googleplay; import android.app.Activity; import android.app.PendingIntent; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.IBinder; import android.os.Remote...
Update GooglePlayInAppService.java
src/cordova/android/googleplay/src/deps/com/ludei/inapps/googleplay/GooglePlayInAppService.java
Update GooglePlayInAppService.java
<ide><path>rc/cordova/android/googleplay/src/deps/com/ludei/inapps/googleplay/GooglePlayInAppService.java <ide> public GooglePlayInAppService(Context ctx) <ide> { <ide> super(ctx); <del> Intent serviceIntent = new Intent("com.android.vending.billing.InAppBillingService.BIND"); <del> servic...
Java
apache-2.0
384b9f76cfde66105f4628d9a05416f8759010bf
0
prigaux/cas,Unicon/cas,pmarasse/cas,robertoschwald/cas,doodelicious/cas,frett/cas,robertoschwald/cas,rrenomeron/cas,zhoffice/cas,doodelicious/cas,zhoffice/cas,petracvv/cas,zhoffice/cas,William-Hill-Online/cas,gabedwrds/cas,dodok1/cas,rrenomeron/cas,creamer/cas,gabedwrds/cas,GIP-RECIA/cas,prigaux/cas,William-Hill-Online...
/* * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in com...
cas-server-webapp-support/src/test/java/org/jasig/cas/web/view/Cas10ResponseViewTests.java
/* * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in com...
Add test for CAS-1378
cas-server-webapp-support/src/test/java/org/jasig/cas/web/view/Cas10ResponseViewTests.java
Add test for CAS-1378
<ide><path>as-server-webapp-support/src/test/java/org/jasig/cas/web/view/Cas10ResponseViewTests.java <ide> public void setUp() throws Exception { <ide> this.model = new HashMap<String, Object>(); <ide> List<Authentication> list = new ArrayList<Authentication>(); <del> list.add(TestUtils.getAu...
Java
apache-2.0
64c3041f21c7ed694c4a41cb70ad5760663d5bd3
0
josdem/vetlog-spring-boot,josdem/vetlog-spring-boot,josdem/vetlog-spring-boot
package com.jos.dem.vetlog.validator; import com.jos.dem.vetlog.command.UserCommand; import com.jos.dem.vetlog.model.User; import com.jos.dem.vetlog.service.UserService; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Tes...
src/test/java/com/jos/dem/vetlog/validator/UserValidatorTest.java
package com.jos.dem.vetlog.validator; import com.jos.dem.vetlog.command.UserCommand; import com.jos.dem.vetlog.service.UserService; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestIn...
#151 Adding avoiding duplicate username test
src/test/java/com/jos/dem/vetlog/validator/UserValidatorTest.java
#151 Adding avoiding duplicate username test
<ide><path>rc/test/java/com/jos/dem/vetlog/validator/UserValidatorTest.java <ide> package com.jos.dem.vetlog.validator; <ide> <ide> import com.jos.dem.vetlog.command.UserCommand; <add>import com.jos.dem.vetlog.model.User; <ide> import com.jos.dem.vetlog.service.UserService; <ide> import lombok.extern.slf4j.Slf4j; <ide...
Java
agpl-3.0
410e026968085dea4a0e0866e27652406bb261e2
0
nate-sentjens/tigase-xmpp-java,caiyingyuan/tigase71,sourcebits-praveenkh/Tagase,wangningbo/tigase-server,cgvarela/tigase-server,fanout/tigase-server,f24-ag/tigase,wangningbo/tigase-server,caiyingyuan/tigase71,wangningbo/tigase-server,caiyingyuan/tigase71,wangningbo/tigase-server,Smartupz/tigase-server,fanout/tigase-ser...
/* Package Tigase XMPP/Jabber Server * Copyright (C) 2001, 2002, 2003, 2004, 2005 * "Artur Hefczyc" <artur.hefczyc@tigase.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; eithe...
src/tigase/db/xml/XMLRepository.java
/* Package Tigase XMPP/Jabber Server * Copyright (C) 2001, 2002, 2003, 2004, 2005 * "Artur Hefczyc" <artur.hefczyc@tigase.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; eithe...
Fixed the problem with repository initialization on fresh installation where XML user repo does not exist git-svn-id: 4a0daf30c0bbd291b3bc5fe8f058bf11ee523347@182 7d282ba1-3ae6-0310-8f9b-c9008a0864d2
src/tigase/db/xml/XMLRepository.java
Fixed the problem with repository initialization on fresh installation where XML user repo does not exist
<ide><path>rc/tigase/db/xml/XMLRepository.java <ide> <ide> public void initRepository(String file_name) { <ide> try { <add> auth = new UserAuthRepositoryImpl(this); <ide> xmldb = new XMLDB(file_name); <del> auth = new UserAuthRepositoryImpl(this); <ide> } catch (Exception e) { <ide> log.warnin...
Java
bsd-2-clause
2aa234187c1097c570b82e9927be7c9bbb65b640
0
scifio/scifio
// // VisBio.java // /* VisBio application for visualization of multidimensional biological image data. Copyright (C) 2002-2004 Curtis Rueden. 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 ...
loci/visbio/VisBio.java
// // VisBio.java // /* VisBio application for visualization of multidimensional biological image data. Copyright (C) 2002-2004 Curtis Rueden. 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 ...
Update timestamp.
loci/visbio/VisBio.java
Update timestamp.
<ide><path>oci/visbio/VisBio.java <ide> public static final String AUTHOR = "Curtis Rueden, LOCI"; <ide> <ide> /** Application build date. */ <del> public static final String DATE = "7 June 2005"; <add> public static final String DATE = "8 June 2005"; <ide> <ide> /** Port to use for communicating between appl...
Java
agpl-3.0
95d01f558a0674151584c17d6d74a1c06bea33fa
0
openmole/openmole,openmole/openmole,openmole/openmole,openmole/openmole,openmole/openmole
/* * Copyright (C) 2010 Romain Reuillon <romain.reuillon at openmole.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 3 of the License, or * (at your option) any...
openmole/plugins/org.openmole.plugin.resource.virtual/src/main/java/org/openmole/plugin/resource/virtual/VirtualMachineResource.java
/* * Copyright (C) 2010 Romain Reuillon <romain.reuillon at openmole.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 3 of the License, or * (at your option) any...
Compilation fix.
openmole/plugins/org.openmole.plugin.resource.virtual/src/main/java/org/openmole/plugin/resource/virtual/VirtualMachineResource.java
Compilation fix.
<ide><path>penmole/plugins/org.openmole.plugin.resource.virtual/src/main/java/org/openmole/plugin/resource/virtual/VirtualMachineResource.java <ide> @Cachable <ide> private File getQEmuDir() throws IOException, InternalProcessingError { <ide> final String os = System.getProperty("os.name"); <del> ...
Java
agpl-3.0
19472325228a62c8d5906e192c0644fbf9026658
0
geomajas/geomajas-project-server,geomajas/geomajas-project-server,geomajas/geomajas-project-client-gwt2,geomajas/geomajas-project-client-gwt,geomajas/geomajas-project-client-gwt2,geomajas/geomajas-project-client-gwt,geomajas/geomajas-project-server,geomajas/geomajas-project-client-gwt
/* * This is part of Geomajas, a GIS framework, http://www.geomajas.org/. * * Copyright 2008-2012 Geosparc nv, http://www.geosparc.com/, Belgium. * * The program is available in open source according to the GNU Affero * General Public License. All contributions in this program are covered * by the Geomajas Contr...
backend/common-servlet/src/main/java/org/geomajas/servlet/AutomaticDispatcherUrlService.java
/* * This is part of Geomajas, a GIS framework, http://www.geomajas.org/. * * Copyright 2008-2012 Geosparc nv, http://www.geosparc.com/, Belgium. * * The program is available in open source according to the GNU Affero * General Public License. All contributions in this program are covered * by the Geomajas Contr...
GBE-279 @Api annotations
backend/common-servlet/src/main/java/org/geomajas/servlet/AutomaticDispatcherUrlService.java
GBE-279 @Api annotations
<ide><path>ackend/common-servlet/src/main/java/org/geomajas/servlet/AutomaticDispatcherUrlService.java <ide> return getBasePathForHostNamePort(request, serverName, request.getServerPort()); <ide> } <ide> <del> /** <del> * @since 1.10.0 <del> */ <del> @Api <add> /** {@inheritDoc} */ <ide> public String getLocalDi...
Java
apache-2.0
4b164bd4e8bdb28bc7980060c8743cca1f38854f
0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.container.xml; import com.google.common.collect.ImmutableSet; import com.yahoo.collections.CollectionUtil; import com.yahoo.config.model.builder.xml.test.DomBuilderTest; impor...
config-model/src/test/java/com/yahoo/vespa/model/container/xml/AccessControlTest.java
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.container.xml; import com.google.common.collect.ImmutableSet; import com.yahoo.collections.CollectionUtil; import com.yahoo.config.model.builder.xml.test.DomBuilderTest; impor...
Static import method.
config-model/src/test/java/com/yahoo/vespa/model/container/xml/AccessControlTest.java
Static import method.
<ide><path>onfig-model/src/test/java/com/yahoo/vespa/model/container/xml/AccessControlTest.java <ide> import java.util.Set; <ide> import java.util.stream.Collectors; <ide> <add>import static com.yahoo.config.model.test.TestUtil.joinLines; <ide> import static org.junit.Assert.assertEquals; <ide> import static org.junit...
JavaScript
mit
88f87790e456bc9199f87a6b088608af97e50561
0
lomegg/gulp-env,lomegg/ndsm,lomegg/gulp-env,lomegg/ndsm
'use strict'; var gulp = require('gulp'), watch = require('gulp-watch'), prefixer = require('gulp-autoprefixer'), gutil = require('gulp-util'), uglify = require('gulp-uglify'), coffee = require('gulp-coffee'), sass = require('gulp-sass'), sourcemaps = require('gulp-sourcemaps'), rigger ...
gulpfile.js
'use strict'; var gulp = require('gulp'), watch = require('gulp-watch'), prefixer = require('gulp-autoprefixer'), gutil = require('gulp-util'), uglify = require('gulp-uglify'), coffee = require('gulp-coffee'), sass = require('gulp-sass'), sourcemaps = require('gulp-sourcemaps'), rigger ...
watch all contents of style folder, not only scss
gulpfile.js
watch all contents of style folder, not only scss
<ide><path>ulpfile.js <ide> watch: { //Тут мы укажем, за изменением каких файлов мы хотим наблюдать <ide> html: 'src/**/*.html', <ide> js: 'src/js/**/*.js', <del> style: 'src/style/**/*.scss', <add> style: 'src/style/**/*.*', <ide> coffee: 'src/js/coffee/**/*.coffee', <ide> ...
Java
mit
174e70c21fd67967771ef4ef8564bd17ddd33361
0
mitchmyburgh/nis-assignment,mitchmyburgh/nis-assignment,mitchmyburgh/nis-assignment
package common; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Base64; /** * Code adapted from http://stackoverflow.com/questions/15554296/simple-java-aes-encrypt-decrypt-example */ public class AES{ /** * encrypt...
common/AES.java
package common; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Base64; /** * Code adapted from http://stackoverflow.com/questions/15554296/simple-java-aes-encrypt-decrypt-example */ public class AES{ public static ...
AES commentedt
common/AES.java
AES commentedt
<ide><path>ommon/AES.java <ide> */ <ide> public class AES{ <ide> <add> /** <add> * encrypt - encrypt plaintext <add> * @param String key - the key/password <add> * @param String initVector - the initialisation vector <add> * @param String value - the value to encrypt <add> * @return String - teh ciphertext <add...
Java
lgpl-2.1
c38904534dde4b52d1afa2c30e530b9e0677a8f1
0
tomck/intermine,joshkh/intermine,kimrutherford/intermine,kimrutherford/intermine,justincc/intermine,JoeCarlson/intermine,julie-sullivan/phytomine,elsiklab/intermine,justincc/intermine,elsiklab/intermine,zebrafishmine/intermine,elsiklab/intermine,elsiklab/intermine,kimrutherford/intermine,tomck/intermine,zebrafishmine/i...
package org.flymine.objectstore.query; import junit.framework.TestCase; import org.flymine.model.testmodel.Department; import org.flymine.model.testmodel.Manager; import org.flymine.model.testmodel.Employee; public class ContainsConstraintTest extends TestCase { private ContainsConstraint constraint; privat...
intermine/src/test/org/intermine/objectstore/query/ContainsConstraintTest.java
package org.flymine.objectstore.query; import junit.framework.TestCase; import org.flymine.model.testmodel.Department; import org.flymine.model.testmodel.Manager; import org.flymine.model.testmodel.Employee; public class ContainsConstraintTest extends TestCase { private ContainsConstraint constraint; privat...
added tests for .equals() and .hashCode() methods
intermine/src/test/org/intermine/objectstore/query/ContainsConstraintTest.java
added tests for .equals() and .hashCode() methods
<ide><path>ntermine/src/test/org/intermine/objectstore/query/ContainsConstraintTest.java <ide> public void testIncompatibleTypesReference() throws Exception { <ide> try { <ide> // objRef has type Manager, qc3 is type Employee <del> constraint = new ContainsConstraint(objRef, 1, qc3); ...
Java
lgpl-2.1
505bfcbae06f0f237dbdb642fa27bf3a5b100681
0
xwiki-contrib/oidc
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
oidc-authenticator/src/main/java/org/xwiki/contrib/oidc/auth/OIDCAuthServiceImpl.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
[misc] Minor improvement
oidc-authenticator/src/main/java/org/xwiki/contrib/oidc/auth/OIDCAuthServiceImpl.java
[misc] Minor improvement
<ide><path>idc-authenticator/src/main/java/org/xwiki/contrib/oidc/auth/OIDCAuthServiceImpl.java <ide> Boolean.class); <ide> } <ide> <del> // Make sure the session is free from anything related to a previously authenticated user (i.e. in case we are <del> // just after a logout) <d...
JavaScript
mit
58fd37d74086800e8dd4a1700125e3f0f3d085f9
0
KeeTraxx/boris-loader,KeeTraxx/boris-loader
angular.module('boris-translation', ['pascalprecht.translate']) .config(['$translateProvider', function ($translateProvider) { $translateProvider.useSanitizeValueStrategy('escape'); $translateProvider.translations('en', { "conference_paper": 'Conference paper', "conference_abstract": 'Conference...
boris-angular-translation.js
angular.module('boris-translation', ['pascalprecht.translate']) .config(['$translateProvider', function ($translateProvider) { $translateProvider.useSanitizeValueStrategy('escape'); $translateProvider.translations('en', { "conference_paper": 'Conference paper', "conference_abstract": 'Conference...
Added support and translation for: * Article reviews * Journal series
boris-angular-translation.js
Added support and translation for: * Article reviews * Journal series
<ide><path>oris-angular-translation.js <ide> "book_ed_volume": 'Sammelband', <ide> "book_section_encyclopedia": 'Encyclopedia contribution', <ide> "article_review": "Rezension", <del> "journal_series_journal": "J" <add> "journal_series_journal": "Zeitschriftenserie" <ide> }); <ide> <ide...