lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
4c22d138caae4fbbd232387d60931784a0b8fbd4
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-2020 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.codeInsight.daemon.impl; import com.intellij.codeInsight.daemon.impl.analysis.HighlightInfoHolder; import com.intellij.concurrency.JobLauncher; import com.in...
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/InjectedGeneralHighlightingPass.java
// Copyright 2000-2020 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.codeInsight.daemon.impl; import com.intellij.codeInsight.daemon.impl.analysis.HighlightInfoHolder; import com.intellij.concurrency.JobLauncher; import com.in...
WEB-48856: use own HighlightInfo severity in injections (cherry picked from commit 157fca72e61fa1d4b1e2b2e1a1e6d85838a8c8c1) IDEA-CR-70002 GitOrigin-RevId: b685c5d75bbee065641101b8c00532d0580ebbb9
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/InjectedGeneralHighlightingPass.java
WEB-48856: use own HighlightInfo severity in injections
<ide><path>latform/lang-impl/src/com/intellij/codeInsight/daemon/impl/InjectedGeneralHighlightingPass.java <ide> new HighlightInfo(info.forcedTextAttributes, info.forcedTextAttributesKey, <ide> info.type, fixedTextRange.getStartOffset(), <ide> fixedTextR...
JavaScript
apache-2.0
242a6258dc552e27e49961a9bb7b4a0a040c1fac
0
AnimatedRNG/cesium,AnalyticalGraphicsInc/cesium,jason-crow/cesium,omh1280/cesium,progsung/cesium,wallw-bits/cesium,esraerik/cesium,NaderCHASER/cesium,likangning93/cesium,josh-bernstein/cesium,wallw-bits/cesium,CesiumGS/cesium,NaderCHASER/cesium,esraerik/cesium,oterral/cesium,aelatgt/cesium,oterral/cesium,hodbauer/cesiu...
/*global define*/ define([ '../Core/BoundingRectangle', '../Core/Color', '../Core/defined', '../Core/destroyObject', '../Core/PixelFormat', '../Renderer/ClearCommand', '../Renderer/Framebuffer', '../Renderer/PixelDatatype', '../Renderer/RenderState...
Source/Scene/OIT.js
/*global define*/ define([ '../Core/BoundingRectangle', '../Core/Color', '../Core/defined', '../Core/destroyObject', '../Core/PixelFormat', '../Renderer/ClearCommand', '../Renderer/Framebuffer', '../Renderer/PixelDatatype', '../Renderer/RenderState...
Fix typo setting a render state for OIT.
Source/Scene/OIT.js
Fix typo setting a render state for OIT.
<ide><path>ource/Scene/OIT.js <ide> } <ide> <ide> if (this._adjustTranslucentCommand) { <del> this._adjustTranslucentCommand.renderstate = this._rs; <add> this._adjustTranslucentCommand.renderState = this._rs; <ide> } <ide> <ide> if (defined(this._adjustAlphaComma...
JavaScript
mit
cc9c018e1de524f55ecbe499375feb4700efdf72
0
pogosandbox/pogobuf
/* eslint no-underscore-dangle: ["error", { "allow": ["_eventId"] }] */ const request = require('request'); const Promise = require('bluebird'); const querystring = require('querystring'); const url = require('url'); const PTC_CLIENT_SECRET = 'w8ScCUXJQc6kXKw8FiOhd8Fixzht18Dq3PEVkUCP5ZPxtgyWsbTvWHFLm2wNY0JR'; /** * ...
pogobuf/pogobuf.ptclogin.js
/* eslint no-underscore-dangle: ["error", { "allow": ["_eventId"] }] */ const request = require('request'); const Promise = require('bluebird'); const querystring = require('querystring'); const PTC_CLIENT_SECRET = 'w8ScCUXJQc6kXKw8FiOhd8Fixzht18Dq3PEVkUCP5ZPxtgyWsbTvWHFLm2wNY0JR'; /** * Pokémon Trainer Club login c...
ptc login clean up
pogobuf/pogobuf.ptclogin.js
ptc login clean up
<ide><path>ogobuf/pogobuf.ptclogin.js <ide> const request = require('request'); <ide> const Promise = require('bluebird'); <ide> const querystring = require('querystring'); <add>const url = require('url'); <ide> <ide> const PTC_CLIENT_SECRET = 'w8ScCUXJQc6kXKw8FiOhd8Fixzht18Dq3PEVkUCP5ZPxtgyWsbTvWHFLm2wNY0JR'; <ide> ...
JavaScript
mit
591593dd493c1552fd81a0a386d21be635d7e901
0
hinaloe/jqm-demo-ja,arschmitz/uglymongrel-jquery-mobile,arschmitz/uglymongrel-jquery-mobile,startxfr/jquery-mobile,arschmitz/jquery-mobile,rwaldron/jquery-mobile,startxfr/jquery-mobile,hinaloe/jqm-demo-ja,arschmitz/jquery-mobile,hinaloe/jqm-demo-ja,arschmitz/jquery-mobile,rwaldron/jquery-mobile,npmcomponent/cbou-jquery...
/* * jQuery Mobile Framework : core utilities for auto ajax navigation, base tag mgmt, * Copyright (c) jQuery Project * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license */ (function($, undefined ) { //define vars for interal use var $window = $(window), $html = $('html'), $head ...
js/jquery.mobile.navigation.js
/* * jQuery Mobile Framework : core utilities for auto ajax navigation, base tag mgmt, * Copyright (c) jQuery Project * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license */ (function($, undefined ) { //define vars for interal use var $window = $(window), $html = $('html'), $head ...
misplaced semicolon
js/jquery.mobile.navigation.js
misplaced semicolon
<ide><path>s/jquery.mobile.navigation.js <ide> //check for protocol or rel and its not an embedded page <ide> //TODO overlap in logic from isExternal, rel=external check should be <ide> // moved into more comprehensive isExternalLink <del> isExternal = path.isExternal( url ) || isRelExternal && !isEmbedd...
JavaScript
mit
889ca4d89b2e0d918fe7a5fee84334632c3bea74
0
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
// 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...
Add moj cookie message
app/assets/javascripts/application.js
Add moj cookie message
<ide><path>pp/assets/javascripts/application.js <ide> //= require cocoon <ide> //= require dropzone <ide> //= require moj <add>//= require modules/moj.cookie-message <ide> //= require_tree . <ide> <ide> /*For JSHint to ignore ADP object*/ <ide> $('#claim-accordion h2:first-of-type').addClass('open').next('section').sh...
Java
apache-2.0
fbe2157b0986eaf4ec4be5b53c1805d2bf2f8d74
0
pavolloffay/hawkular-inventory,pavolloffay/hawkular-inventory,metlos/hawkular-inventory,hawkular/hawkular-inventory,jpkrohling/hawkular-inventory,jpkrohling/hawkular-inventory,tsegismont/hawkular-inventory,hawkular/hawkular-inventory,metlos/hawkular-inventory,jkandasa/hawkular-inventory,jkandasa/hawkular-inventory,tseg...
/* * 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...
rest-servlet/src/main/java/org/hawkular/inventory/rest/exception/mappers/BadRequestExceptionMapper.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...
Fix package name and redundant import in BadRequestExceptionMapper
rest-servlet/src/main/java/org/hawkular/inventory/rest/exception/mappers/BadRequestExceptionMapper.java
Fix package name and redundant import in BadRequestExceptionMapper
<ide><path>est-servlet/src/main/java/org/hawkular/inventory/rest/exception/mappers/BadRequestExceptionMapper.java <ide> * See the License for the specific language governing permissions and <ide> * limitations under the License. <ide> */ <del>package org.hawkular.metrics.api.jaxrs.exception.mappers; <add>package org...
Java
apache-2.0
99b38c74058979fc80675bd58a02b508f74cb99d
0
JayH5/hons-simulator
package za.redbridge.simulator.sensor; import za.redbridge.simulator.object.ResourceObject; import za.redbridge.simulator.object.RobotObject; import za.redbridge.simulator.object.TargetAreaObject; import za.redbridge.simulator.object.WallObject; import za.redbridge.simulator.physics.FilterConstants; import za.redbridg...
src/main/java/za/redbridge/simulator/sensor/ThresholdedObjectProximityAgentSensor.java
package za.redbridge.simulator.sensor; import za.redbridge.simulator.object.ResourceObject; import za.redbridge.simulator.object.RobotObject; import za.redbridge.simulator.object.TargetAreaObject; import za.redbridge.simulator.object.WallObject; import za.redbridge.simulator.physics.FilterConstants; import za.redbridg...
Allows a class to which this sensor is sensitive to be specified. If thresholding is not needed, sensitivity value should be set to 1.
src/main/java/za/redbridge/simulator/sensor/ThresholdedObjectProximityAgentSensor.java
Allows a class to which this sensor is sensitive to be specified. If thresholding is not needed, sensitivity value should be set to 1.
<ide><path>rc/main/java/za/redbridge/simulator/sensor/ThresholdedObjectProximityAgentSensor.java <ide> protected static final int readingSize = 1; <ide> protected double sensitivity; <ide> <add> protected String sensitiveClass; <add> <ide> protected Class senseClass; <add> <ide> protected Color pain...
Java
apache-2.0
7164191d1789fb88d2dc09f36425ea117f3b17b9
0
DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel
package org.reldb.rel.v0.engine; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.PipedInputStream; import java.io.PipedOutputStream; import java.io.PrintStream; import org.reldb.rel.exceptions.DatabaseFormatVersionException; import org.reldb.rel.exceptions.Excepti...
ServerV0000/src/org/reldb/rel/v0/engine/Rel.java
package org.reldb.rel.v0.engine; import java.io.IOException; import java.io.InputStream; import java.io.PipedInputStream; import java.io.PipedOutputStream; import java.io.PrintStream; import org.reldb.rel.exceptions.DatabaseFormatVersionException; import org.reldb.rel.exceptions.ExceptionFatal; import org.r...
Implement Rel.convertToLatestFormat()
ServerV0000/src/org/reldb/rel/v0/engine/Rel.java
Implement Rel.convertToLatestFormat()
<ide><path>erverV0000/src/org/reldb/rel/v0/engine/Rel.java <ide> package org.reldb.rel.v0.engine; <ide> <add>import java.io.File; <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.PipedInputStream; <ide> instance.close(); <ide> } <ide> <add> /** Convert this database to the l...
Java
apache-2.0
b21da1e14ad4188c4e66b8ac76cb6254cadf2f21
0
suncycheng/intellij-community,xfournet/intellij-community,asedunov/intellij-community,allotria/intellij-community,vvv1559/intellij-community,da1z/intellij-community,suncycheng/intellij-community,da1z/intellij-community,vvv1559/intellij-community,ibinti/intellij-community,da1z/intellij-community,allotria/intellij-commun...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
java/java-psi-impl/src/com/intellij/psi/impl/light/LightJavaModule.java
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Cleanup (formatting)
java/java-psi-impl/src/com/intellij/psi/impl/light/LightJavaModule.java
Cleanup (formatting)
<ide><path>ava/java-psi-impl/src/com/intellij/psi/impl/light/LightJavaModule.java <ide> } <ide> <ide> @NotNull <del> public static LightJavaModule getModule(@NotNull final PsiManager manager, @NotNull final VirtualFile jarRoot) { <del> final PsiDirectory directory = manager.findDirectory(jarRoot); <add> publi...
JavaScript
bsd-3-clause
a904527bd0169a7ef4176ba6a0d93d55317ea6bd
0
redaktor/deliteful
dojo.provide("dojox.grid.DataGrid"); dojo.require("dojox.grid._Grid"); dojo.require("dojox.grid.DataSelection"); dojo.declare("dojox.grid.DataGrid", dojox.grid._Grid, { store: null, query: null, queryOptions: null, fetchText: '...', _store_connects: null, _by_idty: null, _by_idx: null, _cache: null, _pages:...
grid/DataGrid.js
dojo.provide("dojox.grid.DataGrid"); dojo.require("dojox.grid._Grid"); dojo.require("dojox.grid.DataSelection"); dojo.declare("dojox.grid.DataGrid", dojox.grid._Grid, { store: null, query: null, queryOptions: null, fetchText: '...', _store_connects: null, _by_idty: null, _by_idx: null, _cache: null, _pages:...
Refs: #6590 - update messages when adding/removing the first/last row !strict git-svn-id: ee6e786acc44c9cca5ee17c71a5576c45c210361@14212 560b804f-0ae3-0310-86f3-f6aa0a117693
grid/DataGrid.js
Refs: #6590 - update messages when adding/removing the first/last row !strict
<ide><path>rid/DataGrid.js <ide> _onNew: function(item, parentInfo){ <ide> this.updateRowCount(this.rowCount+1); <ide> this._addItem(item, this.rowCount-1); <add> this.showMessage(); <ide> }, <ide> <ide> _onDelete: function(item){ <ide> this._by_idx.splice(idx, 1); <ide> delete this._by_idty[o.idty]; <id...
Java
epl-1.0
c848dccdf601587fe48fc6e642dde2c39014266a
0
ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display...
/******************************************************************************* * Copyright (c) 2015 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and i...
org.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/ScriptsDialog.java
/******************************************************************************* * Copyright (c) 2015 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and i...
ScriptDialog: Fix layout
org.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/ScriptsDialog.java
ScriptDialog: Fix layout
<ide><path>rg.csstudio.display.builder.representation.javafx/src/org/csstudio/display/builder/representation/javafx/ScriptsDialog.java <ide> import javafx.scene.layout.GridPane; <ide> import javafx.scene.layout.HBox; <ide> import javafx.scene.layout.Priority; <add>import javafx.scene.layout.VBox; <ide> import javafx.st...
Java
mit
2e58b480581746a31b836ce4a3daa7a3ea23fd11
0
AC31007-Group-8/QuizSystem,AC31007-Group-8/QuizSystem,AC31007-Group-8/QuizSystem
package com.github.ac31007_group_8.quiz; import org.jooq.DSLContext; import org.jooq.SQLDialect; import org.jooq.impl.DSL; import javax.annotation.ParametersAreNonnullByDefault; import java.sql.Connection; import java.sql.DriverManager; /** * Database handler. * * @author Robert T. */ @ParametersAreNonnullByDefa...
src/main/java/com/github/ac31007_group_8/quiz/Database.java
package com.github.ac31007_group_8.quiz; import org.jooq.DSLContext; import org.jooq.SQLDialect; import org.jooq.impl.DSL; import javax.annotation.ParametersAreNonnullByDefault; import java.sql.Connection; import java.sql.DriverManager; /** * Database handler. * * @author Robert T. */ @ParametersAreNonnullByDefa...
Added a method (non-working) to return number of table entries to Database.java
src/main/java/com/github/ac31007_group_8/quiz/Database.java
Added a method (non-working) to return number of table entries to Database.java
<ide><path>rc/main/java/com/github/ac31007_group_8/quiz/Database.java <ide> * @param tableName - Name of table to return entry count from <ide> * @return # of entries <ide> */ <add> public static int getJooqTableCount(String tableName) { <add> DSL.using(getConnection(), SQLDialect.MYSQL); <add>...
Java
bsd-3-clause
cf01c35917ce726cc6572939249e5a9d9c12ee68
0
scala/scala-jline,kaulkie/jline2,renew-tgi/jline2,tkruse/jline2,fantasy86/jline2,DALDEI/jline2,ctubbsii/jline2,msaxena2/jline2,scala/scala-jline
/* * Copyright (c) 2002-2012, the original author or authors. * * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. * * http://www.opensource.org/licenses/bsd-license.php */ package jline; import java.text.MessageFormat; im...
src/main/java/jline/TerminalFactory.java
/* * Copyright (c) 2002-2012, the original author or authors. * * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. * * http://www.opensource.org/licenses/bsd-license.php */ package jline; import java.text.MessageFormat; im...
Account for null TERM
src/main/java/jline/TerminalFactory.java
Account for null TERM
<ide><path>rc/main/java/jline/TerminalFactory.java <ide> } <ide> <ide> String type = Configuration.getString(JLINE_TERMINAL, AUTO); <del> if (System.getenv("TERM").equals("dumb")) { <add> if ("dumb".equals(System.getenv("TERM"))) { <ide> type = "none"; <ide> Log.de...
Java
apache-2.0
fb839a3c19e78d9ae0d06c78694f61e34705369c
0
XDean/ExtendableTool
package xdean.screenShot; import java.awt.Robot; import java.awt.image.BufferedImage; import javafx.application.Platform; import javafx.embed.swing.SwingFXUtils; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.i...
Tool-My/ScreenShot/src/main/java/xdean/screenShot/ScreenShot.java
package xdean.screenShot; import java.awt.Robot; import java.awt.image.BufferedImage; import javafx.application.Platform; import javafx.embed.swing.SwingFXUtils; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.i...
fix multi-register
Tool-My/ScreenShot/src/main/java/xdean/screenShot/ScreenShot.java
fix multi-register
<ide><path>ool-My/ScreenShot/src/main/java/xdean/screenShot/ScreenShot.java <ide> } <ide> } <ide> <del> // FIXME unregister and register again will lead double listener <ide> public void register() { <ide> JIntellitype jni = JIntellitype.getInstance(); <ide> jni.registerHotKey(0, Config.getProperty(KE...
Java
apache-2.0
ec596dadd96df07c9315d0955c6f5e09f07f2d1f
0
j-bernardo/lumify,dvdnglnd/lumify,TeamUDS/lumify,j-bernardo/lumify,TeamUDS/lumify,dvdnglnd/lumify,lumifyio/lumify,Steimel/lumify,RavenB/lumify,j-bernardo/lumify,j-bernardo/lumify,bings/lumify,Steimel/lumify,lumifyio/lumify,Steimel/lumify,bings/lumify,RavenB/lumify,RavenB/lumify,RavenB/lumify,TeamUDS/lumify,TeamUDS/lumi...
package com.altamiracorp.lumify.web.routes.artifact; import com.altamiracorp.lumify.core.ingest.video.VideoPlaybackDetails; import com.altamiracorp.lumify.core.model.artifact.Artifact; import com.altamiracorp.lumify.core.model.artifact.ArtifactRepository; import com.altamiracorp.lumify.core.model.artifact.ArtifactRowK...
lumify-web/src/main/java/com/altamiracorp/lumify/web/routes/artifact/ArtifactRawByRowKey.java
package com.altamiracorp.lumify.web.routes.artifact; import com.altamiracorp.lumify.core.ingest.video.VideoPlaybackDetails; import com.altamiracorp.lumify.core.model.artifact.Artifact; import com.altamiracorp.lumify.core.model.artifact.ArtifactRepository; import com.altamiracorp.lumify.core.model.artifact.ArtifactRowK...
[#63478348] strip extension with date from filename
lumify-web/src/main/java/com/altamiracorp/lumify/web/routes/artifact/ArtifactRawByRowKey.java
[#63478348] strip extension with date from filename
<ide><path>umify-web/src/main/java/com/altamiracorp/lumify/web/routes/artifact/ArtifactRawByRowKey.java <ide> } <ide> <ide> private String getFileName(Artifact artifact) { <del> return artifact.getMetadata().getFileName() + "." + artifact.getMetadata().getFileExtension(); <add> return artifact.ge...
Java
bsd-2-clause
a1d8923f7bee5740acb92e023950fb0ecae55363
0
stavamichal/perun,CESNET/perun,licehammer/perun,jirmauritz/perun,balcirakpeter/perun,Natrezim/perun,jirmauritz/perun,ondrejvelisek/perun,balcirakpeter/perun,licehammer/perun,dsarman/perun,D3jph/perun,mvocu/perun,jirmauritz/perun,stavamichal/perun,Natrezim/perun,martin-kuba/perun,dsarman/perun,Natrezim/perun,jirmauritz/...
package cz.metacentrum.perun.registrar.modules; import cz.metacentrum.perun.core.api.*; import cz.metacentrum.perun.core.api.exceptions.AlreadyMemberException; import cz.metacentrum.perun.core.api.exceptions.GroupNotExistsException; import cz.metacentrum.perun.core.api.exceptions.InternalErrorException; import cz.meta...
perun-registrar-lib/src/main/java/cz/metacentrum/perun/registrar/modules/Metacentrum.java
package cz.metacentrum.perun.registrar.modules; import cz.metacentrum.perun.core.api.*; import cz.metacentrum.perun.core.api.exceptions.AlreadyMemberException; import cz.metacentrum.perun.core.api.exceptions.GroupNotExistsException; import cz.metacentrum.perun.core.api.exceptions.PerunException; import cz.metacentrum....
REGISTRAR: Catch also InternalErrorException - Allow to approve applications even when user entered not valid group name.
perun-registrar-lib/src/main/java/cz/metacentrum/perun/registrar/modules/Metacentrum.java
REGISTRAR: Catch also InternalErrorException
<ide><path>erun-registrar-lib/src/main/java/cz/metacentrum/perun/registrar/modules/Metacentrum.java <ide> import cz.metacentrum.perun.core.api.*; <ide> import cz.metacentrum.perun.core.api.exceptions.AlreadyMemberException; <ide> import cz.metacentrum.perun.core.api.exceptions.GroupNotExistsException; <add>import cz.me...
JavaScript
mit
34eac523f07f0755500eb6d30edda6a8839433f5
0
opennode/waldur-homeport,opennode/waldur-homeport,opennode/waldur-homeport,opennode/waldur-homeport
(function() { angular.module('ncsaas') .controller('ProjectEventTabController', [ '$stateParams', 'projectsService', 'baseEventListController', 'currentStateService', ProjectEventTabController ]); function ProjectEventTabController($stateParams, projectsService, baseEventListC...
app/scripts/controllers/projects-tabs-controllers.js
(function() { angular.module('ncsaas') .controller('ProjectEventTabController', [ '$stateParams', 'projectsService', 'baseEventListController', 'currentStateService', ProjectEventTabController ]); function ProjectEventTabController($stateParams, projectsService, baseEventListC...
Removed unnecessary call to getList from projectUsersList controller
app/scripts/controllers/projects-tabs-controllers.js
Removed unnecessary call to getList from projectUsersList controller
<ide><path>pp/scripts/controllers/projects-tabs-controllers.js <ide> ] <ide> }; <ide> }, <del> getList: function(filter) { <del> return this._super(angular.extend(this.getFilter(), filter)); <del> }, <ide> getFilter: function() { <ide> return {operation: 'users', U...
Java
apache-2.0
a57428151f5ef70568d71e0b4433b407085dd7e2
0
HappyRay/azkaban,azkaban/azkaban,chengren311/azkaban,chengren311/azkaban,HappyRay/azkaban,azkaban/azkaban,chengren311/azkaban,HappyRay/azkaban,HappyRay/azkaban,chengren311/azkaban,azkaban/azkaban,HappyRay/azkaban,azkaban/azkaban,azkaban/azkaban,azkaban/azkaban,chengren311/azkaban,HappyRay/azkaban
/* * Copyright 2012 LinkedIn Corp. * * 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 i...
az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/HadoopPigJob.java
/* * Copyright 2012 LinkedIn Corp. * * 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 i...
Only incorporate user pig additional jar setting or system's but not both (#2006) We ran into a bug in the production environment. Users' jars cannot override default pig libraries. It was found that AZ always adds pig additional jar if pig job type defines it under plugin.properties. The fix is straightforward. If a ...
az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/HadoopPigJob.java
Only incorporate user pig additional jar setting or system's but not both (#2006)
<ide><path>z-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/HadoopPigJob.java <ide> return udfImports; <ide> } <ide> <add> /** <add> * Merging all additional jars first from user specified property <add> * and private.properties (in the jobtype property) for additionalJarProperty <add> * TODO kunkun-...
Java
lgpl-2.1
53383610cd2f6f0e46033f3358f761881ab9fc22
0
GrammaticalFramework/JPGF,GrammaticalFramework/JPGF,GrammaticalFramework/JPGF,GrammaticalFramework/JPGF
package org.grammaticalframework.linearizer; import org.grammaticalframework.Trees.Absyn.*; import org.grammaticalframework.reader.*; import java.io.FileInputStream; import java.util.Iterator; import java.util.Random; import java.util.HashMap; import java.util.HashSet; import java.util.Vector; public class Generator ...
src/main/java/org/grammaticalframework/linearizer/Generator.java
package org.grammaticalframework.linearizer; import org.grammaticalframework.Trees.Absyn.*; import org.grammaticalframework.reader.*; import java.io.FileInputStream; import java.util.Iterator; import java.util.Random; import java.util.HashMap; import java.util.HashSet; import java.util.Vector; public class Generator ...
[Style] Layout Ignore-this: 5501e9747c441e16bb835f4f7d5ae5d0 darcs-hash:20100621125749-e7b0d-173a878f712247446470f752c8c2c8f01f18a655.gz
src/main/java/org/grammaticalframework/linearizer/Generator.java
[Style] Layout
<ide><path>rc/main/java/org/grammaticalframework/linearizer/Generator.java <ide> } <ide> <ide> /** generates a category with a random direct rule <del> * suitable for simple expressions <del>**/ <del>public Tree getDirect(String type, HashSet<String> dirFuns) <del>{Iterator<String> it = dirFuns.iterator(); <de...
JavaScript
bsd-3-clause
67f7197d74bcfda1c9156c3be5ce6a74c8ea720d
0
ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import * as SDK from '../sdk/sdk.js'; export class InputModel extends SDK.SDKModel.SDKModel { /** * @param {!SDK.SDKModel.Target} target */ con...
front_end/screencast/InputModel.js
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import * as SDK from '../sdk/sdk.js'; export class InputModel extends SDK.SDKModel.SDKModel { /** * @param {!SDK.SDKModel.Target} target */ con...
Changed to WheelEvent instead of non-standard MouseWheelEvent in screencast Bug:1145518 Change-Id: I467a5535a852bb6e0223eb4c478daf9e321ebcba Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2550766 Commit-Queue: Paul Lewis <8915f5d5c39a08c5a3e8a8d7314756e4580816f9@chromium.org> Revi...
front_end/screencast/InputModel.js
Changed to WheelEvent instead of non-standard MouseWheelEvent in screencast
<ide><path>ront_end/screencast/InputModel.js <ide> clickCount: 0, <ide> }; <ide> if (event.type === 'mousewheel') { <del> // TODO(crbug.com/1145518) Remove usage of MouseWheelEvent. <del> const mouseWheelEvent = /** @type {*} */ (mouseEvent); <del> params.deltaX = mouseWheelEvent.wheelDelta...
JavaScript
agpl-3.0
bf65515e23ff5f5901fbc307696db0cbc2713ffa
0
PeteBa/OpenSprinkler-App,PeteBa/OpenSprinkler-App,OpenSprinkler/OpenSprinkler-App,OpenSprinkler/OpenSprinkler-App,OpenSprinkler/OpenSprinkler-App,PeteBa/OpenSprinkler-App
var isIEMobile = /IEMobile/.test(navigator.userAgent), isAndroid = /Android|\bSilk\b/.test(navigator.userAgent), isiOS = /iP(ad|hone|od)/.test(navigator.userAgent); //Fix CSS for IE Mobile (Windows Phone 8) if (isIEMobile) { var a=document.createElement("style"); a.innerHTML="ul{list-style: none !impor...
js/main.js
var isIEMobile = /IEMobile/.test(navigator.userAgent), isAndroid = /Android|\bSilk\b/.test(navigator.userAgent), isiOS = /iP(ad|hone|od)/.test(navigator.userAgent); //Fix CSS for IE Mobile (Windows Phone 8) if (isIEMobile) { var a=document.createElement("style"); a.innerHTML="ul{list-style: none !impor...
Base: Initial change to storage wrapper
js/main.js
Base: Initial change to storage wrapper
<ide><path>s/main.js <ide> $(document) <ide> .ready(function() { <ide> //Update the language on the page using the browser's locale <del> update_lang(get_locale()); <add> update_lang(); <ide> <ide> //Use the user's local time for preview <ide> var now = new Date(); <ide> }); <ide> ...
Java
mit
error: pathspec 'src/test/java/com/emc/mongoose/metrics/util/MetricsCollectorTest.java' did not match any file(s) known to git
d9e584ff402c066b0f372416492769267a54f289
1
emc-mongoose/mongoose
package com.emc.mongoose.metrics.util; import io.prometheus.client.Collector; import org.junit.Assert; import org.junit.Test; import java.util.List; /** @author veronika K. on 09.10.18 */ public class MetricsCollectorTest { private final MetricsCollector metricsCollector = new MetricsCollector(); private final i...
src/test/java/com/emc/mongoose/metrics/util/MetricsCollectorTest.java
save (added MetricsCollector) [skip ci]
src/test/java/com/emc/mongoose/metrics/util/MetricsCollectorTest.java
save (added MetricsCollector) [skip ci]
<ide><path>rc/test/java/com/emc/mongoose/metrics/util/MetricsCollectorTest.java <add>package com.emc.mongoose.metrics.util; <add> <add>import io.prometheus.client.Collector; <add>import org.junit.Assert; <add>import org.junit.Test; <add> <add>import java.util.List; <add> <add>/** <add> @author veronika K. on 09.10.18 *...
Java
apache-2.0
2c493f7465aa3ada82b7f100df5e4aa27de80582
0
mpi2/PhenotypeArchive,mpi2/PhenotypeArchive,mpi2/PhenotypeArchive
/** * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. /** * Copyright © 2014 EMBL - European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); ...
src/main/java/uk/ac/ebi/phenotype/solr/indexer/IndexerManager.java
/** * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. /** * Copyright © 2014 EMBL - European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); ...
Forgot to add _staging to experiment, g-p and statistical-result core names.
src/main/java/uk/ac/ebi/phenotype/solr/indexer/IndexerManager.java
Forgot to add _staging to experiment, g-p and statistical-result core names.
<ide><path>rc/main/java/uk/ac/ebi/phenotype/solr/indexer/IndexerManager.java <ide> <ide> // core names. <ide> // These are built only for a new data release. <del> public static final String OBSERVATION_CORE = "experiment"; // For historic reasons, the core's actual name is 'experim...
Java
apache-2.0
15c227d8042a09d6a95d67d4c217fa650945c757
0
ibinti/intellij-community,ibinti/intellij-community,allotria/intellij-community,suncycheng/intellij-community,asedunov/intellij-community,ibinti/intellij-community,suncycheng/intellij-community,suncycheng/intellij-community,ThiagoGarciaAlves/intellij-community,asedunov/intellij-community,ThiagoGarciaAlves/intellij-comm...
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/platform-impl/src/com/intellij/ui/FontComboBox.java
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
FIXED IDEA-174367 Font settings: Can't set non-monospace fallback font
platform/platform-impl/src/com/intellij/ui/FontComboBox.java
FIXED IDEA-174367 Font settings: Can't set non-monospace fallback font
<ide><path>latform/platform-impl/src/com/intellij/ui/FontComboBox.java <ide> import com.intellij.openapi.application.ApplicationBundle; <ide> import com.intellij.openapi.application.ApplicationManager; <ide> import com.intellij.openapi.ui.ComboBox; <add>import com.intellij.openapi.util.Comparing; <ide> import com.intel...
Java
apache-2.0
8a506e66a66c004a7a253e3dd28845517da8a967
0
aureagle/cassandra,heiko-braun/cassandra,juiceblender/cassandra,emolsson/cassandra,thobbs/cassandra,project-zerus/cassandra,pofallon/cassandra,yanbit/cassandra,codefollower/Cassandra-Research,boneill42/cassandra,weideng1/cassandra,mt0803/cassandra,adejanovski/cassandra,hengxin/cassandra,tommystendahl/cassandra,jkni/cas...
/* * 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 ...
src/java/org/apache/cassandra/tracing/TraceState.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 ...
remove unused 'threadName' var
src/java/org/apache/cassandra/tracing/TraceState.java
remove unused 'threadName' var
<ide><path>rc/java/org/apache/cassandra/tracing/TraceState.java <ide> public static void trace(final ByteBuffer sessionIdBytes, final String message, final int elapsed) <ide> { <ide> final ByteBuffer eventId = ByteBuffer.wrap(UUIDGen.getTimeUUIDBytes()); <del> final String threadName = Thread.cur...
Java
apache-2.0
913778b37a076e963b84df483f5c77e72f62c6c6
0
uschindler/elasticsearch,gfyoung/elasticsearch,gfyoung/elasticsearch,robin13/elasticsearch,coding0011/elasticsearch,GlenRSmith/elasticsearch,nknize/elasticsearch,uschindler/elasticsearch,scorpionvicky/elasticsearch,HonzaKral/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,gfyoung/elasticsearch,coding0011/...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
server/src/main/java/org/elasticsearch/search/aggregations/bucket/range/InternalRange.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Update the version checks around range bucket keys, now that the change was backported.
server/src/main/java/org/elasticsearch/search/aggregations/bucket/range/InternalRange.java
Update the version checks around range bucket keys, now that the change was backported.
<ide><path>erver/src/main/java/org/elasticsearch/search/aggregations/bucket/range/InternalRange.java <ide> <ide> @Override <ide> public void writeTo(StreamOutput out) throws IOException { <del> if (out.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) { <add> if (out.getVersion().on...
Java
agpl-3.0
330b151af6953d902130f9140efa63c9e964ab60
0
picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons
package picoded.jSql.db; import java.lang.String; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.logging.Logger; import ja...
src/picoded/jSql/db/JSql_Mssql.java
package picoded.jSql.db; import java.lang.String; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.logging.Logger; import ja...
source beautification
src/picoded/jSql/db/JSql_Mssql.java
source beautification
<ide><path>rc/picoded/jSql/db/JSql_Mssql.java <ide> /// <ide> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.SQL} <ide> /// MERGE <del> /// INTO destTable d <del> /// USING ( <del> /// SELECT * <del> /// FROM sourceTable <del> /// ) s <del> /// ON (s.id =...
Java
apache-2.0
4389080392477538fc9e50f9712a69e8e8c5bd46
0
cfieber/clouddriver,ajordens/clouddriver,duftler/clouddriver,cfieber/clouddriver,duftler/clouddriver,ajordens/clouddriver,cfieber/clouddriver,duftler/clouddriver,spinnaker/clouddriver,ajordens/clouddriver,spinnaker/clouddriver,spinnaker/clouddriver,ajordens/clouddriver,duftler/clouddriver
/* * Copyright 2017 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
clouddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/description/manifest/KubernetesManifestAnnotater.java
/* * Copyright 2017 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
feat(provider/kubernetes): default to frigga (#2156)
clouddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/description/manifest/KubernetesManifestAnnotater.java
feat(provider/kubernetes): default to frigga (#2156)
<ide><path>louddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/description/manifest/KubernetesManifestAnnotater.java <ide> import com.fasterxml.jackson.core.JsonProcessingException; <ide> import com.fasterxml.jackson.core.type.TypeReference; <ide> import com.fasterxml.jackson.databind....
Java
apache-2.0
10478c8e8ffff4cec8b27dd37e3ebe2dd37ed4f9
0
tremes/deltaspike,rafabene/deltaspike,apache/deltaspike,chkal/deltaspike,rafabene/deltaspike,jharting/deltaspike,tremes/deltaspike,subaochen/deltaspike,apache/deltaspike,idontgotit/deltaspike,subaochen/deltaspike,chkal/deltaspike,subaochen/deltaspike,os890/DeltaSpikePlayground,tremes/deltaspike,os890/deltaspike-vote,os...
/* * 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 ma...
deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/exception/DeltaSpikeExceptionHandler.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 ma...
DELTASPIKE-529 fixed initialization in non-EE environment
deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/exception/DeltaSpikeExceptionHandler.java
DELTASPIKE-529 fixed initialization in non-EE environment
<ide><path>eltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/exception/DeltaSpikeExceptionHandler.java <ide> public class DeltaSpikeExceptionHandler extends ExceptionHandlerWrapper implements Deactivatable <ide> { <ide> private final ExceptionHandler wrapped; <del> private final Annotation ...
Java
apache-2.0
9bbbd8c89b256fe9095e0a9839c4d290d6d563e6
0
scalio/storypath,scalio/storypath,n8fr8/storypath,StoryMaker/storypath,StoryMaker/storypath,n8fr8/storypath,scalio/storypath,StoryMaker/storypath,n8fr8/storypath
package scal.io.liger; import android.content.Context; import android.content.res.AssetManager; import android.os.Environment; import android.util.Log; import com.android.vending.expansion.zipfile.ZipResourceFile; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToke...
lib/src/main/java/scal/io/liger/QueueManager.java
package scal.io.liger; import android.content.Context; import android.content.res.AssetManager; import android.os.Environment; import android.util.Log; import com.android.vending.expansion.zipfile.ZipResourceFile; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToke...
simplifying code by removing useless null checks
lib/src/main/java/scal/io/liger/QueueManager.java
simplifying code by removing useless null checks
<ide><path>ib/src/main/java/scal/io/liger/QueueManager.java <ide> return cachedQueue; <ide> } <ide> <del> if ((queueJson != null) && (queueJson.length() > 0)) { <add> if ((queueJson.length() > 0)) { <ide> GsonBuilder gBuild = new GsonBuilder(); <ide> Gson gson ...
Java
apache-2.0
eb5d0f795372bc9fb5dc11d84670926f978b1821
0
Shvid/protostuff,protostuff/protostuff,svn2github/protostuff,protostuff/protostuff,dyu/protostuff,tsheasha/protostuff,svn2github/protostuff,myxyz/protostuff,tsheasha/protostuff,myxyz/protostuff,Shvid/protostuff,dyu/protostuff
//======================================================================== //Copyright 2007-2009 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance wit...
protostuff-core/src/main/java/com/dyuproject/protostuff/CodedOutput.java
//======================================================================== //Copyright 2007-2009 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance wit...
fix write raw little endian git-svn-id: 3d5cc44e79dd7516812cdf5c8b2c4439073f5b70@534 3b38d51a-9144-11de-8ad7-8b2c2f1e2016
protostuff-core/src/main/java/com/dyuproject/protostuff/CodedOutput.java
fix write raw little endian
<ide><path>rotostuff-core/src/main/java/com/dyuproject/protostuff/CodedOutput.java <ide> buffer[offset++] = (byte)(value & 0xFF); <ide> buffer[offset++] = (byte)(value >> 8 & 0xFF); <ide> buffer[offset++] = (byte)(value >> 16 & 0xFF); <del> buffer[offset++] = (byte)(value >> 24 & 0xFF); <add> buffer[o...
Java
apache-2.0
113ec5053e6215dccf7cf872704789c6504e9e80
0
venicegeo/pz-servicecontroller,venicegeo/pz-servicecontroller,venicegeo/pz-servicecontroller
/******************************************************************************* * Copyright 2016, RadiantBlue Technologies, 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 * * ...
mainServiceController/src/main/java/org/venice/piazza/servicecontroller/elasticsearch/accessors/ElasticSearchAccessor.java
/******************************************************************************* * Copyright 2016, RadiantBlue Technologies, 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 * * ...
Updated to add more debug
mainServiceController/src/main/java/org/venice/piazza/servicecontroller/elasticsearch/accessors/ElasticSearchAccessor.java
Updated to add more debug
<ide><path>ainServiceController/src/main/java/org/venice/piazza/servicecontroller/elasticsearch/accessors/ElasticSearchAccessor.java <ide> SERVICEMETADATA_UPDATE_URL = coreServiceProperties.getPzServicemetadataUpdateUrl(); <ide> SERVICEMETADATA_DELETE_URL = coreServiceProperties.getPzServicemetadataDeleteUrl(); <id...
JavaScript
agpl-3.0
2bde01bd4547c080710e3a44af64a8a073823d4b
0
akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow
// ************************ Surveys ************************* FLOW.SurveySidebarView = Ember.View.extend({ surveyTitle:null, surveyDescription: null, surveyTypeControl:null, surveySectorTypeControl:null, init: function(){ this._super(); this.set('surveyTitle',FLOW.selectedControl.selectedSurvey.get('name'));...
Dashboard/app/js/lib/views/survey-details-views.js
// ************************ Surveys ************************* FLOW.SurveySidebarView = Ember.View.extend({ surveyTitle:null, surveyDescription: null, surveyTypeControl:null, surveySectorTypeControl:null, init: function(){ this._super(); this.set('surveyTitle',FLOW.selectedControl.selectedSurvey.get('name'));...
display code instead of name field in question group
Dashboard/app/js/lib/views/survey-details-views.js
display code instead of name field in question group
<ide><path>ashboard/app/js/lib/views/survey-details-views.js <ide> }, <ide> <ide> doQGroupNameEdit: function() { <del> this.set('questionGroupName',this.content.get('name')); <add> this.set('questionGroupName',this.content.get('code')); <ide> this.set('showQGroupNameEditField',true); <ide> }, <ide>
Java
apache-2.0
87f08e376d95e1cb27777858b402ccc8500d435b
0
3sidedcube/Android-LightningUi
package com.cube.storm.ui.fragment; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import com.cube.storm.UiSettings; impor...
library/src/main/java/com/cube/storm/ui/fragment/StormStaticFragment.java
package com.cube.storm.ui.fragment; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import com.cube.storm.UiSettings; import com.cube.storm.ui.R; import c...
Added onsaveinstancestate for storm static fragment
library/src/main/java/com/cube/storm/ui/fragment/StormStaticFragment.java
Added onsaveinstancestate for storm static fragment
<ide><path>ibrary/src/main/java/com/cube/storm/ui/fragment/StormStaticFragment.java <ide> import android.net.Uri; <ide> import android.os.Bundle; <ide> import android.support.v4.app.Fragment; <add>import android.text.TextUtils; <ide> import android.view.LayoutInflater; <ide> import android.view.View; <ide> import andro...
Java
mit
99767d68824bbcf1fb99b38d742a69f1ea7e0fa0
0
rsandell/jenkins,oleg-nenashev/jenkins,rsandell/jenkins,ikedam/jenkins,damianszczepanik/jenkins,jenkinsci/jenkins,DanielWeber/jenkins,pjanouse/jenkins,daniel-beck/jenkins,v1v/jenkins,recena/jenkins,recena/jenkins,viqueen/jenkins,daniel-beck/jenkins,jenkinsci/jenkins,ikedam/jenkins,v1v/jenkins,MarkEWaite/jenkins,viqueen...
/* * The MIT License * * Copyright 2016 CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
test/src/test/java/hudson/model/ViewDescriptorTest.java
/* * The MIT License * * Copyright 2016 CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
Increase timeout on test to stop flaking
test/src/test/java/hudson/model/ViewDescriptorTest.java
Increase timeout on test to stop flaking
<ide><path>est/src/test/java/hudson/model/ViewDescriptorTest.java <ide> r.submit(editViewForm); <ide> <ide> //Check that the description is updated on view <del> Awaitility.waitAtMost(3, TimeUnit.SECONDS).until(() -> webClient.getPage(myListView) <add> Awaitility.waitAtMost(10, TimeUnit.S...
Java
apache-2.0
83a37fcf54c15ed2e19352aeab6e8ae49d3db51e
0
shaunstanislaus/Doradus,kod3r/Doradus,shaunstanislaus/Doradus,dell-oss/Doradus,kod3r/Doradus,dell-oss/Doradus,kod3r/Doradus,shaunstanislaus/Doradus,dell-oss/Doradus
/* * Copyright (C) 2014 Dell, 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 o...
test-processor/src/com/dell/doradus/testprocessor/diff/Differ.java
/* * Copyright (C) 2014 Dell, 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 o...
Splitting into lines corrected
test-processor/src/com/dell/doradus/testprocessor/diff/Differ.java
Splitting into lines corrected
<ide><path>est-processor/src/com/dell/doradus/testprocessor/diff/Differ.java <ide> private DiffResult createLineDiffs(String textA, String textB) <ide> throws Exception <ide> { <del> String[] sourceLinesA = textA.split(Utils.EOL); <del> String[] sourceLinesB = textB.split(Utils.EOL); <del> ...
Java
mit
9194c49915ee0a0e3fb1e22242d6fbc505ad89e3
0
chennanni/the-brave-rats
package com.north.cardspack; import com.north.gamecore.Card; public class Ambassador extends Card { private final int NUMBER = 4; private final String NAME = "Ambassador"; private final String DESCRIPTION ="If you win, it counts as 2 rounds."; public Ambassador() { super.setNumber(NUMBER); super.setName(NAM...
src/com/north/cardspack/Ambassador.java
package com.north.cardspack; public class Ambassador extends Card { private final int NUMBER = 4; private final String NAME = "Ambassador"; private final String DESCRIPTION ="If you win, it counts as 2 rounds."; Ambassador() { super.setNumber(NUMBER); super.setName(NAME); super.setDescription(DESCRIPTION);...
Update Ambassador.java
src/com/north/cardspack/Ambassador.java
Update Ambassador.java
<ide><path>rc/com/north/cardspack/Ambassador.java <ide> package com.north.cardspack; <add> <add>import com.north.gamecore.Card; <ide> <ide> public class Ambassador extends Card { <ide> private final int NUMBER = 4; <ide> private final String NAME = "Ambassador"; <ide> private final String DESCRIPTION ="If you win, ...
Java
bsd-3-clause
ea101e5f47f559840c08568d17f3744c6f6d7882
0
FRCteam4909/2017-Steamworks
package org.usfirst.frc4909.STEAMWORKS.utils; import org.usfirst.frc4909.STEAMWORKS.Robot; import org.usfirst.frc4909.STEAMWORKS.PID.PIDController; import org.usfirst.frc4909.STEAMWORKS.utils.Subsystem; import com.kauailabs.navx.frc.AHRS; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first.wpilibj.Timer; ...
src/org/usfirst/frc4909/STEAMWORKS/utils/DrivetrainSubsystem.java
package org.usfirst.frc4909.STEAMWORKS.utils; import org.usfirst.frc4909.STEAMWORKS.Robot; import org.usfirst.frc4909.STEAMWORKS.PID.PIDController; import org.usfirst.frc4909.STEAMWORKS.utils.Subsystem; import com.kauailabs.navx.frc.AHRS; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first.wpilibj.Timer; ...
Fix Teleop. Drive Code
src/org/usfirst/frc4909/STEAMWORKS/utils/DrivetrainSubsystem.java
Fix Teleop. Drive Code
<ide><path>rc/org/usfirst/frc4909/STEAMWORKS/utils/DrivetrainSubsystem.java <ide> <ide> public void moveTank(){ <ide> double leftY = Robot.oi.getLeftDriveJoystick().getThresholdAxis(1, 0.15); <del> double rightY = Robot.oi.getLeftDriveJoystick().getThresholdAxis(1, 0.15); <add> double rightY = Robot.oi....
Java
mit
9fa85555359b82fe3dc398ddb8f2dceed2b6f6c3
0
trustyuri/trustyuri-java,trustyuri/trustyuri-java
package ch.tkuhn.hashuri.rdf; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.tuple.Pair; import org.openrdf.model.Resource; import org.openrdf.model.Statement; import org.openrdf.model.URI; import org.openrdf.model.Value; import org.o...
src/main/java/ch/tkuhn/hashuri/rdf/RdfFileContent.java
package ch.tkuhn.hashuri.rdf; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.tuple.Pair; import org.openrdf.model.Resource; import org.openrdf.model.Statement; import org.openrdf.model.URI; import org.openrdf.model.Value; import org.o...
Entity map should not be static
src/main/java/ch/tkuhn/hashuri/rdf/RdfFileContent.java
Entity map should not be static
<ide><path>rc/main/java/ch/tkuhn/hashuri/rdf/RdfFileContent.java <ide> <ide> public class RdfFileContent implements RDFHandler { <ide> <del> static Map<Value,Value> rdfEntityMap = new HashMap<>(); <add> private Map<Value,Value> rdfEntityMap = new HashMap<>(); <ide> <ide> private RDFFormat originalFormat = null; <i...
Java
apache-2.0
5b6a4f18c6b918c865a2556aa5d92ed0ed1cb238
0
virajs/selenium-1,virajs/selenium-1,virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,winhamwr/selenium,virajs/selenium-1,virajs/selenium-1,virajs/selenium-1,virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,winhamwr/selenium
/* Copyright 2011 WebDriver committers Copyright 2011 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
java/client/src/org/openqa/selenium/ie/InternetExplorerDriverServer.java
/* Copyright 2011 WebDriver committers Copyright 2011 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
DanielWagnerHall: Lock on InternetExplorerDriverServer.class when initing the DLL, for added safety git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@12802 07704840-8298-11de-bf8c-fd130f914ac9
java/client/src/org/openqa/selenium/ie/InternetExplorerDriverServer.java
DanielWagnerHall: Lock on InternetExplorerDriverServer.class when initing the DLL, for added safety
<ide><path>ava/client/src/org/openqa/selenium/ie/InternetExplorerDriverServer.java <ide> } <ide> } <ide> <del> private static IEServer initializeLib() { <add> private static synchronized IEServer initializeLib() { <ide> File parentDir = TemporaryFilesystem.getDefaultTmpFS().createTempDir("webdriver", "libs...
Java
mit
6e54fdd957d649707624ab20cab209b6019410f4
0
jotatoledo/Programmieren-WS16-17
package test.java.tessellation; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import org.junit.Test; import main.java.tessellation.Board; import main.java.tessellation.LineType; import main.java.tessellation.Tile; /** * Unit test for {@linkplain Board} * @author Jose Toledo Navarro ...
src/test/java/tessellation/BoardTest.java
package test.java.tessellation; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import org.junit.Test; import main.java.tessellation.Board; import main.java.tessellation.LineType; import main.java.tessellation.Tile; /** * Unit test for {@linkplain Board} * @author Jose Toledo Navarro *...
Reorganised imports
src/test/java/tessellation/BoardTest.java
Reorganised imports
<ide><path>rc/test/java/tessellation/BoardTest.java <ide> import main.java.tessellation.Board; <ide> import main.java.tessellation.LineType; <ide> import main.java.tessellation.Tile; <add> <ide> /** <ide> * Unit test for {@linkplain Board} <ide> * @author Jose Toledo Navarro
Java
agpl-3.0
0b6ded37a6ce4afccbb71099c02c58379f7af04c
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
f6366ee8-2e61-11e5-9284-b827eb9e62be
hello.java
f630f3dc-2e61-11e5-9284-b827eb9e62be
f6366ee8-2e61-11e5-9284-b827eb9e62be
hello.java
f6366ee8-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>f630f3dc-2e61-11e5-9284-b827eb9e62be <add>f6366ee8-2e61-11e5-9284-b827eb9e62be
JavaScript
isc
b214a2e880f7822a469918d42746fc40f44f120d
0
Kryten0807/cacofonix
// the eslint "no-unused-expressions" rule is triggered by the `expect` // assertions in the tests. So, in order to avoid problems with eslint, I'm // disabling that rule in this file // /* eslint-disable no-unused-expressions */ import React from 'react'; import { shallow, render, mount } from 'enzyme'; import chai f...
src/components/form/TextInput.spec.js
// the eslint "no-unused-expressions" rule is triggered by the `expect` // assertions in the tests. So, in order to avoid problems with eslint, I'm // disabling that rule in this file // /* eslint-disable no-unused-expressions */ import React from 'react'; import { shallow, render, mount } from 'enzyme'; import chai f...
added notes for complete testing of required & pattern
src/components/form/TextInput.spec.js
added notes for complete testing of required & pattern
<ide><path>rc/components/form/TextInput.spec.js <ide> <ide> }); <ide> <add> <add>/* ***************************************************************************** <add>when changing (and blurring) the value of a TextInput <add> should display validation error when required=true and value=blank <add> should not d...
Java
lgpl-2.1
16a79ec56af99c286ddaaf39c7ff2e569e1b3127
0
pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform
/* * 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...
xwiki-platform-core/xwiki-platform-xar/src/main/java/org/xwiki/xar/XarEntry.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] Remove unneeded field
xwiki-platform-core/xwiki-platform-xar/src/main/java/org/xwiki/xar/XarEntry.java
[misc] Remove unneeded field
<ide><path>wiki-platform-core/xwiki-platform-xar/src/main/java/org/xwiki/xar/XarEntry.java <ide> import java.beans.Transient; <ide> <ide> import org.xwiki.model.EntityType; <del>import org.xwiki.model.internal.reference.LocalStringEntityReferenceSerializer; <ide> import org.xwiki.model.reference.LocalDocumentReference...
JavaScript
mit
0e26e9bbd7cae3390b45d85002b954c40d746e9e
0
agroves333/banno
/* * process.env.NODE_ENV - used to determine whether we generate a production or development bundle * * webpack --env.browser - used to determine whether to generate a browser or server bundle * * NOTE: browser/server is client/server-side rendering respectively in universal/isomorphic javascript * */ const PAT...
webpack/webpack.config.js
/* * process.env.NODE_ENV - used to determine whether we generate a production or development bundle * * webpack --env.browser - used to determine whether to generate a browser or server bundle * * NOTE: browser/server is client/server-side rendering respectively in universal/isomorphic javascript * */ const PAT...
devtools = eval
webpack/webpack.config.js
devtools = eval
<ide><path>ebpack/webpack.config.js <ide> const node = { __dirname: true, __filename: true }; <ide> <ide> const prodServerRender = { <del> devtool: 'source-map', <add> devtool: 'eval', <ide> context: PATHS.app, <ide> entry: { server: '../server/index' }, <ide> target: 'node', <ide> }; <ide> <i...
Java
apache-2.0
1bf93478bb61f4a092967cb38c421fe3c1c9216b
0
sangramjadhav/testrs
20d2d5b2-2ece-11e5-905b-74de2bd44bed
hello.java
20d24584-2ece-11e5-905b-74de2bd44bed
20d2d5b2-2ece-11e5-905b-74de2bd44bed
hello.java
20d2d5b2-2ece-11e5-905b-74de2bd44bed
<ide><path>ello.java <del>20d24584-2ece-11e5-905b-74de2bd44bed <add>20d2d5b2-2ece-11e5-905b-74de2bd44bed
Java
mit
6ce4d0dde5815c1f1dc0724579fd3367a9958951
0
telly/groundy,casidiablo/groundy,hamsterksu/groundy,casidiablo/groundy
/** * Copyright Telly, Inc. and other Groundy contributors. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy...
library/src/main/java/com/telly/groundy/ReflectProxy.java
/** * Copyright Telly, Inc. and other Groundy contributors. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy...
Used getMethods instead of getDeclaredMethods in ReflectProxy
library/src/main/java/com/telly/groundy/ReflectProxy.java
Used getMethods instead of getDeclaredMethods in ReflectProxy
<ide><path>ibrary/src/main/java/com/telly/groundy/ReflectProxy.java <ide> } <ide> <ide> private void fillMethodSpecMapWith(Class<?> type) { <del> for (Method method : getDeclaredMethods(type)) { <add> for (Method method : getMethods(type)) { <ide> // register groundy callbacks <ide> for (Class<?>...
JavaScript
mit
17cadb97220901c8bfebf03c154b15802824e7c6
0
cheminfo/eln-plugin
src/types/sample/cv.js
import common from '../common'; export default { jpath: ['spectra', 'cv'], find: common.basenameFind, getProperty: common.getTargetProperty, process: common.getMetaFromJcamp, };
Revert "feat: add CV" This reverts commit 13ac5895ea1b9943f9d582010a402c1d8dfcf875.
src/types/sample/cv.js
Revert "feat: add CV"
<ide><path>rc/types/sample/cv.js <del>import common from '../common'; <del> <del>export default { <del> jpath: ['spectra', 'cv'], <del> find: common.basenameFind, <del> getProperty: common.getTargetProperty, <del> process: common.getMetaFromJcamp, <del>};
Java
mit
ac2d53621e3a063c20634de639301c791e5a8546
0
jhshinn/jabref,sauliusg/jabref,bartsch-dev/jabref,jhshinn/jabref,Mr-DLib/jabref,mairdl/jabref,motokito/jabref,obraliar/jabref,grimes2/jabref,obraliar/jabref,Braunch/jabref,zellerdev/jabref,Siedlerchr/jabref,jhshinn/jabref,jhshinn/jabref,ayanai1/jabref,tschechlovdev/jabref,Siedlerchr/jabref,tobiasdiez/jabref,motokito/ja...
/* Copyright (C) 2012 JabRef contributors. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is...
src/java/net/sf/jabref/gui/CleanUpAction.java
/* Copyright (C) 2012 JabRef contributors. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is...
Fixed sizing of Cleanup entries dialog.
src/java/net/sf/jabref/gui/CleanUpAction.java
Fixed sizing of Cleanup entries dialog.
<ide><path>rc/java/net/sf/jabref/gui/CleanUpAction.java <ide> optionsPanel = new JPanel(); <ide> retrieveSettings(); <ide> <del> FormLayout layout = new FormLayout("left:15dlu,pref", "pref, pref, pref, pref, pref, pref, pref, pref"); <add> FormLayout layout = new FormLayout("left:15dlu,pref:grow", "pref, pref, p...
Java
apache-2.0
e86efe14e40990279fd407cd33d8afe59e94d66b
0
jloisel/elastic-crud
package com.jeromeloisel.db.integration.test; import org.elasticsearch.client.IndicesAdminClient; import org.junit.Test; import static org.junit.Assert.assertNotNull; public class ESTest extends SpringElasticSearchTest { @Test public void shouldAutowire() { assertNotNull(client); final IndicesAdminClien...
db-integration-test/src/test/java/com/jeromeloisel/db/integration/test/ESTest.java
package com.jeromeloisel.db.integration.test; import org.elasticsearch.client.Client; import org.elasticsearch.client.IndicesAdminClient; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import static org.junit.Assert.assertNotNull; public class ESTest extends SpringElasticSearch...
fix junit
db-integration-test/src/test/java/com/jeromeloisel/db/integration/test/ESTest.java
fix junit
<ide><path>b-integration-test/src/test/java/com/jeromeloisel/db/integration/test/ESTest.java <ide> package com.jeromeloisel.db.integration.test; <ide> <del>import org.elasticsearch.client.Client; <ide> import org.elasticsearch.client.IndicesAdminClient; <ide> import org.junit.Test; <del>import org.springframework.bean...
JavaScript
apache-2.0
0218e912ff3df8b6e42bc55944d436c6036ed911
0
dianwodaMobile/DWeex,Hanks10100/incubator-weex,miomin/incubator-weex,KalicyZhou/incubator-weex,acton393/incubator-weex,leoward/incubator-weex,acton393/incubator-weex,MrRaindrop/incubator-weex,erha19/incubator-weex,miomin/incubator-weex,dianwodaMobile/DWeex,miomin/incubator-weex,erha19/incubator-weex,weexteam/incubator-...
/* * 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 ...
dangerfile.js
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
* [all] fix danger: use schedule to run async
dangerfile.js
* [all] fix danger: use schedule to run async
<ide><path>angerfile.js <ide> return false; <ide> } <ide> <add>async function checkBreakChange(file){ <add> var diff = await danger.git.diffForFile(file); <add> if (diff && diff.removed && diff.removed.match(/^-\s*?public\s+[\s\S]+$/gm)) { <add> if (methion_break_change) { <add> warn("Potential BREAK CHANG...
Java
apache-2.0
8b3ecb653d7e05c18bc3b6804493f254e54d3c45
0
webhejj/webhejj-commons,gnagy/webhejj-commons
/* * Copyright Gergely Nagy <greg@webhejj.hu> * * Licensed under the Apache License, Version 2.0; * you may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 */ package hu.webhejj.commons.xml; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStream...
src/hu/webhejj/commons/xml/SimpleXmlWriter.java
/* * Copyright Gergely Nagy <greg@webhejj.hu> * * Licensed under the Apache License, Version 2.0; * you may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 */ package hu.webhejj.commons.xml; import java.io.IOException; import java.io.Writer; import java.util.Stack; /** * S...
Fix SimpleXMLWriter: make sure output is UTF-8 and properly xml-escaped.
src/hu/webhejj/commons/xml/SimpleXmlWriter.java
Fix SimpleXMLWriter: make sure output is UTF-8 and properly xml-escaped.
<ide><path>rc/hu/webhejj/commons/xml/SimpleXmlWriter.java <ide> package hu.webhejj.commons.xml; <ide> <ide> import java.io.IOException; <add>import java.io.OutputStream; <add>import java.io.OutputStreamWriter; <ide> import java.io.Writer; <add>import java.nio.charset.Charset; <ide> import java.util.Stack; <ide> <ide>...
Java
apache-2.0
error: pathspec 'helianto/domain/src/main/java/org/helianto/core/type/IdentityType1.java' did not match any file(s) known to git
789f83a541ce035552d45c25f9c4d534671c8baa
1
iservport/helianto,iservport/helianto
/* Copyright 2005 I Serv Consultoria Empresarial Ltda. * * 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 applic...
helianto/domain/src/main/java/org/helianto/core/type/IdentityType1.java
moved to a new package git-svn-id: 8e38db1cf16c4a277275c2a31413431bbf4974e4@253 d46e4f78-7810-0410-b419-9f95c2a9a517
helianto/domain/src/main/java/org/helianto/core/type/IdentityType1.java
moved to a new package
<ide><path>elianto/domain/src/main/java/org/helianto/core/type/IdentityType1.java <add>/* Copyright 2005 I Serv Consultoria Empresarial Ltda. <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 obtain a ...
Java
mit
f86e45c714d369ba977eeaf589573ca1255d653e
0
syedhaziqhamdani/Projects,syedhaziqhamdani/Projects
import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JButton; import javax.swing.JTextField; import com.sun.org.apache.xpath.internal.operations.Equals; import java.awt...
ArtificialIntelligenceProject/src/Main.java
import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JButton; import javax.swing.JTextField; import com.sun.org.apache.xpath.internal.operations.Equals; import java.awt...
computerMove Method implemented.
ArtificialIntelligenceProject/src/Main.java
computerMove Method implemented.
<ide><path>rtificialIntelligenceProject/src/Main.java <ide> contentPane.add(columnOneButton); <ide> <ide> JButton columnTwoButton = new JButton("Drop"); <add> columnTwoButton.addActionListener(new ActionListener() { <add> public void actionPerformed(ActionEvent arg0) { <add> humanMove(1); <add> } <add> })...
Java
apache-2.0
e903351add53d9c018378b3f64da13e48a26b487
0
stome/stomev1,stome/stomev1,stome/stomev1,stome/stomev1,stome/stomev1
/* STOME - Taking the Wold Wide Web by Stome VERSION 2.0 TODO 1: 1.0 double-click views tag links TODO 2: 4.0 PAUSE/RESUME FETCHING TODO 3: 8.0 add search box and Find button for searching within selected Results TODO 4: 2.0 implement Open Links: open muliple links at once (popup menu) TODO 5: 8.0 export selectio...
Stome.java
/* STOME - Taking the Wold Wide Web by Stome VERSION 2.0 TODO 1: 1.0 double-click views tag links TODO 2: 4.0 PAUSE/RESUME FETCHING TODO 3: 8.0 add search box and Find button for searching within selected Results TODO 4: 2.0 implement Open Links: open muliple links at once (popup menu) TODO 5: 8.0 export selectio...
Fixed popumenu mouseover location bug
Stome.java
Fixed popumenu mouseover location bug
<ide><path>tome.java <ide> private void openPopup( MouseEvent e ) <ide> { <ide> PopupMenu menu = new PopupMenu( frame, resultsTable ); <del> menu.show( e.getComponent(), e.getX(), e.getY() ); <add>// menu.show( e.getComponent(), e.getX(), e.getY() );...
Java
bsd-3-clause
f801d09fb328103df9d41005ebaedb49e22e78d4
0
Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java
/* * Created by JFormDesigner on Thu Oct 04 18:36:31 MDT 2012 */ package ucar.nc2.ui.geoloc; import java.awt.*; import java.awt.event.*; import java.util.Collection; import javax.swing.*; import javax.swing.GroupLayout; import javax.swing.border.*; import ucar.unidata.geoloc.ProjectionRect; import uc...
ui/src/main/java/ucar/nc2/ui/geoloc/NewProjectionDialog.java
/* * Created by JFormDesigner on Thu Oct 04 18:36:31 MDT 2012 */ package ucar.nc2.ui.geoloc; import java.awt.*; import java.awt.event.*; import java.util.Collection; import javax.swing.*; import javax.swing.GroupLayout; import javax.swing.border.*; import ucar.unidata.geoloc.ProjectionRect; import uc...
updated calls to revalidate() to work with Mac, as Apple java does not fully implement the revalidate method
ui/src/main/java/ucar/nc2/ui/geoloc/NewProjectionDialog.java
updated calls to revalidate() to work with Mac, as Apple java does not fully implement the revalidate method
<ide><path>i/src/main/java/ucar/nc2/ui/geoloc/NewProjectionDialog.java <ide> pc.makeDefaultProjection(); <ide> pc.putParamIntoDialog(pc.projInstance); <ide> navPanel.setProjection(pc.projInstance); <del> revalidate(); <add> invalidate(); <add> validate(); <ide> } <ide>...
JavaScript
mit
2d3a6da46f82960864d480b023ce46f6a259d00e
0
Cryogen-Networks/Cryoventure,Cryogen-Networks/Cryoventure
main.min.js
function Character(){this.name=prompt("Choose a name for your character."),this.inventory=[],this.outfit={helm:null,body:null,legs:null,feet:null}}function play(){var o=new Character;console.log("Welcome to Cryogen, "+o.name+"! You are now starting on your adventure..\n"),console.log("thx 4 playin', pls rate on da app ...
Remove minfied version. (Uneeded ATM)
main.min.js
Remove minfied version. (Uneeded ATM)
<ide><path>ain.min.js <del>function Character(){this.name=prompt("Choose a name for your character."),this.inventory=[],this.outfit={helm:null,body:null,legs:null,feet:null}}function play(){var o=new Character;console.log("Welcome to Cryogen, "+o.name+"! You are now starting on your adventure..\n"),console.log("thx 4 p...
Java
apache-2.0
37ae5ec3e55daea194dde89a6fb835aed71668d5
0
juancabreraIT/jUnit
package com.java.exe; import org.junit.runner.JUnitCore; import org.junit.runner.Result; import org.junit.runner.notification.Failure; import com.java.junit.TestJunit; public class TestRunner { public static void main(String[] args) { Result result = JUnitCore.runClasses(TestJunit.class); for(F...
src/com/java/exe/TestRunner.java
package com.java.exe; import org.junit.runner.JUnitCore; import org.junit.runner.Result; import org.junit.runner.notification.Failure; import com.java.junit.TestJunit; public class TestRunner { public static void main(String[] args) { Result result = JUnitCore.runClasses(TestJunit.class); for(F...
Minor fix
src/com/java/exe/TestRunner.java
Minor fix
<ide><path>rc/com/java/exe/TestRunner.java <ide> System.out.println(failure.toString()); <ide> } <ide> <del> System.out.println(result.wasSuccessful()); <add> System.out.println("Test result: " + result.wasSuccessful()); <ide> } <ide> <ide> }
Java
apache-2.0
4e0692378e919fe2bfbefc147ba45a649e3a7dd1
0
Gueust/DTA-PC,Gueust/DTA-PC
package dta_solver; import io.InputOutput; import java.util.Iterator; import java.util.Map.Entry; import generalLWRNetwork.Cell; import generalLWRNetwork.Destination; import generalLWRNetwork.Junction; import generalLWRNetwork.Origin; import generalNetwork.state.CellInfo; import generalNetwork.state.JunctionInfo; im...
src/dta_solver/SO_Optimizer.java
package dta_solver; import io.InputOutput; import java.util.Iterator; import java.util.Map.Entry; import generalLWRNetwork.Cell; import generalLWRNetwork.Destination; import generalLWRNetwork.Junction; import generalLWRNetwork.Origin; import generalNetwork.state.CellInfo; import generalNetwork.state.JunctionInfo; im...
Some refactoring without influence on the output
src/dta_solver/SO_Optimizer.java
Some refactoring without influence on the output
<ide><path>rc/dta_solver/SO_Optimizer.java <ide> " : 2 (for demand, supply) * " + cells.length + " cells)\n" + <ide> "- aggregate SR: " + size_aggregate_split_ratios + <ide> "(is the sum of the in.size() * out.size() at all junctions\n" + <del> "- f_in: " + size_density_block + <add> ...
Java
bsd-2-clause
cbf07eff2097cf91415c6093ac102068ae9c82bb
0
jenkinsci/p4-plugin,jenkinsci/p4-plugin,jenkinsci/p4-plugin
package org.jenkinsci.plugins.p4; import com.cloudbees.plugins.credentials.CredentialsProvider; import com.perforce.p4java.exception.P4JavaException; import hudson.AbortException; import hudson.EnvVars; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.Plugin; import hudson.matrix....
src/main/java/org/jenkinsci/plugins/p4/PerforceScm.java
package org.jenkinsci.plugins.p4; import com.cloudbees.plugins.credentials.CredentialsProvider; import com.perforce.p4java.exception.P4JavaException; import hudson.AbortException; import hudson.EnvVars; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.Plugin; import hudson.matrix....
tagAction should not be written to config.xml
src/main/java/org/jenkinsci/plugins/p4/PerforceScm.java
tagAction should not be written to config.xml
<ide><path>rc/main/java/org/jenkinsci/plugins/p4/PerforceScm.java <ide> private final P4Ref revision; <ide> <ide> private String script; <del> private TagAction tagAction = null; <del> <add> <add> private transient TagAction tagAction = null; <ide> private transient P4Ref parentChange; <ide> private transient P4Re...
Java
apache-2.0
a97e59691fd236197a1388af9da227f7ec00acf1
0
murara/teste,murara/teste
public class JoseMiguel { public static void main(String[] args) { // falaaaaaaaaaaa zzo kk } }
src/JoseMiguel.java
public class JoseMiguel { public static void main(String[] args) { // TODO Auto-generated method stub } }
comentei
src/JoseMiguel.java
<ide><path>rc/JoseMiguel.java <ide> <ide> public class JoseMiguel { <add> <ide> <ide> public static void main(String[] args) { <del> // TODO Auto-generated method stub <add> <add> // falaaaaaaaaaaa zzo kk <add> <ide> <ide> } <ide>
Java
apache-2.0
c83f38a5e29a69d226e45cc96aab7fde1e998bbe
0
ricepanda/rice,ricepanda/rice,ricepanda/rice,ricepanda/rice
/* * Copyright 2007 The Kuali Foundation Licensed under the Educational Community * License, Version 1.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.opensource.org/licenses/ecl1.php Unless required by applicable law *...
krad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/container/CollectionGroup.java
/* * Copyright 2007 The Kuali Foundation Licensed under the Educational Community * License, Version 1.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.opensource.org/licenses/ecl1.php Unless required by applicable law *...
KULRICE-5256 : Default the showHideInactiveButton flag to true. git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@21674 7a7aa7f6-c479-11dc-97e2-85a2497f191d
krad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/container/CollectionGroup.java
KULRICE-5256 : Default the showHideInactiveButton flag to true.
<ide><path>rad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/container/CollectionGroup.java <ide> renderAddLine = true; <ide> renderLineActions = true; <ide> showInactive = false; <add> showHideInactiveButton = true; <ide> <ide> actionFields = new ArrayList<ActionField...
Java
apache-2.0
8eee7061808237798f4941f339ac53aff4ecf904
0
kelemen/JTrim,kelemen/JTrim
package org.jtrim.event; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import org.jtrim.collections.RefCollection; import org.jtrim...
JTrim/src/main/java/org/jtrim/event/CopyOnTriggerEventHandlerContainer.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.jtrim.event; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import java.util....
- Documented CopyOnTriggerEventHandlerContainer
JTrim/src/main/java/org/jtrim/event/CopyOnTriggerEventHandlerContainer.java
- Documented CopyOnTriggerEventHandlerContainer
<ide><path>Trim/src/main/java/org/jtrim/event/CopyOnTriggerEventHandlerContainer.java <del>/* <del> * To change this template, choose Tools | Templates <del> * and open the template in the editor. <del> */ <del> <ide> package org.jtrim.event; <ide> <ide> import java.util.ArrayList; <ide> import org.jtrim.utils.Excepti...
Java
apache-2.0
e97f751d50f34b7991ff273d8b5e503e2b474f53
0
joserabal/sakai,pushyamig/sakai,introp-software/sakai,buckett/sakai-gitflow,whumph/sakai,surya-janani/sakai,noondaysun/sakai,udayg/sakai,rodriguezdevera/sakai,frasese/sakai,joserabal/sakai,colczr/sakai,whumph/sakai,surya-janani/sakai,liubo404/sakai,pushyamig/sakai,tl-its-umich-edu/sakai,colczr/sakai,zqian/sakai,liubo40...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006 The Sakai Foundation. * * Licensed under the Educational Community License, Version 1.0 (the"Li...
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/AuthorPartListener.java
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006 The Sakai Foundation. * * Licensed under the Educational Community License, Version 1.0 (the"Li...
SAK-6506 git-svn-id: 574bb14f304dbe16c01253ed6697ea749724087f@15683 66ffb92e-73f9-0310-93c1-f5514f145a0a
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/AuthorPartListener.java
SAK-6506
<ide><path>amigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/AuthorPartListener.java <ide> sectionBean.setHideRandom(false); <ide> sectionBean.setNumberSelected(""); <ide> sectionBean.setSelectedPool(""); <add> // new part has no attachment <add> sectionBean.setAttachmentL...
Java
apache-2.0
11f91f88b80a492278b84ffabf854f63a527bf5a
0
koma-akdb/org.ops4j.pax.exam2,The-Alchemist/org.ops4j.pax.exam2,ops4j/org.ops4j.pax.exam2,bimargulies/org.ops4j.pax.exam2,The-Alchemist/org.ops4j.pax.exam2,bimargulies/org.ops4j.pax.exam2,koma-akdb/org.ops4j.pax.exam2,ops4j/org.ops4j.pax.exam2
/* * Copyright 2012 Harald Wellmann * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
core/pax-exam-spi/src/main/java/org/ops4j/pax/exam/spi/war/WarTestProbeBuilderImpl.java
/* * Copyright 2012 Harald Wellmann * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
[PAXEXAM-326] exclude org.eclipse.osgi and pax-exam-junit4 from WAR probe
core/pax-exam-spi/src/main/java/org/ops4j/pax/exam/spi/war/WarTestProbeBuilderImpl.java
[PAXEXAM-326] exclude org.eclipse.osgi and pax-exam-junit4 from WAR probe
<ide><path>ore/pax-exam-spi/src/main/java/org/ops4j/pax/exam/spi/war/WarTestProbeBuilderImpl.java <ide> <ide> private static String[] classPathExcludes = { <ide> ".cp", <add> "org.eclipse.osgi", <ide> "scattered-archive-api", <ide> "simple-glassfish-api", <ide> "jersey-client...
Java
apache-2.0
eea3ee7392722bf5c3a02a6ae7da38e43cc7712e
0
Flipkart/foxtrot,Flipkart/foxtrot,Flipkart/foxtrot,Flipkart/foxtrot,Flipkart/foxtrot
package com.flipkart.foxtrot.core.querystore.actions; import com.fasterxml.jackson.databind.ObjectMapper; import com.flipkart.foxtrot.common.ActionRequest; import com.flipkart.foxtrot.common.ActionResponse; import com.flipkart.foxtrot.common.Opcodes; import com.flipkart.foxtrot.common.query.*; import com.flipkart.foxt...
foxtrot-core/src/main/java/com/flipkart/foxtrot/core/querystore/actions/MultiTimeQueryAction.java
package com.flipkart.foxtrot.core.querystore.actions; import com.fasterxml.jackson.databind.ObjectMapper; import com.flipkart.foxtrot.common.ActionRequest; import com.flipkart.foxtrot.common.ActionResponse; import com.flipkart.foxtrot.common.Opcodes; import com.flipkart.foxtrot.common.query.*; import com.flipkart.foxt...
appending multiTimeQuery filters to multiTimeQuery ActionRequest filters
foxtrot-core/src/main/java/com/flipkart/foxtrot/core/querystore/actions/MultiTimeQueryAction.java
appending multiTimeQuery filters to multiTimeQuery ActionRequest filters
<ide><path>oxtrot-core/src/main/java/com/flipkart/foxtrot/core/querystore/actions/MultiTimeQueryAction.java <ide> } else { <ide> sampleSize = (int) (24/(multiTimeQueryRequest.getSkipDuration().toHours())); <ide> } <add> multiTimeQueryRequest.getActionRequest().getFilters().addAll(mult...
Java
agpl-3.0
0b8b16e0de116b805dc4c6088f4b238426d47934
0
imam-san/jPOS-1,imam-san/jPOS-1,yinheli/jPOS,poynt/jPOS,atancasis/jPOS,sebastianpacheco/jPOS,bharavi/jPOS,c0deh4xor/jPOS,atancasis/jPOS,barspi/jPOS,juanibdn/jPOS,yinheli/jPOS,jpos/jPOS,chhil/jPOS,poynt/jPOS,c0deh4xor/jPOS,barspi/jPOS,jpos/jPOS,juanibdn/jPOS,c0deh4xor/jPOS,fayezasar/jPOS,yinheli/jPOS,jpos/jPOS,sebastian...
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2010 Alejandro P. Revilla * * 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 Software Foundation, either version 3 of the * License, or (at your ...
jpos6/modules/txnmgr/src/org/jpos/transaction/TransactionManager.java
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2010 Alejandro P. Revilla * * 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 Software Foundation, either version 3 of the * License, or (at your ...
Added the ability to define status-listener in xml definition file. Signed-off-by: Alejandro Revilla <a16438e84d07a18fa74422c6e6953b3e72ac8a44@jpos.org>
jpos6/modules/txnmgr/src/org/jpos/transaction/TransactionManager.java
Added the ability to define status-listener in xml definition file.
<ide><path>pos6/modules/txnmgr/src/org/jpos/transaction/TransactionManager.java <ide> <ide> import org.jdom.Element; <ide> import org.jpos.core.Configuration; <add>import org.jpos.core.Configurable; <ide> import org.jpos.core.ConfigurationException; <ide> import org.jpos.q2.QBeanSupport; <ide> import org.jpos.q2.QFact...
Java
agpl-3.0
159a7f34b928f76527364af3065204827359afa6
0
VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb
/* This file is part of VoltDB. * Copyright (C) 2008-2018 VoltDB Inc. * * 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 Software Foundation, either version 3 of the * License, or (at your option) any la...
src/frontend/org/voltdb/DRIdempotencyResult.java
/* This file is part of VoltDB. * Copyright (C) 2008-2018 VoltDB Inc. * * 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 Software Foundation, either version 3 of the * License, or (at your option) any la...
ENG-14537: Add AMBIGUOUS DRIdempotencyResult ApplyBinaryLogMP will apply a binary log if it does not have a logId for the partition. This can happen at the start of a join. That can occur on some sites while a different result is returned by other sites.
src/frontend/org/voltdb/DRIdempotencyResult.java
ENG-14537: Add AMBIGUOUS DRIdempotencyResult
<ide><path>rc/frontend/org/voltdb/DRIdempotencyResult.java <ide> package org.voltdb; <ide> <ide> public enum DRIdempotencyResult { <del> SUCCESS((byte) 0), // Is the expect next DR ID <del> DUPLICATE((byte) -1), // Is a duplicate DR ID seen before <del> GAP((byte) 1); // Is way in the future <add> ...
Java
apache-2.0
114d7a99bf42ce965e29a4a3a0b4a8ca15643957
0
alphadev-net/drive-mount
/** * Copyright © 2014 Jan Seeger * * 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 ...
fat32/src/main/java/net/alphadev/fat32wrapper/Fat32Provider.java
/** * Copyright © 2014 Jan Seeger * * 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 ...
filter out directory self reference and parent directory entries when iterating directory contents. let android saf handle navigation. fixes #61.
fat32/src/main/java/net/alphadev/fat32wrapper/Fat32Provider.java
filter out directory self reference and parent directory entries when iterating directory contents. let android saf handle navigation.
<ide><path>at32/src/main/java/net/alphadev/fat32wrapper/Fat32Provider.java <ide> <ide> if (directory != null) { <ide> for (FsDirectoryEntry entry : directory) { <del> entries.add(Path.createWithAppended(path, entry.getName())); <add> if(entry.getName().equals(".") || e...
Java
agpl-3.0
9cd9a36542354f345458891156734cdf316cb737
0
geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit
/* * Copyright 2005-2010 The Kuali Foundation * * Licensed under the GNU Affero General Public License, Version 3 (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.opensource.org/licenses/ecl1.php * * Unless ...
kcmit-impl/src/main/java/org/kuali/coeus/propdev/impl/core/ProposalDevelopmentControllerBase.java
/* * Copyright 2005-2010 The Kuali Foundation * * Licensed under the GNU Affero General Public License, Version 3 (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.opensource.org/licenses/ecl1.php * * Unless ...
MITKC-913-PD - Proposal Certification is missing Answered By username and time stamp
kcmit-impl/src/main/java/org/kuali/coeus/propdev/impl/core/ProposalDevelopmentControllerBase.java
MITKC-913-PD - Proposal Certification is missing Answered By username and time stamp
<ide><path>cmit-impl/src/main/java/org/kuali/coeus/propdev/impl/core/ProposalDevelopmentControllerBase.java <ide> import org.kuali.kra.infrastructure.RoleConstants; <ide> import org.kuali.rice.core.api.config.property.ConfigurationService; <ide> import org.kuali.rice.core.api.criteria.QueryByCriteria; <add>import org.k...
Java
apache-2.0
9f477a136e2ec83bf3c085ac12574b4a9c16fca1
0
alsorokin/cordova-plugin-battery-status,gmegidish/cordova-plugin-battery-status,purplecabbage/cordova-plugin-battery-status,purplecabbage/cordova-plugin-battery-status,alsorokin/cordova-plugin-battery-status,alsorokin/cordova-plugin-battery-status,Cappada/cordova-plugin-battery-status,Uldax/cordova-plugin-battery-statu...
/* 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...
src/android/BatteryListener.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...
CB-7976 Android: Use webView's context rather than Activity's context for intent receiver
src/android/BatteryListener.java
CB-7976 Android: Use webView's context rather than Activity's context for intent receiver
<ide><path>rc/android/BatteryListener.java <ide> updateBatteryInfo(intent); <ide> } <ide> }; <del> cordova.getActivity().registerReceiver(this.receiver, intentFilter); <add> webView.getContext().registerReceiver(this.receiver, int...
Java
bsd-3-clause
48941f2aa986d76bca437ffad1102f3150584122
0
jjfiv/chai
package ciir.jfoley.chai.string; import ciir.jfoley.chai.collections.list.IntList; import ciir.jfoley.chai.fn.TransformFn; import gnu.trove.list.array.TCharArrayList; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.text.Normalizer; import java.util.*; import java.util.regex.Pattern; /*...
src/main/java/ciir/jfoley/chai/string/StrUtil.java
package ciir.jfoley.chai.string; import ciir.jfoley.chai.collections.list.IntList; import ciir.jfoley.chai.fn.TransformFn; import gnu.trove.list.array.TCharArrayList; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.text.Normalizer; import java.util.*; import java.util.regex.Pattern; /*...
StrUtil.isWhitespace
src/main/java/ciir/jfoley/chai/string/StrUtil.java
StrUtil.isWhitespace
<ide><path>rc/main/java/ciir/jfoley/chai/string/StrUtil.java <ide> return true; <ide> } <ide> <add> public static boolean isWhitespace(String text) { <add> for (int i = 0; i < text.length(); i++) { <add> if(!Character.isWhitespace(text.charAt(i))) return false; <add> } <add> return true; <add> } ...
Java
apache-2.0
dafcc7d42fcb7d71b8d02e163a6f98a9f6142991
0
vjr/snappydata,vjr/snappydata,vjr/snappydata,vjr/snappydata
package io.snappydata.util.com.clearspring.analytics.stream; /* * Copyright (C) 2011 Clearspring Technologies, 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.apac...
snappy-core/src/main/java/io/snappydata/util/com/clearspring/analytics/stream/StreamSummary.java
package io.snappydata.util.com.clearspring.analytics.stream; /* * Copyright (C) 2011 Clearspring Technologies, 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.apac...
correcting unchecked warnings in StreamSummary
snappy-core/src/main/java/io/snappydata/util/com/clearspring/analytics/stream/StreamSummary.java
correcting unchecked warnings in StreamSummary
<ide><path>nappy-core/src/main/java/io/snappydata/util/com/clearspring/analytics/stream/StreamSummary.java <ide> * structure as described in: <i>Efficient Computation of Frequent and Top-k <ide> * Elements in Data Streams</i> by Metwally, Agrawal, and Abbadi <ide> * <del> * @param <T> <del> * type of data i...
Java
mit
e1fc158a27e574183f597fde1db20a785b4a56de
0
taxi-wind/logbook,kyuntx/logbookpn,taxi-wind/logbook
/** * No Rights Reserved. * This program and the accompanying materials * are made available under the terms of the Public Domain. */ package logbook.config; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset...
main/logbook/config/ConfigMigration.java
/** * No Rights Reserved. * This program and the accompanying materials * are made available under the terms of the Public Domain. */ package logbook.config; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset...
git-svn-id: http://kancolle.sanaechan.net/svn/logbook/trunk/logbook@203 3035174a-c96b-47e4-9b1c-47eacedfc7e2
main/logbook/config/ConfigMigration.java
<ide><path>ain/logbook/config/ConfigMigration.java <ide> SHIP_CONFIG_FILE.delete(); <ide> } <ide> } catch (Exception e) { <del> <add> LOG.fatal("設定ファイルの移行に失敗しました", e); <ide> } <ide> } <ide>
Java
mit
7217656267c08d009f75e2a18d8e6ce3fa9ef28b
0
thyrlian/ScreenshotsNanny
package com.basgeekball.screenshotsnanny.helper; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; import android.util.DisplayMetrics; import android.util.Log; import java.util.Locale; import static com.basgeekball.screenshotsnanny.core.Constants.LOG_TAG;...
library/src/main/java/com/basgeekball/screenshotsnanny/helper/LanguageSwitcher.java
package com.basgeekball.screenshotsnanny.helper; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; import android.util.DisplayMetrics; import java.util.Locale; public class LanguageSwitcher { private LanguageSwitcher() { } public static void...
Add log to LanguageSwitcher
library/src/main/java/com/basgeekball/screenshotsnanny/helper/LanguageSwitcher.java
Add log to LanguageSwitcher
<ide><path>ibrary/src/main/java/com/basgeekball/screenshotsnanny/helper/LanguageSwitcher.java <ide> import android.content.res.Configuration; <ide> import android.content.res.Resources; <ide> import android.util.DisplayMetrics; <add>import android.util.Log; <ide> <ide> import java.util.Locale; <add> <add>import static...
Java
mit
13fe93a0c9bf50111b7c496f9a3d219ff9716c53
0
balazspete/multi-hop-train-journey-booking
package communication.protocols; import java.util.HashSet; import java.util.Map; import java.util.Set; import node.company.TransactionContentGenerator; import transaction.SudoTransactionContent; import transaction.TransactionContent; import transaction.TransactionCoordinator; import transaction.TransactionCoordinato...
src/communication/protocols/PreBookingProtocol.java
package communication.protocols; import java.util.HashSet; import java.util.Map; import java.util.Set; import node.company.TransactionContentGenerator; import transaction.SudoTransactionContent; import transaction.TransactionContent; import transaction.TransactionCoordinator; import transaction.TransactionCoordinato...
Add reply and some debugging statements to ReBookingProtocol
src/communication/protocols/PreBookingProtocol.java
Add reply and some debugging statements to ReBookingProtocol
<ide><path>rc/communication/protocols/PreBookingProtocol.java <ide> import transaction.Vault; <ide> import transaction.WriteOnlyLock; <ide> import communication.messages.BookingMessage; <add>import communication.messages.BookingReplyMessage; <ide> import communication.messages.Message; <ide> import data.system.NodeInfo...
JavaScript
mit
8cc4b8772f5fa496d9885d648d34faf185c65c1d
0
chrisgame/ember-power-select,esbanarango/ember-power-select,cibernox/ember-power-select,chrisgame/ember-power-select,esbanarango/ember-power-select,Dremora/ember-power-select,esbanarango/ember-power-select,Dremora/ember-power-select,cibernox/ember-power-select,cibernox/ember-power-select,cibernox/ember-power-select
import Ember from 'ember'; function generatePromise() { return new Ember.RSVP.Promise((resolve) => { setTimeout(() => resolve(['one', 'two', 'three']), 5000); }); } export default Ember.Controller.extend({ names: ['Stefan', 'Miguel', 'Tomster', 'Pluto'], emptyList: [], promise: null, actions: { r...
tests/dummy/app/controllers/docs/the-list.js
import Ember from 'ember'; function generatePromise() { return new Ember.RSVP.Promise((resolve) => { setTimeout(() => resolve(['one', 'two', 'three']), 5000); }); }; export default Ember.Controller.extend({ names: ['Stefan', 'Miguel', 'Tomster', 'Pluto'], emptyList: [], promise: null, actions: { ...
Fix jshint
tests/dummy/app/controllers/docs/the-list.js
Fix jshint
<ide><path>ests/dummy/app/controllers/docs/the-list.js <ide> return new Ember.RSVP.Promise((resolve) => { <ide> setTimeout(() => resolve(['one', 'two', 'three']), 5000); <ide> }); <del>}; <add>} <ide> <ide> export default Ember.Controller.extend({ <ide> names: ['Stefan', 'Miguel', 'Tomster', 'Pluto'],
Java
apache-2.0
8c81e56ba30ad536d6d29214cf9948f7297b4d4c
0
joinAero/AndroidWebServ,joinAero/AndroidWebServ
package net.asfun.jangod.lib.tag; import java.util.HashMap; import java.util.Map; import net.asfun.jangod.base.Context; import net.asfun.jangod.interpret.InterpretException; import net.asfun.jangod.interpret.JangodInterpreter; import net.asfun.jangod.lib.TagLibrary; import net.asfun.jangod.parse.TokenParser; import a...
src/test/net/asfun/jangod/lib/tag/TagTest.java
package net.asfun.jangod.lib.tag; import java.util.HashMap; import java.util.Map; import net.asfun.jangod.base.Context; import net.asfun.jangod.interpret.InterpretException; import net.asfun.jangod.interpret.JangodInterpreter; import net.asfun.jangod.lib.TagLibrary; import net.asfun.jangod.parse.TokenParser; import a...
fix the old tag test
src/test/net/asfun/jangod/lib/tag/TagTest.java
fix the old tag test
<ide><path>rc/test/net/asfun/jangod/lib/tag/TagTest.java <ide> import net.asfun.jangod.interpret.JangodInterpreter; <ide> import net.asfun.jangod.lib.TagLibrary; <ide> import net.asfun.jangod.parse.TokenParser; <del>import android.test.AndroidTestCase; <add>import android.app.Instrumentation; <add>import android.test.I...
Java
apache-2.0
e4027195cf5a41121f0ad77f0e926e3cfa235f7c
0
mglukhikh/intellij-community,kdwink/intellij-community,wreckJ/intellij-community,petteyg/intellij-community,xfournet/intellij-community,MichaelNedzelsky/intellij-community,pwoodworth/intellij-community,hurricup/intellij-community,suncycheng/intellij-community,SerCeMan/intellij-community,caot/intellij-community,izonder/...
package org.jetbrains.io; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Computable; import com.intellij.openapi.util.SystemInfo; import com.intellij.util.Consumer; import c...
platform/platform-impl/src/org/jetbrains/io/WebServer.java
package org.jetbrains.io; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Computable; import com.intellij.openapi.util.SystemInfo; import com.intellij.util.Consumer; import c...
nullability
platform/platform-impl/src/org/jetbrains/io/WebServer.java
nullability
<ide><path>latform/platform-impl/src/org/jetbrains/io/WebServer.java <ide> import org.jboss.netty.channel.group.DefaultChannelGroup; <ide> import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory; <ide> import org.jboss.netty.handler.codec.http.*; <add>import org.jetbrains.annotations.NotNull; <ide> <id...
JavaScript
mit
d29c98f6d0f85203fb079d5f729f9d88148be6d6
0
Clarifai/lambdafai
var _ = require('lodash'); var async = require('async'); var aws = require('aws-sdk'); var callbacks = require('./callbacks'); var glob = require('glob'); var fs = require('fs'); var JSZip = new require('jszip'); var path = require('path'); var utils = require('../internal/utils'); var MB = 1024 * 1024; // Files to i...
lib/internal/lambda-deployer.js
var _ = require('lodash'); var async = require('async'); var aws = require('aws-sdk'); var callbacks = require('./callbacks'); var glob = require('glob'); var fs = require('fs'); var JSZip = new require('jszip'); var path = require('path'); var utils = require('../internal/utils'); var MB = 1024 * 1024; // Files to i...
We deploy the same zipfile to every Lambda. Only build it once.
lib/internal/lambda-deployer.js
We deploy the same zipfile to every Lambda. Only build it once.
<ide><path>ib/internal/lambda-deployer.js <ide> return !lambdaName || x.name == lambdaName; <ide> }); <ide> console.log('Found ' + lambdasToDeploy.length + ' lambdas to deploy'); <add> var zipFile = buildZipFile(); <ide> async.eachSeries(lambdasToDeploy, function(lambda, next) { <del> self._deployLambda(l...
Java
bsd-3-clause
022490f8020d733734c200ef7efd4975c5edb00f
0
credentials/irma_mno_server
package org.irmacard.mno.web; import org.irmacard.credentials.info.CredentialIdentifier; import org.irmacard.credentials.info.InfoException; import org.irmacard.mno.common.DriverDemographicInfo; import org.irmacard.mno.common.EDLDataMessage; import org.irmacard.mno.common.EnrollmentStartMessage; import org.irmacard.mn...
src/main/java/org/irmacard/mno/web/DLEnrollmentResource.java
package org.irmacard.mno.web; import org.irmacard.credentials.info.CredentialIdentifier; import org.irmacard.credentials.info.InfoException; import org.irmacard.mno.common.EDLDataMessage; import org.irmacard.mno.common.EnrollmentStartMessage; import org.irmacard.mno.common.PassportVerificationResultMessage; import ja...
WIP on DL credential computing
src/main/java/org/irmacard/mno/web/DLEnrollmentResource.java
WIP on DL credential computing
<ide><path>rc/main/java/org/irmacard/mno/web/DLEnrollmentResource.java <ide> <ide> import org.irmacard.credentials.info.CredentialIdentifier; <ide> import org.irmacard.credentials.info.InfoException; <add>import org.irmacard.mno.common.DriverDemographicInfo; <ide> import org.irmacard.mno.common.EDLDataMessage; <ide> i...
Java
bsd-3-clause
cf5a3c197c9acaaef448c124e2d33c2c80073d7c
0
lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon
/* * $Id: PdfTools.java,v 1.18 2007-07-24 00:16:42 thib_gc Exp $ */ /* Copyright (c) 2000-2007 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),...
tools/src/org/lockss/devtools/PdfTools.java
/* * $Id: PdfTools.java,v 1.17 2007-07-24 00:11:13 thib_gc Exp $ */ /* Copyright (c) 2000-2007 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),...
Added Commons CLI. Partial rework of PdfTools. git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@6416 4f837ed2-42f5-46e7-a7a5-fa17313484d4
tools/src/org/lockss/devtools/PdfTools.java
Added Commons CLI. Partial rework of PdfTools.
<ide><path>ools/src/org/lockss/devtools/PdfTools.java <ide> /* <del> * $Id: PdfTools.java,v 1.17 2007-07-24 00:11:13 thib_gc Exp $ <add> * $Id: PdfTools.java,v 1.18 2007-07-24 00:16:42 thib_gc Exp $ <ide> */ <ide> <ide> /* <ide> <ide> options.addOptionGroup(transformGroup); <ide> <add> OptionBuilder....
Java
mit
85cf98903ed11961c497ceaf86605f0885e0dfc4
0
angusws/tcx2nikeplus,jasongdove/tcx2nikeplus,jasongdove/tcx2nikeplus,jasongdove/tcx2nikeplus,angusws/tcx2nikeplus
package com.awsmithson.tcx2nikeplus.http; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import org.apache.http.client.HttpClient; import org.apache.http.conn.ClientCon...
src/com/awsmithson/tcx2nikeplus/http/HttpClientNaiveSsl.java
package com.awsmithson.tcx2nikeplus.http; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import org.apache.http.client.HttpClient; import org.apache.http.conn.ClientCon...
Suppressed deprecation warning on HttpClientNaiveSsl.wrapClient(...).
src/com/awsmithson/tcx2nikeplus/http/HttpClientNaiveSsl.java
Suppressed deprecation warning on HttpClientNaiveSsl.wrapClient(...).
<ide><path>rc/com/awsmithson/tcx2nikeplus/http/HttpClientNaiveSsl.java <ide> // "Borrowed" from http://theskeleton.wordpress.com/2010/07/24/avoiding-the-javax-net-ssl-sslpeerunverifiedexception-peer-not-authenticated-with-httpclient/ <ide> public class HttpClientNaiveSsl { <ide> <del> public static HttpClient wrapC...
Java
apache-2.0
406080d06bfa702ef7f943ecd786ba63cf64aad3
0
freme-project/basic-services,freme-project/basic-services,freme-project/basic-services
/** * Copyright (C) 2015 Agro-Know, Deutsches Forschungszentrum für Künstliche Intelligenz, iMinds, * Institut für Angewandte Informatik e. V. an der Universität Leipzig, * Istituto Superiore Mario Boella, Tilde, Vistatec, WRIPL (http://freme-project.eu) * * Licensed under the Apache License, Version 2.0 (the "Lic...
controllers/pipelines/src/main/java/eu/freme/bservices/controllers/pipelines/core/PipelineService.java
/** * Copyright (C) 2015 Agro-Know, Deutsches Forschungszentrum für Künstliche Intelligenz, iMinds, * Institut für Angewandte Informatik e. V. an der Universität Leipzig, * Istituto Superiore Mario Boella, Tilde, Vistatec, WRIPL (http://freme-project.eu) * * Licensed under the Apache License, Version 2.0 (the "Lic...
improve error messages
controllers/pipelines/src/main/java/eu/freme/bservices/controllers/pipelines/core/PipelineService.java
improve error messages
<ide><path>ontrollers/pipelines/src/main/java/eu/freme/bservices/controllers/pipelines/core/PipelineService.java <ide> JSONObject jo = new JSONObject(e.getResponse().getBody()); <ide> throw new PipelineFailedException(jo, "The pipeline has failed in step " + reqNr + ", request to URL '" + serializedRequest.getE...
JavaScript
mit
89864b5eefa6d81b89a4a1f73003b10a7fe51d5f
0
onsetsu/bloob,onsetsu/bloob,onsetsu/bloob
Jiquid.Material = function(folder) { this.stiffness = 1; this.restDensity = 1; this.bulkViscosity = 1 ; this.elasticity = 0; this.shearViscosity = 0; this.meltRate = 0; this.smoothing = 1; this.yieldRate = 1; folder.open(); folder.add(this, "restDensity", 0.1, 5.0); folder.add(this, "stiffness",...
lib/jiquid/material.js
Jiquid.Material = function() { }; Jiquid.Material.prototype.setStiffness = function(stiffness) { this.stiffness = stiffness; return this; }; Jiquid.Material.prototype.setRestDensity = function(restDensity) { this.restDensity = restDensity; return this; }; Jiquid.Material.prototype.setBulkVi...
adjusted Material constructor to take dat.Gui folder as parameter
lib/jiquid/material.js
adjusted Material constructor to take dat.Gui folder as parameter
<ide><path>ib/jiquid/material.js <del>Jiquid.Material = function() { <del> <add>Jiquid.Material = function(folder) { <add> this.stiffness = 1; <add> this.restDensity = 1; <add> this.bulkViscosity = 1 ; <add> this.elasticity = 0; <add> this.shearViscosity = 0; <add> this.meltRate = 0; <add> this.smoothing = 1; <add> th...
Java
bsd-2-clause
d7be9d97df342868f6146f59929ee8831789709e
0
padrig64/ValidationFramework
/* * Copyright (c) 2012, Patrick Moawad * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list...
validationframework-core/src/main/java/com/github/validationframework/base/rule/bool/OrBooleanRule.java
/* * Copyright (c) 2012, Patrick Moawad * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list...
Fixed bug in OrBooleanRule
validationframework-core/src/main/java/com/github/validationframework/base/rule/bool/OrBooleanRule.java
Fixed bug in OrBooleanRule
<ide><path>alidationframework-core/src/main/java/com/github/validationframework/base/rule/bool/OrBooleanRule.java <ide> package com.github.validationframework.base.rule.bool; <ide> <ide> import com.github.validationframework.api.rule.Rule; <del>import com.github.validationframework.base.transform.AndBooleanAggregator;...
Java
apache-2.0
9e12bfcb65b656f692823e0ad1d2ee0255cc8fa6
0
bimargulies/org.ops4j.pax.exam2,bimargulies/org.ops4j.pax.exam2,ops4j/org.ops4j.pax.exam2,The-Alchemist/org.ops4j.pax.exam2,koma-akdb/org.ops4j.pax.exam2,koma-akdb/org.ops4j.pax.exam2,The-Alchemist/org.ops4j.pax.exam2,ops4j/org.ops4j.pax.exam2
/* * Copyright 2008 Toni Menzel. * Copyright 2008 Alin Dreghiciu. * * 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 ...
core/pax-exam/src/main/java/org/ops4j/pax/exam/options/extra/RepositoryOptionImpl.java
/* * Copyright 2008 Toni Menzel. * Copyright 2008 Alin Dreghiciu. * * 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 ...
[PAXEXAM-522] repository() should not exclude default repositories
core/pax-exam/src/main/java/org/ops4j/pax/exam/options/extra/RepositoryOptionImpl.java
[PAXEXAM-522] repository() should not exclude default repositories
<ide><path>ore/pax-exam/src/main/java/org/ops4j/pax/exam/options/extra/RepositoryOptionImpl.java <ide> throw new IllegalStateException( <ide> "Does not make sense to disallow both releases and snapshots."); <ide> } <del> final StringBuilder url = new StringBuilder(); <add> ...
Java
lgpl-2.1
error: pathspec 'src/ch/unizh/ini/caviar/eventprocessing/filter/Info.java' did not match any file(s) known to git
d68d867e693bca01b1a472fb126160166faf2600
1
viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer
/* * Info.java * * Created on September 28, 2007, 7:29 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. * * *Copyright September 28, 2007 Tobi Delbruck, Inst. of Neuroinformatics, UNI-ETH Zurich */ package ch.unizh.ini.caviar.eventprocessing.f...
src/ch/unizh/ini/caviar/eventprocessing/filter/Info.java
initial version (functional) of a new type of filter that just annotates the ChipCanvas to show a clock with absolute file time. you still need to rewind the file to get the absolute time which is parsed from the filename. git-svn-id: e3d3b427d532171a6bd7557d8a4952a393b554a2@281 b7f4320f-462c-0410-a916-d9f35bb82d52
src/ch/unizh/ini/caviar/eventprocessing/filter/Info.java
initial version (functional) of a new type of filter that just annotates the ChipCanvas to show a clock with absolute file time. you still need to rewind the file to get the absolute time which is parsed from the filename.
<ide><path>rc/ch/unizh/ini/caviar/eventprocessing/filter/Info.java <add>/* <add> * Info.java <add> * <add> * Created on September 28, 2007, 7:29 PM <add> * <add> * To change this template, choose Tools | Template Manager <add> * and open the template in the editor. <add> * <add> * <add> *Copyright September 28, 2007 To...
Java
bsd-2-clause
87d6e3aff8b24395945254ad604d55e3c4588d81
0
archiecobbs/com4j,archiecobbs/com4j,archiecobbs/com4j,archiecobbs/com4j,kohsuke/com4j,kohsuke/com4j,kohsuke/com4j,kohsuke/com4j
import com4j.COM4J; import com4j.Holder; /** * Test program. * * @author Kohsuke Kawaguchi (kk@kohsuke.org) */ public class Main { public static void main(String[] args) { IWshShell wsh = COM4J.createInstance(IWshShell.class,"WScript.Shell"); String s = wsh.ExpandEnvironmentStrings("%WinDir%")...
test/src/test/java/Main.java
import com4j.COM4J; import com4j.Holder; /** * Test program. * * @author Kohsuke Kawaguchi (kk@kohsuke.org) */ public class Main { public static void main(String[] args) { IWshShell wsh = COM4J.createInstance(IWshShell.class,"WScript.Shell"); String s = wsh.ExpandEnvironmentStrings("%WinDir%")...
updated to the modern com4j
test/src/test/java/Main.java
updated to the modern com4j
<ide><path>est/src/test/java/Main.java <ide> // wsh.ExpandEnvironmentStrings("%WinDir%",h); <ide> // String s = h.value; <ide> System.out.println(s); <del> COM4J.dispose(wsh); <add> wsh.dispose(); <ide> } <ide> }
Java
apache-2.0
82ca3a09ca04a71fd12f35508dfb59c96e88cce6
0
DennisRippinger/spade,DennisRippinger/spade,DennisRippinger/spade,DennisRippinger/spade
/** * Copyright 2014 Dennis Rippinger * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
spade/spade-core/src/main/java/info/interactivesystems/spade/similarity/NilsimsaSimilarityCalculator.java
/** * Copyright 2014 Dennis Rippinger * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Fixed Nilsimsa Calculator haha 650 %
spade/spade-core/src/main/java/info/interactivesystems/spade/similarity/NilsimsaSimilarityCalculator.java
Fixed Nilsimsa Calculator
<ide><path>pade/spade-core/src/main/java/info/interactivesystems/spade/similarity/NilsimsaSimilarityCalculator.java <ide> import info.interactivesystems.spade.entities.NilsimsaSimilarity; <ide> import info.interactivesystems.spade.entities.Review; <ide> <add>import java.net.InetAddress; <add>import java.net.UnknownHos...
Java
apache-2.0
error: pathspec 'catalog/src/test/java/org/killbill/billing/catalog/caching/TestPriceOverridePattern.java' did not match any file(s) known to git
67b508c52addbd8f957047d564fea2d0507a507c
1
sbrossie/killbill,killbill/killbill,sbrossie/killbill,sbrossie/killbill,sbrossie/killbill,killbill/killbill,killbill/killbill,killbill/killbill,killbill/killbill,sbrossie/killbill
import static org.testng.Assert.*; public class TestPriceOverridePattern { }
catalog/src/test/java/org/killbill/billing/catalog/caching/TestPriceOverridePattern.java
catalog: Add basic test to verify legacy and non legacy separator in PriceOverridePattern. See #1364
catalog/src/test/java/org/killbill/billing/catalog/caching/TestPriceOverridePattern.java
catalog: Add basic test to verify legacy and non legacy separator in PriceOverridePattern. See #1364
<ide><path>atalog/src/test/java/org/killbill/billing/catalog/caching/TestPriceOverridePattern.java <add>import static org.testng.Assert.*; <add> <add>public class TestPriceOverridePattern { <add> <add>}
Java
apache-2.0
3fd49cf9fadc5a6821874c185675205bf9e2eeb7
0
bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
src/main/java/build/buildfarm/instance/shard/RedisShardBackplane.java
// Copyright 2017 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...
Use getJedis for client acquisition to obey pool Ensure that all client uses in RedisShardBackplane go through getJedis to ensure that pool closure is properly logged and propagated.
src/main/java/build/buildfarm/instance/shard/RedisShardBackplane.java
Use getJedis for client acquisition to obey pool
<ide><path>rc/main/java/build/buildfarm/instance/shard/RedisShardBackplane.java <ide> while (true) { <ide> try { <ide> TimeUnit.SECONDS.sleep(10); <del> updateWatchers(jedisCluster); <add> updateWatchers(getJedis()); <ide> } catch (InterruptedException e) { <ide> ...
JavaScript
mit
60644d29354d613cb71c21939609c1f2862019e3
0
ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt
const Exchange = require ('./base/Exchange'); const { TICK_SIZE } = require ('./base/functions/number'); const Precise = require ('./base/Precise'); const { BadSymbol, BadRequest, OnMaintenance, AccountSuspended, PermissionDenied, ExchangeError, RateLimitExceeded, ExchangeNotAvailable, OrderNotFound, InsufficientFunds,...
js/hitbtc3.js
const Exchange = require ('./base/Exchange'); const { TICK_SIZE } = require ('./base/functions/number'); const Precise = require ('./base/Precise'); const { BadSymbol, BadRequest, OnMaintenance, AccountSuspended, PermissionDenied, ExchangeError, RateLimitExceeded, ExchangeNotAvailable, OrderNotFound, InsufficientFunds,...
Hitbtc3 fetchMyTrades Added margin functionality to fetchMyTrades: ``` hitbtc3.fetchMyTrades () 2022-03-24T01:52:55.193Z iteration 0 passed in 224 ms id | order | timestamp | datetime | symbol | type | side | takerOrMaker | price | amount | cost | ...
js/hitbtc3.js
Hitbtc3 fetchMyTrades
<ide><path>s/hitbtc3.js <ide> const method = this.getSupportedMapping (marketType, { <ide> 'spot': 'privateGetSpotHistoryTrade', <ide> 'swap': 'privateGetFuturesHistoryTrade', <add> 'margin': 'privateGetMarginHistoryTrade', <ide> }); <ide> const response = awai...
Java
isc
46a3fa85677d73a2c7b03e030b51d01533244780
0
plues/model-generator,plues/model-generator
package org.hibernate.usertype; import org.hibernate.HibernateException; import org.hibernate.engine.spi.SessionImplementor; import org.hibernate.usertype.UserType; import java.io.Serializable; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Types; import ja...
src/main/java/org/hibernate/usertype/SQLiteDateTimeType.java
package org.hibernate.usertype; import org.hibernate.HibernateException; import org.hibernate.engine.spi.SessionImplementor; import org.hibernate.usertype.UserType; import java.io.Serializable; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Types; import ja...
FindBugs recommended changes to SQLiteDateTimeType
src/main/java/org/hibernate/usertype/SQLiteDateTimeType.java
FindBugs recommended changes to SQLiteDateTimeType
<ide><path>rc/main/java/org/hibernate/usertype/SQLiteDateTimeType.java <ide> import java.util.Objects; <ide> <ide> public class SQLiteDateTimeType implements UserType { <del> static final SimpleDateFormat sqliteTextTimeStamp = new SimpleDateFormat("yyyy-MM-dd kk:mm:ss"); // e.g. 2016-04-27 15:40:18 <add> static ...
Java
mit
error: pathspec 'relaxng/datatype/java/src/org/whattf/datatype/data/LanguageData.java' did not match any file(s) known to git
5e67587a633d047928ca897dafda142cd5bb3d23
1
sammuelyee/validator,tripu/validator,takenspc/validator,tripu/validator,sammuelyee/validator,tripu/validator,validator/validator,YOTOV-LIMITED/validator,takenspc/validator,validator/validator,sammuelyee/validator,takenspc/validator,sammuelyee/validator,takenspc/validator,tripu/validator,YOTOV-LIMITED/validator,YOTOV-LI...
package org.whattf.datatype.data; import java.io.BufferedReader; import java.io.IOException; import java.util.Arrays; import java.util.Iterator; import java.util.SortedSet; import java.util.TreeSet; public class LanguageData { private static final String PREFIX = "prefix: "; private static final String ...
relaxng/datatype/java/src/org/whattf/datatype/data/LanguageData.java
Incomplete draft code for reading IANA language registry data --HG-- extra : convert_revision : svn%3Ae7398766-c432-0410-9565-638d39ca0058/trunk%40115
relaxng/datatype/java/src/org/whattf/datatype/data/LanguageData.java
Incomplete draft code for reading IANA language registry data
<ide><path>elaxng/datatype/java/src/org/whattf/datatype/data/LanguageData.java <add>package org.whattf.datatype.data; <add> <add>import java.io.BufferedReader; <add>import java.io.IOException; <add>import java.util.Arrays; <add>import java.util.Iterator; <add>import java.util.SortedSet; <add>import java.util.TreeSet; <...
Java
apache-2.0
9e193b62bc9c25044da1563b58f4deea48195152
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
package org.apache.lucene.index; /** * 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, Versi...
lucene/src/java/org/apache/lucene/index/IndexReader.java
package org.apache.lucene.index; /** * 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, Versi...
LUCENE-3637: change IndexReader.decRef to call decrementAndGet git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1213033 13f79535-47bb-0310-9956-ffa450edef68
lucene/src/java/org/apache/lucene/index/IndexReader.java
LUCENE-3637: change IndexReader.decRef to call decrementAndGet
<ide><path>ucene/src/java/org/apache/lucene/index/IndexReader.java <ide> */ <ide> public final void decRef() throws IOException { <ide> ensureOpen(); <del> final int rc = refCount.getAndDecrement(); <del> if (rc == 1) { <add> final int rc = refCount.decrementAndGet(); <add> if (rc == 0) { <ide> ...
Java
mit
3aeb83f5f78a19117c7fb877b855a910e612f717
0
subwoofer359/AMCChessGame,subwoofer359/AMCChessGame,subwoofer359/AMCChessGame,subwoofer359/AMCChessGame
package org.amc.game.chess; import org.amc.game.chess.ChessBoard.ChessPieceLocation; import java.text.ParseException; import java.util.List; public class ChessBoardFactoryImpl implements ChessBoardFactory { private final ChessBoardSetupNotation notation; public ChessBoardFactoryImpl(ChessBoardSetupNotation...
src/main/java/org/amc/game/chess/ChessBoardFactoryImpl.java
package org.amc.game.chess; import org.amc.game.chess.ChessBoard.ChessPieceLocation; import java.text.ParseException; import java.util.List; public class ChessBoardFactoryImpl implements ChessBoardFactory { private final SimpleChessBoardSetupNotation notation; public ChessBoardFactoryImpl(SimpleChessBoardS...
modify ChessBoardFactoryImpl to use interface for ChessBoardSetupNotation
src/main/java/org/amc/game/chess/ChessBoardFactoryImpl.java
modify ChessBoardFactoryImpl to use interface for ChessBoardSetupNotation
<ide><path>rc/main/java/org/amc/game/chess/ChessBoardFactoryImpl.java <ide> <ide> public class ChessBoardFactoryImpl implements ChessBoardFactory { <ide> <del> private final SimpleChessBoardSetupNotation notation; <add> private final ChessBoardSetupNotation notation; <ide> <del> public ChessBoardFactoryImpl...
Java
bsd-3-clause
a4f68d780258106514c6514151fd5254e4826add
0
luxiaohan/openxal-csns-luxh,openxal/openxal,EuropeanSpallationSource/openxal,luxiaohan/openxal-csns-luxh,luxiaohan/openxal-csns-luxh,openxal/openxal,EuropeanSpallationSource/openxal,openxal/openxal,openxal/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,openxal...
/* * ParseWirefile.java * * Created on November 12, 2004 */ package xal.app.wireanalysis; import xal.tools.*; import xal.smf.*; import xal.smf.impl.*; import xal.ca.*; import xal.tools.messaging.*; import xal.tools.statistics.*; import java.io.*; import java.net.URL; import java.util.*; /** * Read and parse a wi...
apps/wireanalysis/src/xal/app/wireanalysis/ParseWireFile.java
/* * ParseWirefile.java * * Created on November 12, 2004 */ package xal.app.wireanalysis; import xal.tools.*; import xal.smf.*; import xal.smf.impl.*; import xal.ca.*; import xal.tools.messaging.*; import xal.tools.statistics.*; import java.io.*; import java.net.URL; import java.util.*; /** * Read and parse a wi...
Remove commented code that doesn’t belong.
apps/wireanalysis/src/xal/app/wireanalysis/ParseWireFile.java
Remove commented code that doesn’t belong.
<ide><path>pps/wireanalysis/src/xal/app/wireanalysis/ParseWireFile.java <ide> ArrayList<Double> szraw = new ArrayList<Double>(); <ide> <ide> //Open the file. <del> //URL url = getClass().getResource(filename); <ide> <ide> URL url = newfile.toURI().toURL(); <ide>
JavaScript
mit
66b4d70fb0d35175f7130b2bfb4e4a7fd8e2903f
0
TristanVALCKE/three.js,WestLangley/three.js,stanford-gfx/three.js,Liuer/three.js,Liuer/three.js,kaisalmen/three.js,Samsy/three.js,TristanVALCKE/three.js,jpweeks/three.js,donmccurdy/three.js,Samsy/three.js,fraguada/three.js,Itee/three.js,aardgoose/three.js,looeee/three.js,WestLangley/three.js,zhoushijie163/three.js,06wj...
import { Color } from '../math/Color.js'; import { Vector2 } from '../math/Vector2.js'; import { Vector3 } from '../math/Vector3.js'; import { Vector4 } from '../math/Vector4.js'; import { Matrix3 } from '../math/Matrix3.js'; import { Matrix4 } from '../math/Matrix4.js'; import { FileLoader } from './FileLoader.js'; im...
src/loaders/MaterialLoader.js
import { Color } from '../math/Color.js'; import { Vector2 } from '../math/Vector2.js'; import { Vector3 } from '../math/Vector3.js'; import { Vector4 } from '../math/Vector4.js'; import { Matrix3 } from '../math/Matrix3.js'; import { Matrix4 } from '../math/Matrix4.js'; import { FileLoader } from './FileLoader.js'; im...
remove transparent based on alphaMap #18705
src/loaders/MaterialLoader.js
remove transparent based on alphaMap #18705
<ide><path>rc/loaders/MaterialLoader.js <ide> if ( json.map !== undefined ) material.map = getTexture( json.map ); <ide> if ( json.matcap !== undefined ) material.matcap = getTexture( json.matcap ); <ide> <del> if ( json.alphaMap !== undefined ) { <del> <del> material.alphaMap = getTexture( json.alphaMap ); <de...
Java
agpl-3.0
e839e3f60d2eb36366ceb2ebc0bf0dee50907abb
0
DJmaxZPL4Y/Photon-Server
package org.mcphoton.impl.server; import com.electronwill.utils.SimpleBag; import java.net.InetSocketAddress; import java.security.KeyPair; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; import org.mcphoton.Photon; ...
src/main/java/org/mcphoton/impl/server/PhotonServer.java
package org.mcphoton.impl.server; import com.electronwill.utils.SimpleBag; import java.net.InetSocketAddress; import java.security.KeyPair; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; import org.mcphoton.Photon; ...
Create bans and whitelist manager instances + implement getters
src/main/java/org/mcphoton/impl/server/PhotonServer.java
Create bans and whitelist manager instances + implement getters
<ide><path>rc/main/java/org/mcphoton/impl/server/PhotonServer.java <ide> public final NetworkOutputThread networkOutputThread; <ide> public final ConsoleThread consoleThread = new ConsoleThread(); <ide> public final PhotonPacketsManager packetsManager = new PhotonPacketsManager(this); <add> public final PhotonBansMa...