lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | mit | c66a48cecfff1273dfa46a539fd1d334ab0da38e | 0 | pex-gl/pex-renderer,pex-gl/pex-renderer | const isPOT = require('is-power-of-two')
const nextPOT = require('next-power-of-two')
const log = require('debug')('gltf-build')
const assert = require('assert')
const aabb = require('pex-geom/aabb')
const vec3 = require('pex-math/vec3')
const createBox = require('primitive-box')
const edges = require('geom-edges')
va... | examples/gltf/gltf-build.js | const isPOT = require('is-power-of-two')
const nextPOT = require('next-power-of-two')
const log = require('debug')('gltf-build')
const assert = require('assert')
const aabb = require('pex-geom/aabb')
const vec3 = require('pex-math/vec3')
const createBox = require('primitive-box')
const edges = require('geom-edges')
va... | Add support for KHR_materials_unlit extensions (set roughness/metallic to null)
| examples/gltf/gltf-build.js | Add support for KHR_materials_unlit extensions (set roughness/metallic to null) | <ide><path>xamples/gltf/gltf-build.js
<ide> // TODO: double check sRGB
<ide> var tex = loadTexture(material.emissiveTexture, gltf, ctx.Encoding.SRGB, ctx, renderer)
<ide> materialCmp.set({ emissiveColorMap: tex })
<add> }
<add>
<add> if (material.extensions && material.extensions.KHR_materials_unlit) {
<a... | |
Java | lgpl-2.1 | error: pathspec 'test/org/pentaho/di/repository/RepositoryImportExporterApiTest.java' did not match any file(s) known to git
| b7bef41f9102aa51b912a3254a9921a3164ef893 | 1 | juanmjacobs/kettle,cwarden/kettle,cwarden/kettle,juanmjacobs/kettle,juanmjacobs/kettle,cwarden/kettle | package org.pentaho.di.repository;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import junit.framework.TestCase;
import org.pentaho.di.core.ProgressMonitorListener;
public class RepositoryImportExporterApiTest extends TestCase {
/**
* Validate the the repository export api hasn't cha... | test/org/pentaho/di/repository/RepositoryImportExporterApiTest.java | [PDI-26] Created unit tests to ensure the repository import/export api we expect to exist exists.
git-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@14745 5fb7f6ec-07c1-534a-b4ca-9155e429e800
| test/org/pentaho/di/repository/RepositoryImportExporterApiTest.java | [PDI-26] Created unit tests to ensure the repository import/export api we expect to exist exists. | <ide><path>est/org/pentaho/di/repository/RepositoryImportExporterApiTest.java
<add>package org.pentaho.di.repository;
<add>
<add>import java.lang.reflect.Constructor;
<add>import java.lang.reflect.Method;
<add>
<add>import junit.framework.TestCase;
<add>
<add>import org.pentaho.di.core.ProgressMonitorListener;
<add>
<a... | |
Java | apache-2.0 | cf4e17e2992d8f964007965b357f24c06cdf4bbf | 0 | amiryesh/incubator-trafficcontrol,weifensh/incubator-trafficcontrol,jheitz200/traffic_control,zhilhuan/incubator-trafficcontrol,weifensh/traffic_control,rscrimojr/incubator-trafficcontrol,PSUdaemon/traffic_control,hbeatty/incubator-trafficcontrol,alficles/incubator-trafficcontrol,serDrem/incubator-trafficcontrol,mitche... | /*
* Copyright 2015 Comcast Cable Communications Management, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/Event.java | /*
* Copyright 2015 Comcast Cable Communications Management, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Change format of Traffic Monitor event entries to be key value pairs, more like Traffic Router access event log
| traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/Event.java | Change format of Traffic Monitor event entries to be key value pairs, more like Traffic Router access event log | <ide><path>raffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/health/Event.java
<ide> final long currentTimeMillis = System.currentTimeMillis();
<ide> final String timeString = String.format("%d.%03d", currentTimeMillis / 1000, currentTimeMillis % 1000);
<ide>
<del> EVENT_LOGGER.info(Str... | |
Java | lgpl-2.1 | 5d4a983e99a84ee8d09f07db9732236c30d42969 | 0 | LiuKeHua/vrjuggler,LiuKeHua/vrjuggler,MichaelMcDonnell/vrjuggler,LiuKeHua/vrjuggler,LiuKeHua/vrjuggler,MichaelMcDonnell/vrjuggler,godbyk/vrjuggler-upstream-old,godbyk/vrjuggler-upstream-old,LiuKeHua/vrjuggler,vrjuggler/vrjuggler,LiuKeHua/vrjuggler,MichaelMcDonnell/vrjuggler,vancegroup-mirrors/vrjuggler,LiuKeHua/vrjuggl... | /*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* VR Juggler is (C) Copyright 1998-2006 by Iowa State University
*
* Original Authors:
* Allen Bierbaum, Christopher Just,
* Patrick Hartling, Kevin Meinert,
* Carolina Cruz-Neira, Albert Baker
*
* This library is free soft... | modules/tweek/java/org/vrjuggler/tweek/TweekCore.java | /*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* VR Juggler is (C) Copyright 1998-2006 by Iowa State University
*
* Original Authors:
* Allen Bierbaum, Christopher Just,
* Patrick Hartling, Kevin Meinert,
* Carolina Cruz-Neira, Albert Baker
*
* This library is free soft... | Style fixes. No functional changes.
git-svn-id: a341ccba1312b2efdbe34f40faf90581f48aa49f@19165 08b38cba-cd3b-11de-854e-f91c5b6e4272
| modules/tweek/java/org/vrjuggler/tweek/TweekCore.java | Style fixes. No functional changes. | <ide><path>odules/tweek/java/org/vrjuggler/tweek/TweekCore.java
<ide> // and viewers get loaded.
<ide> EnvironmentServiceProxy env_service = new EnvironmentServiceProxy();
<ide> String default_path = env_service.getenv("TWEEK_BASE_DIR") +
<del> File.separator + env_service.g... | |
JavaScript | bsd-3-clause | 19bf5af565998d90291b43ada340ef1dda779655 | 0 | redaktor/deliteful | define([
"dojo/_base/kernel",
"..",
"dojo/_base/array", // dojo.every
"dojo/_base/lang", // dojo.isArray
"dojo/_base/window" // dojo.global
], function(dojo, dijit){
// module:
// dijit/_editor/range
// summary:
// W3C range API
dijit.range={};
dijit.range.getIndex = function(/*DomNode*/node, /*DomNode*/pare... | _editor/range.js | define([
"dojo/_base/kernel",
"..",
"dojo/_base/array", // dojo.every
"dojo/_base/lang", // dojo.isArray
"dojo/_base/window" // dojo.global
], function(dojo, dijit){
// module:
// dijit/_editor/range
// summary:
// W3C range API
dijit.range={};
dijit.range.getIndex = function(/*DomNode*/node, /*DomNode*/pare... | refs #8490: fixed a typo (getIndex returns a list, not a integer)
git-svn-id: 674a2d6b1e32e53f607eb824547723f32280967e@25801 560b804f-0ae3-0310-86f3-f6aa0a117693
| _editor/range.js | refs #8490: fixed a typo (getIndex returns a list, not a integer) | <ide><path>editor/range.js
<ide> decomposeControlRange: function(range){
<ide> var firstnode = range.item(0), lastnode = range.item(range.length - 1);
<ide> var startContainer = firstnode.parentNode, endContainer = lastnode.parentNode;
<del> var startOffset = dijit.range.getIndex(firstnode, startContainer).o;... | |
Java | apache-2.0 | 1de7b1a70c2a326d1a4fb5ca959ef3d74dd0818e | 0 | hanst/elasticsearch,wuranbo/elasticsearch,AleksKochev/elasticsearch,janmejay/elasticsearch,NBSW/elasticsearch,Clairebi/ElasticsearchClone,truemped/elasticsearch,sposam/elasticsearch,huypx1292/elasticsearch,feiqitian/elasticsearch,uboness/elasticsearch,vvcephei/elasticsearch,uboness/elasticsearch,koxa29/elasticsearch,li... | /*
* Licensed to ElasticSearch and Shay Banon 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... | src/main/java/org/elasticsearch/action/support/replication/TransportShardReplicationOperationAction.java | /*
* Licensed to ElasticSearch and Shay Banon 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... | Minor cleanup to logging messages.
| src/main/java/org/elasticsearch/action/support/replication/TransportShardReplicationOperationAction.java | Minor cleanup to logging messages. | <ide><path>rc/main/java/org/elasticsearch/action/support/replication/TransportShardReplicationOperationAction.java
<ide> clusterService.add(request.timeout(), new TimeoutClusterStateListener() {
<ide> @Override
<ide> public void postAdded() {
<del> ... | |
Java | apache-2.0 | 3c1fcf0e4c0f675b8f0f3719d7606a058b614ead | 0 | LPTK/intellij-scala,triggerNZ/intellij-scala,triggerNZ/intellij-scala,JetBrains/intellij-scala-historical,JetBrains/intellij-scala-historical,SergeevPavel/intellij-scala,SergeevPavel/intellij-scala,LPTK/intellij-scala,SergeevPavel/intellij-scala,triggerNZ/intellij-scala,LPTK/intellij-scala,JetBrains/intellij-scala-hist... | package org.jetbrains.jps.incremental.scala.model;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.ex.JpsElementBase;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**... | jps-plugin/src/org/jetbrains/jps/incremental/scala/model/FacetSettingsImpl.java | package org.jetbrains.jps.incremental.scala.model;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.ex.JpsElementBase;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**... | JPS: proper "-nowarn" option handling
| jps-plugin/src/org/jetbrains/jps/incremental/scala/model/FacetSettingsImpl.java | JPS: proper "-nowarn" option handling | <ide><path>ps-plugin/src/org/jetbrains/jps/incremental/scala/model/FacetSettingsImpl.java
<ide> public String[] getCompilerOptions() {
<ide> List<String> list = new ArrayList<String>();
<ide>
<del> if (myState.warnings) {
<add> if (!myState.warnings) {
<ide> list.add("-nowarn");
<ide> }
<ide> | |
Java | mit | 94e88808b4357f06a763d7914493d0a620b3c4cf | 0 | deki/jira-plugin,warden/jira-plugin,kuldazbraslav/jira-plugin,kuldazbraslav/jira-plugin,escoem/jira-plugin,escoem/jira-plugin,deki/jira-plugin,warden/jira-plugin | /*
* The MIT License
*
* Copyright (c) 2015 schristou88
*
* 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... | src/test/java/hudson/plugins/jira/MailResolverTest.java | /*
* The MIT License
*
* Copyright (c) 2015 schristou88
*
* 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... | Use full class name to protect against class rename/move.
| src/test/java/hudson/plugins/jira/MailResolverTest.java | Use full class name to protect against class rename/move. | <ide><path>rc/test/java/hudson/plugins/jira/MailResolverTest.java
<ide>
<ide> @BeforeClass
<ide> public static void setUp() throws Exception {
<del> System.setProperty(JiraMailAddressResolver.class.getName() + ".DISABLE", "true");
<add> System.setProperty("hudson.plugins.jira.JiraMailAddressResol... | |
Java | apache-2.0 | a62e98f966d269baa14ba361e77d52b72134319b | 0 | keycloak/keycloak,reneploetz/keycloak,jpkrohling/keycloak,mhajas/keycloak,srose/keycloak,reneploetz/keycloak,mhajas/keycloak,stianst/keycloak,abstractj/keycloak,jpkrohling/keycloak,mhajas/keycloak,reneploetz/keycloak,stianst/keycloak,srose/keycloak,abstractj/keycloak,abstractj/keycloak,jpkrohling/keycloak,srose/keycloa... | /*
* Copyright 2022 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.apach... | model/map/src/main/java/org/keycloak/models/map/user/MapUserProvider.java | /*
* Copyright 2022 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.apach... | MapUserProvider should throw an exception for more than one user
Closes #14672 | model/map/src/main/java/org/keycloak/models/map/user/MapUserProvider.java | MapUserProvider should throw an exception for more than one user | <ide><path>odel/map/src/main/java/org/keycloak/models/map/user/MapUserProvider.java
<ide> List<MapUserEntity> users = s.collect(Collectors.toList());
<ide> if (users.isEmpty()) return null;
<ide> if (users.size() != 1) {
<del> LOG.warnf("There are colliding usernames f... | |
Java | lgpl-2.1 | 6f3f0637e9df8759b3993854cb6c4427b49f2dc7 | 0 | ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror | /*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistribute i... | src/jade/core/ServiceManagerImpl.java | /*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistribute i... | Fixed a bug: when a new node became leader, it didn't set up failure
monitors for the orphaned containers.
| src/jade/core/ServiceManagerImpl.java | Fixed a bug: when a new node became leader, it didn't set up failure monitors for the orphaned containers. | <ide><path>rc/jade/core/ServiceManagerImpl.java
<ide> node.setName(name);
<ide>
<ide> if(control) {
<del> // Set up a failure monitor using the blocking ping...
<del> NodeFailureMonitor monitor = new NodeFailureMonitor(node, new NodeEventListener() {
<del>
<del> // FIXME: Should notify all the intereste... | |
Java | apache-2.0 | a8064c8e09e9b3ec8e3f983c3b76834212a7bd88 | 0 | KoriSamui/PlayN,KoriSamui/PlayN,KoriSamui/PlayN,KoriSamui/PlayN | /**
* Copyright 2012 The PlayN Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | ios/src/playn/ios/IOSGLProgram.java | /**
* Copyright 2012 The PlayN Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Added missing getUniform2fv.
| ios/src/playn/ios/IOSGLProgram.java | Added missing getUniform2fv. | <ide><path>os/src/playn/ios/IOSGLProgram.java
<ide> }
<ide>
<ide> @Override
<add> public GLShader.Uniform2fv getUniform2fv(String name) {
<add> final int loc = GL.GetUniformLocation(program, name);
<add> return (loc < 0) ? null : new GLShader.Uniform2fv() {
<add> public void bind(GLBuffer.Float data, i... | |
Java | bsd-3-clause | 983f82d554d6f98585c9123d0113480e315ba7f2 | 0 | Polidea/the-missing-android-xml-junit-test-runner | package pl.polidea.instrumentation;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.SimpleDateFormat;
import java.util.LinkedHashMap;
import java.... | src/pl/polidea/instrumentation/PolideaInstrumentationTestRunner.java | package pl.polidea.instrumentation;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.SimpleDateFormat;
import java.util.LinkedHashMap;
import java.... | Final NPE Fix
| src/pl/polidea/instrumentation/PolideaInstrumentationTestRunner.java | Final NPE Fix | <ide><path>rc/pl/polidea/instrumentation/PolideaInstrumentationTestRunner.java
<ide> }
<ide>
<ide> private String getJunitOutputFilePath(final Package p) {
<del> return junitOutputDirectory + File.separator + p == null ? "NO_PACKAGE" : p.getName() + junitOutputFilePostfix;
<add> return junitOutpu... | |
Java | apache-2.0 | f4570710c18e8c99b9cd6aed6595d77f75484827 | 0 | scottfrederick/spring-boot,zhanhb/spring-boot,tiarebalbi/spring-boot,zhanhb/spring-boot,ptahchiev/spring-boot,dreis2211/spring-boot,hello2009chen/spring-boot,bclozel/spring-boot,ihoneymon/spring-boot,philwebb/spring-boot,eddumelendez/spring-boot,tiarebalbi/spring-boot,ilayaperumalg/spring-boot,philwebb/spring-boot,vpav... | /*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryAutoConfiguration.java | /*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Make Tomcat auto-config back off when UpgradeProtocol is absent
Closes gh-10960
| spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryAutoConfiguration.java | Make Tomcat auto-config back off when UpgradeProtocol is absent | <ide><path>pring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryAutoConfiguration.java
<ide>
<ide> import io.undertow.Undertow;
<ide> import org.apache.catalina.startup.Tomcat;
<add>import org.apache.coyote.UpgradeProtocol;
<ide> import or... | |
JavaScript | mit | f7e836358cfe8c1bdd6d39d0ecc7e51b98510139 | 0 | silklabs/silk,silklabs/silk,silklabs/silk,silklabs/silk,silklabs/silk,silklabs/silk | 'use strict';
const path = require('path');
const fs = require('fs');
const findPackage = require('./src/find_package.js');
const webpack = require('webpack');
const resolve = require('resolve');
const mkdirp = require('mkdirp');
// We must place our files in a special folder for integration /w the android
// build... | buildjs/webpack.config.js | 'use strict';
const path = require('path');
const fs = require('fs');
const findPackage = require('./src/find_package.js');
const webpack = require('webpack');
const resolve = require('resolve');
const mkdirp = require('mkdirp');
// We must place our files in a special folder for integration /w the android
// build... | Update webpack.config
| buildjs/webpack.config.js | Update webpack.config | <ide><path>uildjs/webpack.config.js
<ide> 'silk-netstatus',
<ide> 'silk-ntp',
<ide> 'silk-properties',
<add> 'silk-say',
<ide> 'silk-sensors',
<ide> 'silk-sysutils',
<ide> 'silk-vad', | |
Java | apache-2.0 | 4bc3f0d7ad8fdbf7a44bf2ce75d0717e9e87e84c | 0 | MSG134/IVCT_Framework,MSG134/IVCT_Framework,MSG134/IVCT_Framework | package nato.ivct.gui.server.sut;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.InvalidPathException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.text.SimpleDateFormat;
import java.util.Date;
... | GUI/nato.ivct.gui.server/src/main/java/nato/ivct/gui/server/sut/TestReport.java | package nato.ivct.gui.server.sut;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.InvalidPathException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.text.SimpleDateFormat;
import java.util.Date;
... | Add subreport badge summary
| GUI/nato.ivct.gui.server/src/main/java/nato/ivct/gui/server/sut/TestReport.java | Add subreport badge summary | <ide><path>UI/nato.ivct.gui.server/src/main/java/nato/ivct/gui/server/sut/TestReport.java
<ide> JasperReport jasperReport = JasperCompileManager.compileReport(pathToTemplates + "Report.jrxml");
<ide> JasperCompileManager.compileReportToFile(pathToTemplates + "subreport_SuT.jrxml", "subreport_SuT... | |
JavaScript | mit | 6a768950b61eb699f40b5cc339d191b9b035b148 | 0 | bevacqua/dragula,bevacqua/dragula | 'use strict';
var emitter = require('contra/emitter');
var crossvent = require('crossvent');
var classes = require('./classes');
var doc = document;
var documentElement = doc.documentElement;
function dragula (initialContainers, options) {
var len = arguments.length;
if (len === 1 && Array.isArray(initialContaine... | dragula.js | 'use strict';
var emitter = require('contra/emitter');
var crossvent = require('crossvent');
var classes = require('./classes');
var doc = document;
var documentElement = doc.documentElement;
function dragula (initialContainers, options) {
var len = arguments.length;
if (len === 1 && Array.isArray(initialContaine... | fixing default values
- causing tests to crash
- throw errors when e is undefined and math is attempted on it
| dragula.js | fixing default values | <ide><path>ragula.js
<ide> return;
<ide> }
<ide> if (o.ignoreInputTextSelection) {
<del> var clientX = getCoord('clientX', e);
<del> var clientY = getCoord('clientY', e);
<add> var clientX = getCoord('clientX', e) || 0;
<add> var clientY = getCoord('clientY', e) || 0;
<ide> var e... | |
JavaScript | mit | 41163944c9daa29093d1af63e47ad276136c9f37 | 0 | fvilers/angular2-training,fvilers/angular2-training,fvilers/angular2-training | 'use strict';
const mongoose = require('mongoose');
const options = require('./default-options');
const schema = new mongoose.Schema({
name: {
required: true,
type: String,
unique: true
},
title: {
type: String
},
universe: {
index: true,
required: true,
type: Number
},
roles:... | server/models/schemas/hero.js | 'use strict';
const mongoose = require('mongoose');
const options = require('./default-options');
const schema = new mongoose.Schema({
name: {
required: true,
type: String,
unique: true
},
title: {
type: String
},
universe: {
index: true,
required: true,
type: Number
},
roles:... | Add missing description field
| server/models/schemas/hero.js | Add missing description field | <ide><path>erver/models/schemas/hero.js
<ide> type: String,
<ide> required: true
<ide> },
<add> description: {
<add> type: String
<add> }
<ide> }, Object.assign(options, { collection: 'heroes' }));
<ide>
<ide> schema.plugin(require('mongoose-slug-hero'), { doc: 'filter', field: 'name' }); | |
Java | mpl-2.0 | 210cf0fda0c9aa2483e1df4a0637bce78a0a076b | 0 | Vexatos/Tropicraft,ReikaKalseki/Tropicraft,cbaakman/Tropicraft | package net.tropicraft.registry;
import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.item.ItemHoe;
import net.minecraft.item.ItemSword;
import net.minecraftforge.common.util.EnumHelper;
import net.minecraftforge.oredict.Or... | src/main/java/net/tropicraft/registry/TCItemRegistry.java | package net.tropicraft.registry;
import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.item.ItemHoe;
import net.minecraft.item.ItemSword;
import net.minecraftforge.common.util.EnumHelper;
import net.minecraftforge.oredict.Or... | removed unfinished ashen item masks
| src/main/java/net/tropicraft/registry/TCItemRegistry.java | removed unfinished ashen item masks | <ide><path>rc/main/java/net/tropicraft/registry/TCItemRegistry.java
<ide> registerItem(encTropica, TCNames.encTropica);
<ide> registerItem(mobEgg, TCNames.egg);
<ide>
<del> registerItem(ashenMask, TCNames.ashenMask);
<add> //registerItem(ashenMask, TCNames.ashenMask);
<ide> }
... | |
Java | bsd-3-clause | 24e467a8719221489392fe95d8e4ff4a862d58fa | 0 | atomixnmc/jmonkeyengine,jMonkeyEngine/jmonkeyengine,zzuegg/jmonkeyengine,zzuegg/jmonkeyengine,jMonkeyEngine/jmonkeyengine,jMonkeyEngine/jmonkeyengine,atomixnmc/jmonkeyengine,atomixnmc/jmonkeyengine,atomixnmc/jmonkeyengine,zzuegg/jmonkeyengine,zzuegg/jmonkeyengine,atomixnmc/jmonkeyengine,atomixnmc/jmonkeyengine,jMonkeyE... | /*
* Copyright (c) 2009-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | jme3-core/src/main/java/com/jme3/scene/control/LightControl.java | /*
* Copyright (c) 2009-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | fixed the problem with the reference to light, when we had incorrect reference to the light after loading/cloning spatial of this control.
| jme3-core/src/main/java/com/jme3/scene/control/LightControl.java | fixed the problem with the reference to light, when we had incorrect reference to the light after loading/cloning spatial of this control. | <ide><path>me3-core/src/main/java/com/jme3/scene/control/LightControl.java
<ide> import com.jme3.math.Vector3f;
<ide> import com.jme3.renderer.RenderManager;
<ide> import com.jme3.renderer.ViewPort;
<del>import com.jme3.scene.Spatial;
<ide> import com.jme3.util.TempVars;
<add>import com.jme3.util.clone.Cloner;
<add>
<i... | |
Java | mit | 95e5d2f928e8f20ac507656f78db741f5ad4e7ab | 0 | markovandooren/chameleon | package be.kuleuven.cs.distrinet.chameleon.ui.widget;
import be.kuleuven.cs.distrinet.chameleon.ui.widget.checkbox.CheckboxListener;
import be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ComboBoxController;
import be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ComboBoxListener;
import be.kuleuven.cs.distrinet.ch... | src/be/kuleuven/cs/distrinet/chameleon/ui/widget/WidgetFactory.java | package be.kuleuven.cs.distrinet.chameleon.ui.widget;
import be.kuleuven.cs.distrinet.chameleon.ui.widget.checkbox.CheckboxListener;
import be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ComboBoxController;
import be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ComboBoxListener;
import be.kuleuven.cs.distrinet.ch... | added check state provider parameter for tristate trees
| src/be/kuleuven/cs/distrinet/chameleon/ui/widget/WidgetFactory.java | added check state provider parameter for tristate trees | <ide><path>rc/be/kuleuven/cs/distrinet/chameleon/ui/widget/WidgetFactory.java
<ide> import be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ComboBoxController;
<ide> import be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ComboBoxListener;
<ide> import be.kuleuven.cs.distrinet.chameleon.ui.widget.list.ListContentProv... | |
JavaScript | mit | 1adece490ae74dd93eb828f20499d51b6c94ca73 | 0 | JastonHu/skynet,5kittys22/firstphasergame,JennaWu-Cardona/firstPhaserGame,dreamsxin/phaser,fmflame/phaser,TukekeSoft/phaser,Acaki/WWW_project,TukekeSoft/phaser,aakaash710/firstphasergame,stoneman1/phaser,photonstorm/phaser-ce,HannahCacapit/firstphasergame,yupaul/phaser-ce,Flash5509/firstphasergame,natlot/phaser-ce,tall... | /**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* The Events component is a collection of events fired by the parent game object.
*
* Phaser uses what are known as '... | src/gameobjects/components/Events.js | /**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* The Events component is a collection of events fired by the parent game object.
*
* For example to tell when a Sprit... | Docs update.
| src/gameobjects/components/Events.js | Docs update. | <ide><path>rc/gameobjects/components/Events.js
<ide>
<ide> /**
<ide> * The Events component is a collection of events fired by the parent game object.
<del>*
<del>* For example to tell when a Sprite has been added to a new group:
<add>*
<add>* Phaser uses what are known as 'Signals' for all event handling. All of the... | |
Java | mit | be73a1d3a21e4fcdd2eb28eb1788844e22d77224 | 0 | dialex/JCDP | package com.diogonunes.jcdp.unit;
import com.diogonunes.jcdp.bw.Printer;
import com.diogonunes.jcdp.bw.api.IPrinter;
import com.diogonunes.jcdp.bw.impl.TerminalPrinter;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
public class PrinterBuilderTests ... | src/test/java/com/diogonunes/jcdp/unit/PrinterBuilderTests.java | package com.diogonunes.jcdp.unit;
import com.diogonunes.jcdp.bw.Printer;
import com.diogonunes.jcdp.bw.api.IPrinter;
import com.diogonunes.jcdp.bw.impl.TerminalPrinter;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
public class PrinterBuilderTests ... | Add test: Printer_Creation_PassingBuilderToConstructor
| src/test/java/com/diogonunes/jcdp/unit/PrinterBuilderTests.java | Add test: Printer_Creation_PassingBuilderToConstructor | <ide><path>rc/test/java/com/diogonunes/jcdp/unit/PrinterBuilderTests.java
<ide> public void Printer_Creation_BuilderChaining() {
<ide> // ARRANGE
<ide> Printer.Builder b = new Printer.Builder(Printer.Types.TERM);
<del> boolean flag = true;
<ide> int number = 3;
<ide>
<ide> //... | |
Java | bsd-3-clause | c7ce6dd69c54996ba8643af5c1d444a2011b660d | 0 | tvolkert/engine,chinmaygarde/flutter_engine,chinmaygarde/sky_engine,mikejurka/engine,jason-simmons/flutter_engine,rmacnak-google/engine,tvolkert/engine,krisgiesing/sky_engine,aam/engine,jamesr/sky_engine,jamesr/flutter_engine,mikejurka/engine,jamesr/sky_engine,jamesr/flutter_engine,jamesr/sky_engine,rmacnak-google/engi... | // Copyright 2013 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.
package io.flutter.view;
import android.app.Activity;
import android.content.Context;
import android.graphics.Rect;
import android.opengl.Matrix;
import ... | shell/platform/android/io/flutter/view/AccessibilityBridge.java | // Copyright 2013 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.
package io.flutter.view;
import android.graphics.Rect;
import android.opengl.Matrix;
import android.os.Build;
import android.os.Bundle;
import android.ut... | Apply translation to accessibility tree when in landscape (#5950)
| shell/platform/android/io/flutter/view/AccessibilityBridge.java | Apply translation to accessibility tree when in landscape (#5950) | <ide><path>hell/platform/android/io/flutter/view/AccessibilityBridge.java
<ide>
<ide> package io.flutter.view;
<ide>
<add>import android.app.Activity;
<add>import android.content.Context;
<ide> import android.graphics.Rect;
<ide> import android.opengl.Matrix;
<ide> import android.os.Build;
<ide> private Semantics... | |
Java | apache-2.0 | 96ee02700dcfcdea39913d4e6058fdd40c4494e3 | 0 | yenki/overcast,reta/overcast,sarxos/overcast,xebialabs/overcast,yenki/overcast,reta/overcast,sarxos/overcast | /* License added by: GRADLE-LICENSE-PLUGIN
*
* Copyright 2008-2012 XebiaLabs
*
* 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
*
* U... | src/main/java/com/xebialabs/overcast/host/CachedLibvirtHost.java | /* License added by: GRADLE-LICENSE-PLUGIN
*
* Copyright 2008-2012 XebiaLabs
*
* 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
*
* U... | Should not check in code to test that the test fails....
| src/main/java/com/xebialabs/overcast/host/CachedLibvirtHost.java | Should not check in code to test that the test fails.... | <ide><path>rc/main/java/com/xebialabs/overcast/host/CachedLibvirtHost.java
<ide> provisionHost(ip);
<ide> } catch (RuntimeException e) {
<ide> logger.error("Failed to provision clone from '{}' cleaning up", this.getBaseDomainName());
<del> // super.getClone().d... | |
Java | apache-2.0 | 0cc3dcf3b17f90c7ccef16d5ab03b55ed217b64b | 0 | sarl/sarl,sarl/sarl,sarl/sarl,sarl/sarl,sarl/sarl,sarl/sarl | /*
* $Id$
*
* SARL is an general-purpose agent programming language.
* More details on http://www.sarl.io
*
* Copyright (C) 2014-2017 the original authors or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | main/coreplugins/io.sarl.lang.ui/src/io/sarl/lang/ui/outline/SARLOutlineTreeProvider.java | /*
* $Id$
*
* SARL is an general-purpose agent programming language.
* More details on http://www.sarl.io
*
* Copyright (C) 2014-2017 the original authors or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | [ui] Remove the imports from the outline to mimic the Java outline component.
Signed-off-by: Stéphane Galland <23860b554af9116d4237121086bd6767cdd4ff4b@arakhne.org>
| main/coreplugins/io.sarl.lang.ui/src/io/sarl/lang/ui/outline/SARLOutlineTreeProvider.java | [ui] Remove the imports from the outline to mimic the Java outline component. | <ide><path>ain/coreplugins/io.sarl.lang.ui/src/io/sarl/lang/ui/outline/SARLOutlineTreeProvider.java
<ide> true);
<ide> }
<ide> // Create the nodes for the import declarations.
<del> if (modelElement.getImportSection() != null && !modelElement.getImportSection().getImportDeclarations().isEmpty()) {
<add> /*if... | |
Java | agpl-3.0 | 707872aa8b6a3923e47755f791629eae0c4383d8 | 0 | caiyingyuan/tigase-utils-71,caiyingyuan/tigase-utils-71 | /* Package Jabber Server
* Copyright (C) 2001, 2002, 2003, 2004, 2005
* "Artur Hefczyc" <artur.hefczyc@tigase.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | src/main/java/tigase/util/DNSResolver.java | /* Package Jabber Server
* Copyright (C) 2001, 2002, 2003, 2004, 2005
* "Artur Hefczyc" <artur.hefczyc@tigase.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | Code cleanup
git-svn-id: 78a0b1024db9beb524bc745052f6db0c395bb78f@424 20a39203-4b1a-0410-9ea8-f7f58976c10f
| src/main/java/tigase/util/DNSResolver.java | Code cleanup | <ide><path>rc/main/java/tigase/util/DNSResolver.java
<ide> import java.util.Collections;
<ide> import java.util.Hashtable;
<ide> import java.util.Map;
<add>import java.util.Arrays;
<ide> import java.util.StringTokenizer;
<ide> import java.util.logging.Logger;
<ide> import javax.naming.NamingException;
<ide> // Syste... | |
Java | apache-2.0 | 3f89b25851c6bc770abe8d9aa6d24dcb666420e9 | 0 | yurloc/drools,ngs-mtech/drools,ThomasLau/drools,pperboires/PocDrools,droolsjbpm/drools,292388900/drools,sotty/drools,liupugong/drools,psiroky/drools,romartin/drools,prabasn/drools,ChallenHB/drools,prabasn/drools,Buble1981/MyDroolsFork,psiroky/drools,ThiagoGarciaAlves/drools,winklerm/drools,amckee23/drools,vinodkiran/dr... | package org.drools.rule;
/*
* $Id: Declaration.java,v 1.1 2005/07/26 01:06:31 mproctor Exp $
*
* Copyright 2001-2003 (C) The Werken Company. All Rights Reserved.
*
* Redistribution and use of this software and associated documentation
* ("Software"), with or without modification, are permitted provided t... | drools-core/src/main/java/org/drools/rule/Declaration.java | package org.drools.rule;
/*
* $Id: Declaration.java,v 1.1 2005/07/26 01:06:31 mproctor Exp $
*
* Copyright 2001-2003 (C) The Werken Company. All Rights Reserved.
*
* Redistribution and use of this software and associated documentation
* ("Software"), with or without modification, are permitted provided t... | Adding primitive methods to Declaration interface
git-svn-id: a243bed356d289ca0d1b6d299a0597bdc4ecaa09@7031 c60d74c8-e8f6-0310-9e8f-d4a2fc68ab70
| drools-core/src/main/java/org/drools/rule/Declaration.java | Adding primitive methods to Declaration interface | <ide><path>rools-core/src/main/java/org/drools/rule/Declaration.java
<ide> return this.extractor.getValue( object );
<ide> }
<ide>
<add> public char getCharValue(Object object) {
<add> return this.extractor.getCharValue( object );
<add> }
<add>
<add> public int getIntValue(Object object) {
... | |
JavaScript | mit | 6ccb8deb7953852608a0564a9a5544bb658a0cdf | 0 | NAPWebProductionEditTeam/MagTool2,NAPWebProductionEditTeam/MagTool2,NAPWebProductionEditTeam/MagTool2 | (function(window, Math, $, app, Medium) {
var parseInt = window.parseInt;
var parseFloat = window.parseFloat;
var document = window.document;
function ContentEditor() {
var editing = false;
/**
* Editor status.
*/
this.startEdit = function() {
... | src/js/Application/ContentEditor.js | (function(window, Math, $, app, Medium) {
var parseInt = window.parseInt;
var parseFloat = window.parseFloat;
var document = window.document;
function ContentEditor() {
var editing = false;
/**
* Editor status.
*/
this.startEdit = function() {
... | Move fixes
| src/js/Application/ContentEditor.js | Move fixes | <ide><path>rc/js/Application/ContentEditor.js
<ide> var $selection = this.getSelection();
<ide> var types = [];
<ide>
<add> if (! $selection.length) {
<add> return 'none';
<add> }
<add>
<ide> $selection.each(function() {
<... | |
Java | apache-2.0 | adb897a09928bc05fccb15fd7f520334f8d70b7d | 0 | Witerium/stuffEngine,AMaiyndy/employees,AMaiyndy/employees,AMaiyndy/employees,Witerium/stuffEngine | package ru.technoserv.dao;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springfr... | src/main/java/ru/technoserv/dao/HibernateEmployeeDao.java | package ru.technoserv.dao;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springfr... | В HibernateEmployeeDao возвращена транзакция для создания сотрудника
| src/main/java/ru/technoserv/dao/HibernateEmployeeDao.java | В HibernateEmployeeDao возвращена транзакция для создания сотрудника | <ide><path>rc/main/java/ru/technoserv/dao/HibernateEmployeeDao.java
<ide>
<ide> public List<Employee> getAllEmployees(){
<ide> Session session = getSession();
<del> return session.createQuery("from Employee").list();
<add> List<Employee> employees;
<add> try{
<add> session.b... | |
JavaScript | mit | 03dfc4762d075fa0418d8844586553345c7cfe2c | 0 | coderaiser/minify | "use strict";
/* Модуль сжатия js-скриптов, css-стилей, html-файлов и
* конвертации картинок в css-стилях
* в base64 и помещения их в файл стилей
*/
var Minify = {};
console.log('minify.js loaded...');
/* функция сжимает js-скрипты
* и сохраняет их с именем .min.js
*/
var fs = ... | minify.js | "use strict";
/* Модуль сжатия js-скриптов, css-стилей, html-файлов и
* конвертации картинок в css-стилях
* в base64 и помещения их в файл стилей
*/
var Minify = {};
console.log('minify.js loaded...');
/* функция сжимает js-скрипты
* и сохраняет их с именем .min.js
*/
var fs = req... | minor changes
| minify.js | minor changes | <ide><path>inify.js
<ide> * конвертации картинок в css-стилях
<ide> * в base64 и помещения их в файл стилей
<ide> */
<add>
<ide> var Minify = {};
<ide> console.log('minify.js loaded...');
<ide> | |
Java | lgpl-2.1 | acd72d8f8344c94afff902bd3dfd60ac80eaf68f | 0 | netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration | /* File: $Id$
* Version: $Revision$
* Date: $Date$
* Author: $Author$
*
* The Netarchive Suite - Software to harvest and preserve websites
* Copyright 2004-2007 Det Kongelige Bibliotek and Statsbiblioteket, Denmark
*
* This library is free software; you can redistribute it and/or
* modify it under the t... | tests/dk/netarkivet/UnitTesterSuite.java | /* File: $Id$
* Version: $Revision$
* Date: $Date$
* Author: $Author$
*
* The Netarchive Suite - Software to harvest and preserve websites
* Copyright 2004-2007 Det Kongelige Bibliotek and Statsbiblioteket, Denmark
*
* This library is free software; you can redistribute it and/or
* modify it under the t... | Moving the deploy2 test-files to deploy package
| tests/dk/netarkivet/UnitTesterSuite.java | Moving the deploy2 test-files to deploy package | <ide><path>ests/dk/netarkivet/UnitTesterSuite.java
<ide> import dk.netarkivet.common.utils.arc.ArcUtilsTesterSuite;
<ide> import dk.netarkivet.common.utils.batch.BatchUtilsTesterSuite;
<ide> import dk.netarkivet.common.utils.cdx.CdxUtilsTesterSuite;
<add>import dk.netarkivet.deploy.DeployTesterSuite;
<ide> import dk.ne... | |
Java | apache-2.0 | f1f851d038f1d1c87ad5d018b1c946ea314aaf2f | 0 | ceylon/ceylon-model | package com.redhat.ceylon.model.loader;
import static com.redhat.ceylon.model.typechecker.model.ModelUtil.intersection;
import static com.redhat.ceylon.model.typechecker.model.ModelUtil.union;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Hash... | src/com/redhat/ceylon/model/loader/AbstractModelLoader.java | package com.redhat.ceylon.model.loader;
import static com.redhat.ceylon.model.typechecker.model.ModelUtil.intersection;
import static com.redhat.ceylon.model.typechecker.model.ModelUtil.union;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Hash... | Deal with caching of inner classes in native headers and properly link up inner classes in a native container (ceylon/ceylon-compiler#2356)
| src/com/redhat/ceylon/model/loader/AbstractModelLoader.java | Deal with caching of inner classes in native headers and properly link up inner classes in a native container (ceylon/ceylon-compiler#2356) | <ide><path>rc/com/redhat/ceylon/model/loader/AbstractModelLoader.java
<ide> module = getJDKBaseModule();
<ide> }
<ide>
<del> Declaration decl = findCachedDeclaration(module, classMirror, declarationType);
<add> Declaration decl = findCachedDeclaration(module, container, classM... | |
Java | mit | 514a1fdbe4a12012a2c7cab456d58dea0e57d853 | 0 | 5hirish/Android_repeating_alarms | package com.inifiniti.repeatalarm;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.AlertDialog;
import android.app.PendingIntent;
import android.app.TimePickerDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.c... | app/src/main/java/com/inifiniti/repeatalarm/MainActivity.java | package com.inifiniti.repeatalarm;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.AlertDialog;
import android.app.PendingIntent;
import android.app.TimePickerDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.c... | Added SQLite Helper
| app/src/main/java/com/inifiniti/repeatalarm/MainActivity.java | Added SQLite Helper | <ide><path>pp/src/main/java/com/inifiniti/repeatalarm/MainActivity.java
<ide> result=(TextView)findViewById(R.id.textView);
<ide> set=(Button)findViewById(R.id.button);
<ide> weekdays=new ArrayList<Integer>();
<del>
<del> db=getApplicationContext().openOrCreateDatabase("RepeatAlarm", Cont... | |
Java | mit | f79fa62ee2d504d44659a8a9b5215eb97af34393 | 0 | InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service | package org.innovateuk.ifs.project.grantofferletter.viewmodel;
import org.innovateuk.ifs.file.controller.viewmodel.FileDetailsViewModel;
import org.innovateuk.ifs.project.grantofferletter.resource.GrantOfferLetterStateResource;
import org.junit.Test;
import static org.hamcrest.Matchers.is;
import static org.innovateu... | ifs-web-service/ifs-project-setup-service/src/test/java/org/innovateuk/ifs/project/grantofferletter/viewmodel/GrantOfferLetterModelTest.java | package org.innovateuk.ifs.project.grantofferletter.viewmodel;
import org.innovateuk.ifs.file.controller.viewmodel.FileDetailsViewModel;
import org.innovateuk.ifs.project.grantofferletter.resource.GrantOfferLetterStateResource;
import org.junit.Test;
import static org.hamcrest.Matchers.is;
import static org.innovateu... | IFS-8198 fixed.
| ifs-web-service/ifs-project-setup-service/src/test/java/org/innovateuk/ifs/project/grantofferletter/viewmodel/GrantOfferLetterModelTest.java | IFS-8198 fixed. | <ide><path>fs-web-service/ifs-project-setup-service/src/test/java/org/innovateuk/ifs/project/grantofferletter/viewmodel/GrantOfferLetterModelTest.java
<ide> new FileDetailsViewModel("grant-offer", 1000L) :
<ide> null;
<ide>
<del> return new GrantOfferLetterModel("Grant of... | |
Java | mit | 4f1d4dc102cf253fa1ce91cf49bb75f6119268bd | 0 | AmityHighCSDevTeam/TicTactical,AmityHighCSDevTeam/TicTactical,AmityHighCSDevTeam/TicTactical | package org.amityregion5.tictactical;
import org.amityregion5.tictactical.ai.IAI;
import org.amityregion5.tictactical.ai.MinimaxHeuristicAI;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.g... | core/src/org/amityregion5/tictactical/TicTactical.java | package org.amityregion5.tictactical;
import org.amityregion5.tictactical.ai.IAI;
import org.amityregion5.tictactical.ai.MinimaxHeuristicAI;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.g... | Made the ai work and all that stuff.
| core/src/org/amityregion5/tictactical/TicTactical.java | Made the ai work and all that stuff. | <ide><path>ore/src/org/amityregion5/tictactical/TicTactical.java
<ide> import com.badlogic.gdx.graphics.OrthographicCamera;
<ide> import com.badlogic.gdx.graphics.Texture;
<ide> import com.badlogic.gdx.graphics.g2d.SpriteBatch;
<add>import org.amityregion5.tictactical.ai.MinimaxHeuristicAI;
<ide>
<ide> public class Ti... | |
JavaScript | bsd-2-clause | bab44d97f9ce6cd2b98b194e291685e7483f370a | 0 | Billmate/prestashop,Billmate/prestashop | /**
* Created by Boxedsolutions on 2017-03-20.
*/
window.method = null;
window.address_selected = null;
window.latestScroll = null;
window.previousSelectedMethod = null;
var BillmateIframe = new function(){
var self = this;
var childWindow = null;
this.updatePsCheckout = function(){
// When addre... | billmatecheckout/views/js/checkout.js | /**
* Created by Boxedsolutions on 2017-03-20.
*/
window.method = null;
window.address_selected = null;
window.latestScroll = null;
window.previousSelectedMethod = null;
var BillmateIframe = new function(){
var self = this;
var childWindow = null;
this.updatePsCheckout = function(){
// When addre... | jQuery fixes to check if element exists.
| billmatecheckout/views/js/checkout.js | jQuery fixes to check if element exists. | <ide><path>illmatecheckout/views/js/checkout.js
<ide>
<ide> $('.cart-summary .checkout .btn').attr("href", billmate_checkout_url);
<ide> $('.cart-content-btn .btn').attr("href", billmate_checkout_url);
<del>
<del> $("#billmate_summary a.cart_quantity_delete").unbind('click').live('click', function(){ window... | |
Java | apache-2.0 | d04cd80bc8f6fbcbd3399223e2d0d846e6e0dabb | 0 | OpenHFT/Chronicle-Bytes | /*
* Copyright 2014 Higher Frequency Trading http://www.higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | src/main/java/net/openhft/chronicle/bytes/WriteAccess.java | /*
* Copyright 2014 Higher Frequency Trading http://www.higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | Fixed bug in WriteAccess.writeBytes()
| src/main/java/net/openhft/chronicle/bytes/WriteAccess.java | Fixed bug in WriteAccess.writeBytes() | <ide><path>rc/main/java/net/openhft/chronicle/bytes/WriteAccess.java
<ide> }
<ide>
<ide> default void writeBytes(T handle, long offset, long len, byte b) {
<del> int ic;
<ide> char c;
<ide> int i;
<ide> long l;
<ide> l = -1;
<ide> break;
<ide> ... | |
Java | apache-2.0 | af88dd7104df38bab4d4d985c90f09c5c9e38f68 | 0 | jagguli/intellij-community,nicolargo/intellij-community,diorcety/intellij-community,caot/intellij-community,michaelgallacher/intellij-community,hurricup/intellij-community,kool79/intellij-community,vladmm/intellij-community,tmpgit/intellij-community,supersven/intellij-community,fengbaicanhe/intellij-community,muntasirs... | /*
* Copyright 2000-2007 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... | util/src/com/intellij/util/containers/FactoryMap.java | /*
* Copyright 2000-2007 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... | one more getter
| util/src/com/intellij/util/containers/FactoryMap.java | one more getter | <ide><path>til/src/com/intellij/util/containers/FactoryMap.java
<ide> import org.jetbrains.annotations.Nullable;
<ide> import org.jetbrains.annotations.NonNls;
<ide>
<add>import java.util.*;
<ide> import java.util.HashSet;
<del>import java.util.Map;
<del>import java.util.Set;
<ide>
<ide> /**
<ide> * @author peter
<i... | |
JavaScript | mit | 48b35b4af9b38658fa72c5f3c7426308d2d1845d | 0 | NMandapaty/Rocket.Chat,JamesHGreen/Rocket_API,LearnersGuild/echo-chat,pitamar/Rocket.Chat,wtsarchive/Rocket.Chat,LearnersGuild/echo-chat,LearnersGuild/Rocket.Chat,inoio/Rocket.Chat,k0nsl/Rocket.Chat,nishimaki10/Rocket.Chat,trt15-ssci-organization/Rocket.Chat,LearnersGuild/Rocket.Chat,wicked539/Rocket.Chat,ahmadassaf/Ro... | var ManagerUsers;
Meteor.startup(function() {
ManagerUsers = new Mongo.Collection('managerUsers');
});
Template.livechatUsers.helpers({
managers() {
return ManagerUsers.find({}, { sort: { name: 1 } });
},
agents() {
return AgentUsers.find({}, { sort: { name: 1 } });
},
emailAddress() {
if (this.emails && ... | packages/rocketchat-livechat/client/views/app/livechatUsers.js | var ManagerUsers;
Meteor.startup(function() {
ManagerUsers = new Mongo.Collection('managerUsers');
});
Template.livechatUsers.helpers({
managers() {
return ManagerUsers.find({}, { sort: { name: 1 } });
},
agents() {
return AgentUsers.find({}, { sort: { name: 1 } });
},
emailAddress() {
if (this.emails && ... | Fix user search on livechat user management page
| packages/rocketchat-livechat/client/views/app/livechatUsers.js | Fix user search on livechat user management page | <ide><path>ackages/rocketchat-livechat/client/views/app/livechatUsers.js
<ide> exceptions: _.map(AgentUsers.find({}, { fields: { username: 1 } }).fetch(), user => { return user.username; })
<ide> },
<ide> selector(match) {
<del> return { username: match };
<add> return { term: match };
<ide> },... | |
Java | apache-2.0 | 829bf4b1b1cbcd29d483e173dc057448e51ead88 | 0 | ol-loginov/intellij-community,blademainer/intellij-community,robovm/robovm-studio,mglukhikh/intellij-community,izonder/intellij-community,fitermay/intellij-community,allotria/intellij-community,gnuhub/intellij-community,alphafoobar/intellij-community,vvv1559/intellij-community,gnuhub/intellij-community,clumsy/intellij-... | package com.intellij.codeInsight.completion;
import com.intellij.codeInsight.lookup.Lookup;
import com.intellij.codeInsight.lookup.LookupItem;
import com.intellij.codeInsight.template.Expression;
import com.intellij.codeInsight.template.Template;
import com.intellij.codeInsight.template.TemplateManager;
import com.int... | source/com/intellij/codeInsight/completion/XmlCompletionData.java | package com.intellij.codeInsight.completion;
import com.intellij.codeInsight.lookup.Lookup;
import com.intellij.codeInsight.lookup.LookupItem;
import com.intellij.codeInsight.template.Expression;
import com.intellij.codeInsight.template.Template;
import com.intellij.codeInsight.template.TemplateManager;
import com.int... | NPE fix
| source/com/intellij/codeInsight/completion/XmlCompletionData.java | NPE fix | <ide><path>ource/com/intellij/codeInsight/completion/XmlCompletionData.java
<ide> editor.getSelectionModel().removeSelection();
<ide> }
<ide> current = context.file.findElementAt(context.startOffset);
<del> if(current.getPrevSibling() instanceof XmlToken){
<add> if(current != null && curre... | |
Java | mit | 3c371050f4f8828a2934d838b727f05bd8ed4ce5 | 0 | LivePersonInc/ephemerals | package com.liveperson.ephemerals.deploy.wait;
import com.liveperson.ephemerals.deploy.Deployment;
import com.liveperson.ephemerals.deploy.DeploymentStatus;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Created by waseemh on 9/16/16.
*/
public abstract class DeploymentStatusWaiter extends Waiter {
... | core/src/main/java/com/liveperson/ephemerals/deploy/wait/DeploymentStatusWaiter.java | package com.liveperson.ephemerals.deploy.wait;
import com.liveperson.ephemerals.deploy.Deployment;
import com.liveperson.ephemerals.deploy.DeploymentStatus;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Created by waseemh on 9/16/16.
*/
public abstract class DeploymentStatusWaiter extends Waiter {
... | catch exception when fetching deployment status
| core/src/main/java/com/liveperson/ephemerals/deploy/wait/DeploymentStatusWaiter.java | catch exception when fetching deployment status | <ide><path>ore/src/main/java/com/liveperson/ephemerals/deploy/wait/DeploymentStatusWaiter.java
<ide>
<ide> @Override
<ide> protected boolean isConditionMet() {
<del> DeploymentStatus deploymentStatus = getDeploymentStatus();
<del> logger.info("Deployment {} status: {} - desired status: {}",deploy... | |
Java | apache-2.0 | error: pathspec 'Euler18/Euler18.java' did not match any file(s) known to git
| f3d17b4a2242771e540547c6c248632f56dabe66 | 1 | skiller185/Euler | // Anthony Carpenetti
// When executed, Euler18 finds the mini-max of the binary tree displayed at https://projecteuler.net/problem=18
import java.util.Arrays;
public class Euler18
{
public static void main(String[] args)
{
int[][] data = {{75},{95,64},{17,47,82},{18,35,87,10},{20,4,82,47,65},{19,1,23,75,3,34},{8... | Euler18/Euler18.java | upload-euler18
| Euler18/Euler18.java | upload-euler18 | <ide><path>uler18/Euler18.java
<add>// Anthony Carpenetti
<add>// When executed, Euler18 finds the mini-max of the binary tree displayed at https://projecteuler.net/problem=18
<add>
<add>import java.util.Arrays;
<add>
<add>public class Euler18
<add>{
<add> public static void main(String[] args)
<add> {
<add> int[][] d... | |
JavaScript | mit | 4b3def117e5c33d44bdb6d57cb0a7f08121974ae | 0 | jjohnson338/GrillKeeper | var math = require('mathjs');
var adcinterface = require('./adcinterface');
var temperatureControlerObject = function() {
var targetTemperature = 225;
var actualTempurature = 0;
var GetTargetTemperature = function(){
return targetTemperature;
}
var SetTargetTemperature = function(newTargetTemp){
... | src/temperatureController.js | var math = require('mathjs');
var adcinterface = require('./adcinterface');
var temperatureControlerObject = function() {
var targetTemperature = 225;
var actualTempurature = 0;
var GetTargetTemperature = function(){
return targetTemperature;
}
var SetTargetTemperature = function(newTargetTemp){
... | More Debugging info
| src/temperatureController.js | More Debugging info | <ide><path>rc/temperatureController.js
<ide>
<ide> //Calculate Temp in Kelvin
<ide> var TempKelvin = 1/(A+(B*(math.log(ThermistorResistance)))+(C*math.pow(math.log(ThermistorResistance), 3)));
<del>
<add> console.log('Temp K =' + TempKelvin);
<ide> //Convert Kelvin to Fahrenheit and retu... | |
Java | apache-2.0 | cd125ded3b6d10cdd2ab6bbd0135fc3e4e578ece | 0 | kuujo/onos,kuujo/onos,opennetworkinglab/onos,oplinkoms/onos,oplinkoms/onos,gkatsikas/onos,opennetworkinglab/onos,kuujo/onos,kuujo/onos,gkatsikas/onos,oplinkoms/onos,gkatsikas/onos,kuujo/onos,opennetworkinglab/onos,opennetworkinglab/onos,oplinkoms/onos,opennetworkinglab/onos,kuujo/onos,gkatsikas/onos,gkatsikas/onos,opli... | /*
* Copyright 2015-present Open Networking Foundation
*
* 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 appli... | apps/acl/src/main/java/org/onosproject/acl/AclWebResource.java | /*
* Copyright 2015-present Open Networking Foundation
*
* 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 appli... | ACL Input param validation for L4 port
Change-Id: I5862aab56404afaf4d36e982a0259a498fdab216
| apps/acl/src/main/java/org/onosproject/acl/AclWebResource.java | ACL Input param validation for L4 port | <ide><path>pps/acl/src/main/java/org/onosproject/acl/AclWebResource.java
<ide>
<ide> int port = node.path("dstTpPort").asInt(0);
<ide> if (port > 0) {
<del> rule.dstTpPort((short) port);
<add> if ("TCP".equalsIgnoreCase(s) || "UDP".equalsIgnoreCase(s)) {
<add> rule.... | |
JavaScript | mit | 2e9abde9112807237223bb25a08bdbec6b05093e | 0 | Hivebeat/LoginSignup,Hivebeat/LoginSignup | module.exports = require('./src/scripts/components/LoginSignup.react');
| index.js | module.exports = require('./src/scripts/components/LoginSignup');
| move ref
| index.js | move ref | <ide><path>ndex.js
<del>module.exports = require('./src/scripts/components/LoginSignup');
<add>module.exports = require('./src/scripts/components/LoginSignup.react'); | |
Java | bsd-2-clause | a7eed0552d5ec894b3244e14d42a887d56a87260 | 0 | develoken/p4-plugin,Palmr/p4-plugin,rpocase/p4-plugin,Palmr/p4-plugin,develoken/p4-plugin,rpocase/p4-plugin,jenkinsci/p4-plugin,jenkinsci/p4-plugin,tanium/p4-plugin,tanium/p4-plugin,Palmr/p4-plugin,jenkinsci/p4-plugin,tanium/p4-plugin,rpocase/p4-plugin,develoken/p4-plugin | package org.jenkinsci.plugins.p4.asset;
import hudson.EnvVars;
import hudson.Extension;
import hudson.Launcher;
import hudson.model.BuildListener;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.security.ACL;
import hudson.tasks.BuildStepDescriptor;
import hudson.tasks.BuildStepMo... | src/main/java/org/jenkinsci/plugins/p4/asset/AssetNotifier.java | package org.jenkinsci.plugins.p4.asset;
import hudson.EnvVars;
import hudson.Extension;
import hudson.Launcher;
import hudson.model.BuildListener;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.security.ACL;
import hudson.tasks.BuildStepDescriptor;
import hudson.tasks.BuildStepMo... | Update AssetNotifier.java | src/main/java/org/jenkinsci/plugins/p4/asset/AssetNotifier.java | Update AssetNotifier.java | <ide><path>rc/main/java/org/jenkinsci/plugins/p4/asset/AssetNotifier.java
<ide>
<ide> @Override
<ide> public String getDisplayName() {
<del> return "Perforce: publish assets";
<add> return "Perforce: Publish assets";
<ide> }
<ide>
<ide> /** | |
Java | mit | 356b956cf7e050184df9058e9d7f1bd62ab38280 | 0 | infsci2560sp16/full-stack-web-project-mansouralsaleh,infsci2560sp16/full-stack-web-project-mansouralsaleh,infsci2560sp16/full-stack-web-project-mansouralsaleh,infsci2560sp16/full-stack-web-project-mansouralsaleh | package Services;
import java.util.*;
public class BooksService {
private static HashMap<String, String[]> books = new HashMap<>();
private String[] BooksIDs = {"00001", "00002"};
private String[] BooksNames = {"Engineering Psychology and Human Performance", "Some Book"};
private String[] BooksAuthor... | src/main/java/Services/BooksService.java | package Services;
import java.util.*;
public class BooksService {
private static HashMap<String, String[]> books = new HashMap<>();
private String[] BooksIDs = {"00001", "00002"};
private String[] BooksNames = {"Engineering Psychology and Human Performance", "Some Book"};
private String[] BooksAuthor... | Added service
| src/main/java/Services/BooksService.java | Added service | <ide><path>rc/main/java/Services/BooksService.java
<ide> private String[] BooksImages = {"book1.jpg", "Book.JPG"};
<ide>
<ide> public HashMap<String, String[]> getAllBooks(){
<del> int length = BooksIDs.length();
<add> int length = BooksIDs.length;
<ide> length = length+5;
<ide> ... | |
Java | apache-2.0 | 20793849d3f11ba8787d8f8da3f383e61a9682d7 | 0 | researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds | /*
* Copyright 2012 Research Studios Austria Forschungsges.m.b.H.
*
* 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 requir... | webofneeds/won-core/src/main/java/won/protocol/vocabulary/WON.java | /*
* Copyright 2012 Research Studios Austria Forschungsges.m.b.H.
*
* 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 requir... | removes won:is from properties
| webofneeds/won-core/src/main/java/won/protocol/vocabulary/WON.java | removes won:is from properties | <ide><path>ebofneeds/won-core/src/main/java/won/protocol/vocabulary/WON.java
<ide> public static final Property HAS_MATCH_SCORE = m.createProperty(BASE_URI, "hasMatchScore");
<ide> public static final Property HAS_MATCH_COUNTERPART = m.createProperty(BASE_URI, "hasMatchCounterpart");
<ide>
<del> public stat... | |
Java | apache-2.0 | 966e0bb20922d1e886b82df74047cc9ed802cefa | 0 | Netflix/genie,tgianos/genie,ajoymajumdar/genie,irontable/genie,irontable/genie,tgianos/genie,ajoymajumdar/genie,ajoymajumdar/genie,irontable/genie,Netflix/genie,ajoymajumdar/genie,Netflix/genie,tgianos/genie,irontable/genie,ajoymajumdar/genie,tgianos/genie,Netflix/genie,Netflix/genie,tgianos/genie,irontable/genie | /*
*
* Copyright 2015 Netflix, 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 ap... | genie-core/src/main/java/com/netflix/genie/core/jobs/JobExecutionEnvironment.java | /*
*
* Copyright 2015 Netflix, 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 ap... | Fixing a comment and variable naming to be consistent
| genie-core/src/main/java/com/netflix/genie/core/jobs/JobExecutionEnvironment.java | Fixing a comment and variable naming to be consistent | <ide><path>enie-core/src/main/java/com/netflix/genie/core/jobs/JobExecutionEnvironment.java
<ide> /**
<ide> * Set the applications needed for the jobs' execution.
<ide> *
<del> * @param applicationSet The set of application objects.
<add> * @param applications The list of appli... | |
Java | apache-2.0 | e63e2e9c4cbb6ebb6d9a966a525841d4ec76c1ce | 0 | Catpaw42/Area51_E2014,Catpaw42/Area51_E2014,Catpaw42/Area51_E2014 | package servlets;
import helperClasses.Const;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.Timestamp;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
im... | Xray/src/servlets/NyRekvisitionServlet.java | package servlets;
import helperClasses.Const;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.Timestamp;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
im... | NU MED KONTROLSKEMAER - PS den er STOR | Xray/src/servlets/NyRekvisitionServlet.java | NU MED KONTROLSKEMAER - PS den er STOR | <ide><path>ray/src/servlets/NyRekvisitionServlet.java
<ide> try {
<ide> rek.setRekvirentId(Integer.valueOf(request.getParameter("rekvirent_id")));
<ide> } catch (NumberFormatException e){
<del> //Should never happen TODO -
<add> //Should never happen TODO - Now handles by setting rekvirent to null - should ... | |
Java | apache-2.0 | 8fe17cd5f52444dcf0de3c7123feccc2604ecde1 | 0 | jmostella/armeria,minwoox/armeria,kojilin/armeria,minwoox/armeria,minwoox/armeria,line/armeria,jonefeewang/armeria,imasahiro/armeria,kojilin/armeria,imasahiro/armeria,dongjinleekr/armeria,trustin/armeria,minwoox/armeria,line/armeria,imasahiro/armeria,dongjinleekr/armeria,line/armeria,line/armeria,kojilin/armeria,jmoste... | /*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | zookeeper/src/test/java/com/linecorp/armeria/client/endpoint/zookeeper/ZooKeeperEndpointGroupTest.java | /*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | Change ZooKeeper test rootDir from target to build/zookeeper (#337)
Motivation:
ZooKeeperEndpointGroupTest creates the ZooKeeper work directory under
'target' dierctory. Gradle uses 'build' as the build output directory
unlike Maven. As a result, the offending test case leaves the cruft
files outside the 'build'... | zookeeper/src/test/java/com/linecorp/armeria/client/endpoint/zookeeper/ZooKeeperEndpointGroupTest.java | Change ZooKeeper test rootDir from target to build/zookeeper (#337) | <ide><path>ookeeper/src/test/java/com/linecorp/armeria/client/endpoint/zookeeper/ZooKeeperEndpointGroupTest.java
<ide> import static org.junit.Assert.assertEquals;
<ide> import static org.junit.Assert.fail;
<ide>
<add>import java.io.File;
<ide> import java.time.Duration;
<ide> import java.util.ArrayList;
<ide> import ... | |
Java | apache-2.0 | f6035be6f389f283cdd4042f6cfc581cdad92dfa | 0 | fengshao0907/bbossgroups-3.5,zofuthan/bbossgroups-3.5,fengshao0907/bbossgroups-3.5,fengshao0907/bbossgroups-3.5,WilliamRen/bbossgroups-3.5,shufudong/bboss,lewis-ing/bbossgroups-3.5,lewis-ing/bbossgroups-3.5,zofuthan/bbossgroups-3.5,WilliamRen/bbossgroups-3.5,ZJU-Shaonian-Biancheng-Tuan/bbossgroups-3.5,shufudong/bboss,s... | /*****************************************************************************
* *
* This file is part of the tna framework distribution. *
* Documentation and updates may be get from biaoping.yin the author of *
... | bboss-taglib/src/com/frameworkset/common/tag/pager/tags/IndexTag.java | /*****************************************************************************
* *
* This file is part of the tna framework distribution. *
* Documentation and updates may be get from biaoping.yin the author of *
... | 分页导航标签index输入调整页时跳转不起做用问题修复 | bboss-taglib/src/com/frameworkset/common/tag/pager/tags/IndexTag.java | 分页导航标签index输入调整页时跳转不起做用问题修复 | <ide><path>boss-taglib/src/com/frameworkset/common/tag/pager/tags/IndexTag.java
<ide> promotion)
<ide> */
<ide>
<del> String pagerjumpto = uuid+".jumpto";
<add> String pagerjumpto = uuid+".go";
<ide>
<ide> Input go = (Input) ... | |
Java | apache-2.0 | 6679c45590c3a7a1b5acc3adf44289fcffd720b3 | 0 | AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/andro... | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | wear/wear-input/src/main/java/androidx/wear/input/WearableButtons.java | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Added images to Javadocs on WearableButtons.
Test: It's just documentation.
Bug: 193669509
Change-Id: I6b5c3770be455810a077a9abe80815b161f58601
| wear/wear-input/src/main/java/androidx/wear/input/WearableButtons.java | Added images to Javadocs on WearableButtons. | <ide><path>ear/wear-input/src/main/java/androidx/wear/input/WearableButtons.java
<ide> * coordinates do not take rotation into account and assume that the device is in the
<ide> * standard upright position.
<ide> * </ul>
<add> *
<add> * <p>Additionally, a location zone will be provide... | |
Java | apache-2.0 | 40c3e798b0bc0a444af014f8ad16720f03d104cb | 0 | luoxiaoshenghustedu/AndEngine,Munazza/AndEngine,viacheslavokolitiy/AndEngine,parthipanramesh/AndEngine,pongo710/AndEngine,viacheslavokolitiy/AndEngine,shiguang1120/AndEngine,yudhir/AndEngine,chautn/AndEngine,zhidew/AndEngine,nicolasgramlich/AndEngine,viacheslavokolitiy/AndEngine,pongo710/AndEngine,chautn/AndEngine,jdub... | package org.anddev.andengine.entity.text;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.entity.shape.RectangularShape;
import org.anddev.andengine.opengl.buffer.BufferObjectManager;... | src/org/anddev/andengine/entity/text/Text.java | package org.anddev.andengine.entity.text;
import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.entity.shape.RectangularShape;
import org.anddev.andengine.opengl.buffer.BufferObjectManager;... | Added a getText() method to the Text class. (Requested by: Tahakki, AlexNunn and others).
| src/org/anddev/andengine/entity/text/Text.java | Added a getText() method to the Text class. (Requested by: Tahakki, AlexNunn and others). | <ide><path>rc/org/anddev/andengine/entity/text/Text.java
<ide> public TextVertexBuffer getVertexBuffer() {
<ide> return (TextVertexBuffer)super.getVertexBuffer();
<ide> }
<add>
<add> public String getText() {
<add> return this.mText;
<add> }
<ide>
<ide> // =======================================================... | |
Java | agpl-3.0 | 200ab14d732010e8f98d1b0a56d5d4d15d3f824b | 0 | ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools | package de.unituebingen.ub.ubtools.solrmarcMixin;
import java.text.Collator;
import java.util.*;
import org.marc4j.marc.DataField;
import org.marc4j.marc.Record;
import org.marc4j.marc.Subfield;
import org.marc4j.marc.VariableField;
import org.solrmarc.index.SolrIndexerMixin;
import de.unituebingen.ub.ubtools.solrmarc... | solrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/IxTheoKeywordChains.java | package de.unituebingen.ub.ubtools.solrmarcMixin;
import java.util.*;
import org.marc4j.marc.DataField;
import org.marc4j.marc.Record;
import org.marc4j.marc.Subfield;
import org.marc4j.marc.VariableField;
import org.solrmarc.index.SolrIndexerMixin;
import de.unituebingen.ub.ubtools.solrmarcMixin.*;
public class IxTh... | Make sorting KWCs locale dependent
| solrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/IxTheoKeywordChains.java | Make sorting KWCs locale dependent | <ide><path>olrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/IxTheoKeywordChains.java
<ide> package de.unituebingen.ub.ubtools.solrmarcMixin;
<ide>
<add>import java.text.Collator;
<ide> import java.util.*;
<ide> import org.marc4j.marc.DataField;
<ide> import org.marc4j.marc.Record;
<ide> // Sort k... | |
JavaScript | apache-2.0 | acd809db1d3541d6d4f801f9750df7c1ee51ebc2 | 0 | tymiles003/metrics-dashboard,tymiles003/metrics-dashboard | (function(){
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// Dashboard Settings
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
var settings = {
ssl : true,
subscribe_key : 'sub-c-44d3418c-4855-11e4-8a5b-02ee2ddab7fe',
publish_key ... | js/startup-metrics.js | (function(){
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// Dashboard Settings
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
var settings = {
ssl : true,
subscribe_key : 'sub-c-44d3418c-4855-11e4-8a5b-02ee2ddab7fe',
publish_key ... | Update startup-metrics.js | js/startup-metrics.js | Update startup-metrics.js | <ide><path>s/startup-metrics.js
<ide>
<ide> // Vanity Labels
<ide> vanity_one : 'MENTIONS',
<del> vanity_two : 'ATTENDEES',
<del> vanity_three : 'ARTICLES',
<add> vanity_two : 'FOLLOWERS',
<add> vanity_three : 'COMMENTS',
<ide> vanity_four : 'STACKOVERFLOW',
<ide>... | |
Java | mit | afea536174ae2f2cf4e2aa57e551b89d46057815 | 0 | conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5 | package com.conveyal.r5.streets;
import com.conveyal.gtfs.model.Stop;
import com.conveyal.osmlib.Node;
import com.conveyal.osmlib.OSM;
import com.conveyal.osmlib.OSMEntity;
import com.conveyal.osmlib.Relation;
import com.conveyal.osmlib.Way;
import com.conveyal.r5.api.util.BikeRentalStation;
import com.conveyal.r5.api... | src/main/java/com/conveyal/r5/streets/StreetLayer.java | package com.conveyal.r5.streets;
import com.conveyal.gtfs.model.Stop;
import com.conveyal.osmlib.Node;
import com.conveyal.osmlib.OSM;
import com.conveyal.osmlib.OSMEntity;
import com.conveyal.osmlib.Relation;
import com.conveyal.osmlib.Way;
import com.conveyal.r5.api.util.BikeRentalStation;
import com.conveyal.r5.api... | check that turn restriction from and to members are ways, addresses #276
also added some comments and clarified a variable name
| src/main/java/com/conveyal/r5/streets/StreetLayer.java | check that turn restriction from and to members are ways, addresses #276 | <ide><path>rc/main/java/com/conveyal/r5/streets/StreetLayer.java
<ide> for (Relation.Member member : restriction.members) {
<ide> if ("from".equals(member.role)) {
<ide> if (from != null) {
<del> LOG.error("Turn restriction {} has multiple from members, skipping", ... | |
Java | apache-2.0 | c6aff1b7f0edf085d1e5e4fdc9d98a72c377315b | 0 | naritta/hivemall,daijyc/hivemall,NaokiStones/hivemall,NaokiStones/hivemall,tempbottle/hivemall,naritta/hivemall,daijyc/hivemall,NaokiStones/hivemall,tempbottle/hivemall,daijyc/hivemall,naritta/hivemall,tempbottle/hivemall | package hivemall.utils.lang.mutable;
import hivemall.utils.lang.Copyable;
import java.io.Serializable;
public final class MutableInt extends Number
implements Copyable<MutableInt>, Comparable<MutableInt>, Serializable {
private static final long serialVersionUID = -3289272606407100628L;
private int ... | src/main/hivemall/utils/lang/mutable/MutableInt.java | package hivemall.utils.lang.mutable;
import hivemall.utils.lang.Copyable;
import java.io.Serializable;
public final class MutableInt extends Number
implements Copyable<MutableInt>, Comparable<MutableInt>, Serializable {
private static final long serialVersionUID = -3289272606407100628L;
private int ... | Avoid using Integer.compare() because it is supported since Java 7 | src/main/hivemall/utils/lang/mutable/MutableInt.java | Avoid using Integer.compare() because it is supported since Java 7 | <ide><path>rc/main/hivemall/utils/lang/mutable/MutableInt.java
<ide>
<ide> @Override
<ide> public int compareTo(MutableInt other) {
<del> return Integer.compare(value, other.value);
<add> return compare(value, other.value);
<add> }
<add>
<add> private static int compare(final int x, final i... | |
Java | mit | b2324057038530b8084deed7f59c1cb4eccf125d | 0 | chav1961/purelib,chav1961/purelib,chav1961/purelib | package chav1961.purelib.ui.swing.useful;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import javax.swing.JComponent;
import javax.swing.JOptionPane;
import javax.swing.table.Default... | src/main/java/chav1961/purelib/ui/swing/useful/JDataBaseTableWithMeta.java | package chav1961.purelib.ui.swing.useful;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import javax.swing.JComponent;
import javax.swing.JOptionPane;
import javax.swing.table.Default... | DAily commit | src/main/java/chav1961/purelib/ui/swing/useful/JDataBaseTableWithMeta.java | DAily commit | <ide><path>rc/main/java/chav1961/purelib/ui/swing/useful/JDataBaseTableWithMeta.java
<ide> private final ContentNodeMetadata[] metadata;
<ide> private final Localizer localizer;
<ide> private volatile ContentDesc<K, Inst> desc = null;
<del> private Inst lastRow;
<add> private Inst lastRow;
<ide... | |
Java | agpl-3.0 | c9b975f09ff7b3d5678957befbefd70f278a2e7d | 0 | automenta/java_dann | /******************************************************************************
* *
* Copyright: (c) Syncleus, Inc. *
* ... | src/com/syncleus/dann/graph/AbstractGraph.java | /******************************************************************************
* *
* Copyright: (c) Syncleus, Inc. *
* ... | Expanded some stub methods in the graph package
| src/com/syncleus/dann/graph/AbstractGraph.java | Expanded some stub methods in the graph package | <ide><path>rc/com/syncleus/dann/graph/AbstractGraph.java
<ide>
<ide> public int getNodeConnectivity(N begin, N end)
<ide> {
<del> return 0;
<add> final Set<Set<N>> combinations = Combinations.everyCombination(this.getNodes());
<add> final SortedSet<Set<N>> sortedCombinations = new TreeSet<Set<N>>(new SizeComparat... | |
Java | apache-2.0 | afbac33dc1959a91c20e9f8925fe2122e83e1d8d | 0 | sasmit4it/JqRepo | package pack;
public class Tester {
public static void main(String[] args) {
System.out.println("runnertyoonmn");
System.out.println("local..");
}
}
| jQueryProj/src/pack/Tester.java | package pack;
public class Tester {
public static void main(String[] args) {
System.out.println("runnertyoonmn");
}
}
| six comm | jQueryProj/src/pack/Tester.java | six comm | <ide><path>QueryProj/src/pack/Tester.java
<ide>
<ide> public static void main(String[] args) {
<ide> System.out.println("runnertyoonmn");
<add> System.out.println("local..");
<ide> }
<ide>
<ide> } | |
Java | apache-2.0 | cdd3165071d8be657c3f0c976b97774063e3e47b | 0 | TangHao1987/intellij-community,adedayo/intellij-community,michaelgallacher/intellij-community,ol-loginov/intellij-community,ftomassetti/intellij-community,pwoodworth/intellij-community,hurricup/intellij-community,youdonghai/intellij-community,nicolargo/intellij-community,ibinti/intellij-community,retomerz/intellij-comm... | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/convertToJava/ClosureGenerator.java | /*
* Copyright 2000-2011 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
| plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/convertToJava/ClosureGenerator.java | cleanup | <ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/convertToJava/ClosureGenerator.java
<ide> /*
<del> * Copyright 2000-2011 JetBrains s.r.o.
<add> * Copyright 2000-2012 JetBrains s.r.o.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not use this fil... | |
Java | mit | 22fc34f9ddc3085ca8e6ee9f1306bf30e4680967 | 0 | adrian-wozniak/yagga,yu55/gog,yu55/yagga,yu55/gog,yu55/yagga,adrian-wozniak/yagga,yu55/gog,adrian-wozniak/yagga,yu55/yagga | package org.yu55.yagga.handler.git;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.io.File;
import java.util.List;
import org.junit.Test;
import org.yu55.yagga.core.annotat... | src/test/java/org/yu55/yagga/handler/git/GitRepositoryTest.java | package org.yu55.yagga.handler.git;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.io.File;
import java.util.List;
import org.junit.Test;
import org.yu55.yagga.core.annotat... | Fixed test
| src/test/java/org/yu55/yagga/handler/git/GitRepositoryTest.java | Fixed test | <ide><path>rc/test/java/org/yu55/yagga/handler/git/GitRepositoryTest.java
<ide> import org.yu55.yagga.handler.git.command.common.GitCommandOutput;
<ide> import org.yu55.yagga.handler.git.command.common.GitCommandOutputLine;
<ide>
<add>/*
<add>TODO: these tests are too complex. Something is wrong...
<add> */
<ide> publ... | |
JavaScript | apache-2.0 | cc421a94f02c5b73bf0eb737918763204b8ef1e8 | 0 | smaldini/grails-events-push,smaldini/grails-events-push | /**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed ... | web-app/js/grails/grailsEvents.js | /**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed ... | handling 504 timeout
| web-app/js/grails/grailsEvents.js | handling 504 timeout | <ide><path>eb-app/js/grails/grailsEvents.js
<ide> checkSpecified("handler", 'function', handler);
<ide>
<ide> var handlers = handlerMap[topic];
<del> if (!handlers || request) {
<add> if (!handlers || request) {
<ide>
<ide> handlers = [... | |
Java | apache-2.0 | 688e936a8e6d490b500f7cf0d84eb9cb9d896968 | 0 | AVnetWS/Hentoid,AVnetWS/Hentoid,AVnetWS/Hentoid | package me.devsaki.hentoid.viewmodels;
import android.app.Application;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.documentfile.provider.DocumentFile;
import androidx.lifecycle.AndroidViewMod... | app/src/main/java/me/devsaki/hentoid/viewmodels/ImageViewerViewModel.java | package me.devsaki.hentoid.viewmodels;
import android.app.Application;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.documentfile.provider.DocumentFile;
import androidx.lifecycle.AndroidViewMod... | Remove duplicate call
| app/src/main/java/me/devsaki/hentoid/viewmodels/ImageViewerViewModel.java | Remove duplicate call | <ide><path>pp/src/main/java/me/devsaki/hentoid/viewmodels/ImageViewerViewModel.java
<ide> }
<ide>
<ide> public void updateContentPreferences(@NonNull final Map<String, String> newPrefs) {
<del> Content theContent = collectionDao.selectContent(loadedContentId);
<del> if (null == theContent) return... | |
Java | apache-2.0 | 14f64794c722522da59ec8b83d6dd17f95f8a54d | 0 | tejksat/docker-java,gesellix/docker-java,gesellix/docker-java,tourea/docker-java,ollie314/docker-java,ollie314/docker-java,tejksat/docker-java,tourea/docker-java,llamahunter/docker-java,magnayn/docker-java,docker-java/docker-java,magnayn/docker-java,llamahunter/docker-java,docker-java/docker-java | package com.github.dockerjava.core.command;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.dockerjava.api.command.CreateNetworkCmd;
import com.github.dockerjava.api.command.CreateNetworkResponse;
import com.github.dockerjava.api.command.DockerCm... | src/main/java/com/github/dockerjava/core/command/CreateNetworkCmdImpl.java | package com.github.dockerjava.core.command;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.dockerjava.api.command.CreateNetworkCmd;
import com.github.dockerjava.api.command.CreateNetworkResponse;
import com.github.dockerjava.api.command.DockerCm... | Fix NPE for withIpamConfig
| src/main/java/com/github/dockerjava/core/command/CreateNetworkCmdImpl.java | Fix NPE for withIpamConfig | <ide><path>rc/main/java/com/github/dockerjava/core/command/CreateNetworkCmdImpl.java
<ide>
<ide> @Override
<ide> public CreateNetworkCmd withIpamConfig(Ipam.Config config) {
<add> if (this.ipam == null) {
<add> this.ipam = new Ipam();
<add> }
<ide> this.ipam.getConfig().add(con... | |
Java | apache-2.0 | d1e41361c4d9ab98a9fb8b92ef9ea47eac5d2ad0 | 0 | forcedotcom/aura,forcedotcom/aura,madmax983/aura,forcedotcom/aura,madmax983/aura,madmax983/aura,forcedotcom/aura,madmax983/aura,madmax983/aura,madmax983/aura,forcedotcom/aura | /*
* Copyright (C) 2013 salesforce.com, 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 ... | aura-util/src/main/java/org/auraframework/util/javascript/directive/DirectiveBasedJavascriptGroup.java | /*
* Copyright (C) 2013 salesforce.com, 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 ... | try catch Intl polyfill for ie9 support (#2929)
| aura-util/src/main/java/org/auraframework/util/javascript/directive/DirectiveBasedJavascriptGroup.java | try catch Intl polyfill for ie9 support (#2929) | <ide><path>ura-util/src/main/java/org/auraframework/util/javascript/directive/DirectiveBasedJavascriptGroup.java
<ide> minSource = getSource(path +".min.js");
<ide> } catch (MalformedURLException e) {}
<ide> if (source != null) {
<add> source = "try {\n" + source +... | |
Java | apache-2.0 | 334441363019e7dddbda058078417a6060beed4e | 0 | hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak | package com.sequenceiq.environment.network.service;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import ... | environment/src/test/java/com/sequenceiq/environment/network/service/SubnetIdProviderTest.java | package com.sequenceiq.environment.network.service;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import ... | CB-3864 renamed unit test
| environment/src/test/java/com/sequenceiq/environment/network/service/SubnetIdProviderTest.java | CB-3864 renamed unit test | <ide><path>nvironment/src/test/java/com/sequenceiq/environment/network/service/SubnetIdProviderTest.java
<ide> }
<ide>
<ide> @Test
<del> void testProvideShouldReturnAnySubnetWhenResultIsEmptyAndNoError1() {
<add> void testProvideShouldReturnAnySubnetWhenResultIsNotEmptyAndNoErrorButAtLeastTwoSubnetComesB... | |
Java | apache-2.0 | 9ae4c8e92533a7e6a4face66ac47236f0d378962 | 0 | mglukhikh/intellij-community,apixandru/intellij-community,xfournet/intellij-community,mglukhikh/intellij-community,vvv1559/intellij-community,asedunov/intellij-community,suncycheng/intellij-community,fitermay/intellij-community,xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,signed/intellij-community,m... | /*
* Copyright 2000-2016 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/editor-ui-api/src/com/intellij/ide/ui/UISettings.java | /*
* Copyright 2000-2016 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... | remove unused addUISettingsListener
| platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.java | remove unused addUISettingsListener | <ide><path>latform/editor-ui-api/src/com/intellij/ide/ui/UISettings.java
<ide> import com.intellij.openapi.util.Pair;
<ide> import com.intellij.openapi.util.SimpleModificationTracker;
<ide> import com.intellij.openapi.util.SystemInfo;
<del>import com.intellij.openapi.util.registry.Registry;
<ide> import com.intellij.ut... | |
Java | apache-2.0 | de1ae6f6e3912cf544fada530fd3509704df63b9 | 0 | google/ground-android,google/ground-android,google/ground-android | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | gnd/src/main/java/com/google/android/gnd/ui/editobservation/EditObservationViewModel.java | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Spotbugs: File.separator can't be used in regex
pmd: fix comment
| gnd/src/main/java/com/google/android/gnd/ui/editobservation/EditObservationViewModel.java | Spotbugs: File.separator can't be used in regex pmd: fix comment | <ide><path>nd/src/main/java/com/google/android/gnd/ui/editobservation/EditObservationViewModel.java
<ide> * path.
<ide> */
<ide> File getLocalFileFromDestinationPath(String destinationPath) throws FileNotFoundException {
<del> String[] splits = destinationPath.split(File.separator);
<add> String[] splits ... | |
Java | artistic-2.0 | be098ed8e32fd281c93d560b1c1bd4cf86d14c01 | 0 | jdownloader-mirror/appwork-utils | /**
* Copyright (c) 2009 - 2010 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org>
*
* This file is part of org.appwork.utils.swing.dialog
*
* This software is licensed under the Artistic License 2.0,
* see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php
* for details
... | src/org/appwork/utils/swing/dialog/ConfirmDialog.java | /**
* Copyright (c) 2009 - 2010 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org>
*
* This file is part of org.appwork.utils.swing.dialog
*
* This software is licensed under the Artistic License 2.0,
* see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php
* for details
... | API work. new DownloadV2 API
and OSR Activation
| src/org/appwork/utils/swing/dialog/ConfirmDialog.java | API work. new DownloadV2 API and OSR Activation | <ide><path>rc/org/appwork/utils/swing/dialog/ConfirmDialog.java
<ide> @Override
<ide> protected Integer createReturnValue() {
<ide> // TODO Auto-generated method stub
<add>
<ide> return getReturnmask();
<ide> }
<ide> | |
Java | apache-2.0 | 35c4302967a3e77ec37673ff59e128467a9ff795 | 0 | gilsouza/webdriverextensions,gilsouza/webdriverextensions,webdriverextensions/webdriverextensions,webdriverextensions/webdriverextensions | package org.andidev.webdriverextension;
import java.util.List;
import org.apache.commons.lang3.math.NumberUtils;
import org.openqa.selenium.Keys;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Expecte... | webdriver-extension-core/src/main/java/org/andidev/webdriverextension/WebDriverBot.java | package org.andidev.webdriverextension;
import java.util.List;
import mx4j.tools.remote.http.WebContainer;
import org.apache.commons.lang3.math.NumberUtils;
import org.openqa.selenium.Keys;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
i... | Intriduced alphabetical orderding and minor changes | webdriver-extension-core/src/main/java/org/andidev/webdriverextension/WebDriverBot.java | Intriduced alphabetical orderding and minor changes | <ide><path>ebdriver-extension-core/src/main/java/org/andidev/webdriverextension/WebDriverBot.java
<ide> package org.andidev.webdriverextension;
<ide>
<ide> import java.util.List;
<del>import mx4j.tools.remote.http.WebContainer;
<ide> import org.apache.commons.lang3.math.NumberUtils;
<ide> import org.openqa.selenium.Ke... | |
Java | bsd-3-clause | c3497b588dd1c469a76ccb9ccdc210a83cb2cf7a | 0 | svn2github/semanticvectors,svn2github/semanticvectors,svn2github/semanticvectors,svn2github/semanticvectors | /**
Copyright (c) 2007, University of Pittsburgh
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of... | src/main/java/pitt/search/semanticvectors/VectorSearcher.java | /**
Copyright (c) 2007, University of Pittsburgh
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of... | Added weighting for PSI searches
git-svn-id: 08ea2b8556b98ff0c759f891b20f299445ddff2f@1125 483481f0-a63c-0410-a8a8-396719eec1a4
| src/main/java/pitt/search/semanticvectors/VectorSearcher.java | Added weighting for PSI searches | <ide><path>rc/main/java/pitt/search/semanticvectors/VectorSearcher.java
<ide> import org.apache.lucene.index.DirectoryReader;
<ide> import org.apache.lucene.index.IndexReader;
<ide> import org.apache.lucene.search.BooleanQuery;
<add>import org.apache.lucene.search.Explanation;
<ide> import org.apache.lucene.search.Inde... | |
Java | epl-1.0 | a09569647be0f31fc35aaba8e0ad50ebfee69d46 | 0 | cocosli/mondrian,dkincade/mondrian,mdamour1976/mondrian,wetet2/mondrian,mdamour1976/mondrian,ivanpogodin/mondrian,truvenganong/mondrian,cesarmarinhorj/mondrian,bmorrise/mondrian,bmorrise/mondrian,AvinashPD/mondrian,nextelBIS/mondrian,pedrofvteixeira/mondrian,truvenganong/mondrian,pedrofvteixeira/mondrian,lgrill-pentaho... | src/main/mondrian/calc/MemberList.java | /*
// $Id$
// This software is subject to the terms of the Eclipse Public License v1.0
// Agreement, available at the following URL:
// http://www.eclipse.org/legal/epl-v10.html.
// Copyright (C) 2010-2011 Julian Hyde
// All Rights Reserved.
// You must accept the terms of that agreement to use this software.
*/
packag... | MONDRIAN: Oops, never intended to check this in.
[git-p4: depot-paths = "//open/mondrian/": change = 14040]
| src/main/mondrian/calc/MemberList.java | MONDRIAN: Oops, never intended to check this in. | <ide><path>rc/main/mondrian/calc/MemberList.java
<del>/*
<del>// $Id$
<del>// This software is subject to the terms of the Eclipse Public License v1.0
<del>// Agreement, available at the following URL:
<del>// http://www.eclipse.org/legal/epl-v10.html.
<del>// Copyright (C) 2010-2011 Julian Hyde
<del>// All Rights Rese... | ||
Java | mit | error: pathspec 'src/org/joml/geom/Rayf.java' did not match any file(s) known to git
| d3fb0a5c8e3bc595b8f3354c8de925fc832389c2 | 1 | Longor1996/JOML-GEOM | package org.joml.geom;
import org.joml.Matrix4f;
import org.joml.Vector3f;
import org.joml.Vector4f;
public class Rayf {
public float originX;
public float originY;
public float originZ;
public float directionX;
public float directionY;
public float directionZ;
/** Creates a new {@link Rayf} located at (0,0,... | src/org/joml/geom/Rayf.java | Added Ray class.
| src/org/joml/geom/Rayf.java | Added Ray class. | <ide><path>rc/org/joml/geom/Rayf.java
<add>package org.joml.geom;
<add>
<add>import org.joml.Matrix4f;
<add>import org.joml.Vector3f;
<add>import org.joml.Vector4f;
<add>
<add>public class Rayf {
<add> public float originX;
<add> public float originY;
<add> public float originZ;
<add> public float directionX;
<add> pub... | |
Java | epl-1.0 | error: pathspec 'jpa/eclipselink.jpars.test/src/org/eclipse/persistence/jpars/test/model/multitenant/Account.java' did not match any file(s) known to git
| dc4d31189e9d517e141ad4c399fb6196ce09c870 | 1 | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs,bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs,bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | package org.eclipse.persistence.jpars.test.model.multitenant;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;
import org.eclipse.persistence.annotations.Multitenant;
import org.eclipse.per... | jpa/eclipselink.jpars.test/src/org/eclipse/persistence/jpars/test/model/multitenant/Account.java | Add Account Object
Former-commit-id: 31acc92990c2a72ba9abbecb25b62e289897b3b2 | jpa/eclipselink.jpars.test/src/org/eclipse/persistence/jpars/test/model/multitenant/Account.java | Add Account Object | <ide><path>pa/eclipselink.jpars.test/src/org/eclipse/persistence/jpars/test/model/multitenant/Account.java
<add>package org.eclipse.persistence.jpars.test.model.multitenant;
<add>
<add>import javax.persistence.Entity;
<add>import javax.persistence.GeneratedValue;
<add>import javax.persistence.Id;
<add>import javax.pers... | |
Java | apache-2.0 | e4566584c2d3c18ca8a9e1f6b4555976a64fff19 | 0 | wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel | /*
* See the NOTICE.txt file distributed with
* this work for additional information regarding copyright ownership.
* Wyona licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
... | src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java | /*
* See the NOTICE.txt file distributed with
* this work for additional information regarding copyright ownership.
* Wyona licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
... | use java.util.Base64.Decoder instead sun.misc.BASE64Decoder
| src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java | use java.util.Base64.Decoder instead sun.misc.BASE64Decoder | <ide><path>rc/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java
<ide> }
<ide> */
<ide>
<del> // HTTP BASIC Authentication (For clients such as for instance Sunbird, OpenOffice or cadaver)
<add> // HTTP BASIC Authentication (For clients such as for instance Thunderbird Lightning, OpenOffic... | |
JavaScript | mit | 428597092f9649c7f4651eed59fe0d9d368e97de | 0 | skifaster/supertags,skifaster/supertags | SuperTags.Controller = new ClassX.extend(SuperTags.Class, function(base) {
this.parseTags = function(text, options) {
if(!this.token || this.token == "") {
this.storeItemTag(text);
return {originalText: text, modifiedText: text, tags: this.currentItemTags}
}
var newTagsSpacesRegEx = new RegExp(this.... | lib/js/supertags.controller.js | SuperTags.Controller = new ClassX.extend(SuperTags.Class, function(base) {
this.parseTags = function(text, options) {
console.log('parsing tags')
if(!this.token || this.token == "") {
this.storeItemTag(text);
console.log('no token?')
return {originalText: text, modifiedText: text, tags: this.currentItemTag... | Bug fixes and updated readme
| lib/js/supertags.controller.js | Bug fixes and updated readme | <ide><path>ib/js/supertags.controller.js
<ide> SuperTags.Controller = new ClassX.extend(SuperTags.Class, function(base) {
<ide>
<ide> this.parseTags = function(text, options) {
<del>console.log('parsing tags')
<add>
<ide> if(!this.token || this.token == "") {
<ide> this.storeItemTag(text);
<del>console.log('no... | |
Java | apache-2.0 | 920801f9109de6e97916275de492dbad0be30875 | 0 | pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus | /**
* Copyright 2007-2008 University Of Southern California
*
* 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 b... | src/edu/isi/pegasus/planner/refiner/createdir/AbstractStrategy.java | /**
* Copyright 2007-2008 University Of Southern California
*
* 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 b... | JIRA PM-494
The DAX and DAG jobs should also be associated with teh create dir job
on local site/staging site. This is similar to behavior in 3.1
| src/edu/isi/pegasus/planner/refiner/createdir/AbstractStrategy.java | JIRA PM-494 | <ide><path>rc/edu/isi/pegasus/planner/refiner/createdir/AbstractStrategy.java
<ide> //add to the set only if the job is
<ide> //being run in the work directory
<ide> //this takes care of local site create dir
<del> if( job.getJobType() == Job.COMPUTE_JOB && job.runInWorkD... | |
Java | apache-2.0 | f76035aae2171911137ea2f06178113ec8ab5739 | 0 | jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2016-2021 JaamSim Software 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... | src/main/java/com/jaamsim/basicsim/JaamSimModel.java | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2016-2021 JaamSim Software 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... | JS: simplify the SubModelClone logic for the JaamSimModel copy constructor
Signed-off-by: Harry King <409587b9e6671aa0763646191d292852dc49a658@gmail.com>
| src/main/java/com/jaamsim/basicsim/JaamSimModel.java | JS: simplify the SubModelClone logic for the JaamSimModel copy constructor | <ide><path>rc/main/java/com/jaamsim/basicsim/JaamSimModel.java
<ide> continue;
<ide>
<ide> // Generate all the sub-model components when the first one is found
<del> if (ent.isGenerated()) {
<del> if (ent.getParent() instanceof SubModelClone) {
<del> Entity clone = getNamedEntity(ent.getParent().getNam... | |
Java | bsd-3-clause | 9c8f3e14e7e18de56ceddf91f9b80112122a3999 | 0 | erhs-53-hackers/Robo2012 | package edu.wpi.first.wpilibj.templates;
/**
*
* @author Nick
*/
public class RoboMap {
/* Digital Output*/
public static final int MOTOR1 = 1;
public static final int MOTOR2 = 2;
public static final int MOTOR3 = 3;
public static final int MOTOR4 = 4;
public static final int LAUNCH_MOTOR = ... | src/edu/wpi/first/wpilibj/templates/RoboMap.java | package edu.wpi.first.wpilibj.templates;
/**
*
* @author Nick
*/
public class RoboMap {
/* Digital Output*/
public static final int MOTOR1 = 1;
public static final int MOTOR2 = 2;
public static final int MOTOR3 = 3;
public static final int MOTOR4 = 4;
public static final int LAUNCH_MOTOR = ... | removing port
| src/edu/wpi/first/wpilibj/templates/RoboMap.java | removing port | <ide><path>rc/edu/wpi/first/wpilibj/templates/RoboMap.java
<ide> public static final int MOTOR3 = 3;
<ide> public static final int MOTOR4 = 4;
<ide> public static final int LAUNCH_MOTOR = 5;
<del> public static final int LOAD_MOTOR = 6;
<ide> public static final int BRIDGE_MOTOR = 7;
<ide> public... | |
Java | bsd-2-clause | error: pathspec 'src/main/java/com/yubico/jaas/impl/YubikeyToUserLDAPMap.java' did not match any file(s) known to git
| 5f7e4059c12d8a8f87f259a176e5e36bd0f330e9 | 1 | Yubico/yubico-java-client,Yubico/yubico-java-client | /*
* Copyright 2011, Yubico AB. All rights reserved.
* This file is derivative work from YubikeyToUserMapImpl.java in the
* Yubico Java client. The following copyright applies to the
* derivative work:
* Copyright 2011, Université de Lausanne. All rights reserved.
*
* Redistribution and use in source and binary ... | src/main/java/com/yubico/jaas/impl/YubikeyToUserLDAPMap.java | new LDAP usermap backend
| src/main/java/com/yubico/jaas/impl/YubikeyToUserLDAPMap.java | new LDAP usermap backend | <ide><path>rc/main/java/com/yubico/jaas/impl/YubikeyToUserLDAPMap.java
<add>/*
<add> * Copyright 2011, Yubico AB. All rights reserved.
<add> * This file is derivative work from YubikeyToUserMapImpl.java in the
<add> * Yubico Java client. The following copyright applies to the
<add> * derivative work:
<add> * Copyright ... | |
Java | lgpl-2.1 | 0788fdc5f15932db5bab3c3ad74314292357bf47 | 0 | ontometrics/ontokettle,juanmjacobs/kettle,juanmjacobs/kettle,juanmjacobs/kettle,ontometrics/ontokettle,ontometrics/ontokettle,cwarden/kettle,cwarden/kettle,cwarden/kettle | package be.ibridge.kettle.trans.step.excelinput;
import be.ibridge.kettle.core.Const;
import be.ibridge.kettle.trans.Trans;
import be.ibridge.kettle.trans.TransMeta;
import be.ibridge.kettle.trans.step.KettleStepUseCase;
import be.ibridge.kettle.trans.step.errorhandling.FileErrorHandlerMissingFiles;
public cl... | test/useCases/replay/be/ibridge/kettle/trans/step/excelinput/ExcelInputReplayTest.java | package be.ibridge.kettle.trans.step.excelinput;
import be.ibridge.kettle.core.Const;
import be.ibridge.kettle.trans.Trans;
import be.ibridge.kettle.trans.TransMeta;
import be.ibridge.kettle.trans.step.KettleStepUseCase;
import be.ibridge.kettle.trans.step.errorhandling.FileErrorHandlerMissingFiles;
public cl... | Number of expected files changed from 2 to 4: if you don't want to have the .line files, you don't specify them.
So, ignore=true will create the .line files, one per sheet: 2 extra files = 4 files.
git-svn-id: 9499f031eb5c9fb9d11553a06c92651e5446d292@866 5fb7f6ec-07c1-534a-b4ca-9155e429e800
| test/useCases/replay/be/ibridge/kettle/trans/step/excelinput/ExcelInputReplayTest.java | Number of expected files changed from 2 to 4: if you don't want to have the .line files, you don't specify them. So, ignore=true will create the .line files, one per sheet: 2 extra files = 4 files. | <ide><path>est/useCases/replay/be/ibridge/kettle/trans/step/excelinput/ExcelInputReplayTest.java
<ide> trans.waitUntilFinished();
<ide> trans.endProcessing("end"); //$NON-NLS-1$
<ide> assertEquals(0, trans.getErrors());
<del> expectFiles(directory, 2);
<add>
<add> // Changed from 2 to 4: if you don't wa... | |
Java | apache-2.0 | 5f6245fe713ff9ac46beaf6bc5d93cc5984f7570 | 0 | gentics/mesh,gentics/mesh,gentics/mesh,gentics/mesh | package com.gentics.mesh.core.data.root.impl;
import static com.gentics.mesh.core.data.relationship.GraphPermission.CREATE_PERM;
import static com.gentics.mesh.core.data.relationship.GraphPermission.READ_PERM;
import static com.gentics.mesh.core.data.relationship.GraphPermission.READ_PUBLISHED_PERM;
import static com.... | core/src/main/java/com/gentics/mesh/core/data/root/impl/NodeRootImpl.java | package com.gentics.mesh.core.data.root.impl;
import static com.gentics.mesh.core.data.relationship.GraphPermission.CREATE_PERM;
import static com.gentics.mesh.core.data.relationship.GraphPermission.READ_PERM;
import static com.gentics.mesh.core.data.relationship.GraphPermission.READ_PUBLISHED_PERM;
import static com.... | Fix another regression
| core/src/main/java/com/gentics/mesh/core/data/root/impl/NodeRootImpl.java | Fix another regression | <ide><path>ore/src/main/java/com/gentics/mesh/core/data/root/impl/NodeRootImpl.java
<ide>
<ide> /**
<ide> * Finds all nodes of a project.
<add> *
<ide> * @param projectUuid
<ide> * @return
<ide> */
<ide> private Stream<Vertex> findAll(String projectUuid) {
<ide> return toStream(db().getVertices(
<ide> ... | |
Java | apache-2.0 | cdc8c0776f78d1652986d74e221f17759e376594 | 0 | spinnaker/clouddriver,duftler/clouddriver,ajordens/clouddriver,ajordens/clouddriver,ajordens/clouddriver,spinnaker/clouddriver,ajordens/clouddriver,spinnaker/clouddriver,duftler/clouddriver,duftler/clouddriver,duftler/clouddriver | package com.netflix.spinnaker.clouddriver.titus.deploy.description;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.netflix.spinnaker.clouddriver.deploy.DeployDescription;
import com.netflix.spinnaker.clouddriver.orchestration.SagaContextAware;
import com.netflix.spinnaker.clouddriver.orchestration.even... | clouddriver-titus/src/main/groovy/com/netflix/spinnaker/clouddriver/titus/deploy/description/TitusDeployDescription.java | package com.netflix.spinnaker.clouddriver.titus.deploy.description;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.netflix.spinnaker.clouddriver.deploy.DeployDescription;
import com.netflix.spinnaker.clouddriver.orchestration.SagaContextAware;
import com.netflix.spinnaker.clouddriver.orchestration.even... | fix(titus): Scorched earth removing Lombok for Jackson compat (#4083)
| clouddriver-titus/src/main/groovy/com/netflix/spinnaker/clouddriver/titus/deploy/description/TitusDeployDescription.java | fix(titus): Scorched earth removing Lombok for Jackson compat (#4083) | <ide><path>louddriver-titus/src/main/groovy/com/netflix/spinnaker/clouddriver/titus/deploy/description/TitusDeployDescription.java
<ide> import javax.annotation.Nonnull;
<ide> import javax.annotation.Nullable;
<ide> import lombok.Data;
<del>import lombok.EqualsAndHashCode;
<ide> import lombok.extern.slf4j.Slf4j;
<ide> ... | |
Java | apache-2.0 | c224728d796d9b1180e8fb700b45836abb53848d | 0 | thomasdarimont/spring-security,Peter32/spring-security,justinedelson/spring-security,MatthiasWinzeler/spring-security,jgrandja/spring-security,dsyer/spring-security,mrkingybc/spring-security,xingguang2013/spring-security,jmnarloch/spring-security,olezhuravlev/spring-security,spring-projects/spring-security,driftman/spr... | /* Copyright 2004 Acegi Technology Pty Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | adapters/resin/src/main/java/org/acegisecurity/adapters/resin/ResinAcegiAuthenticator.java | /* Copyright 2004 Acegi Technology Pty Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | Changed appContextLocation to use a String (to enable unit testing), fixed logger outputs, improved handling of nulls and empty Strings.
| adapters/resin/src/main/java/org/acegisecurity/adapters/resin/ResinAcegiAuthenticator.java | Changed appContextLocation to use a String (to enable unit testing), fixed logger outputs, improved handling of nulls and empty Strings. | <ide><path>dapters/resin/src/main/java/org/acegisecurity/adapters/resin/ResinAcegiAuthenticator.java
<ide>
<ide> import com.caucho.http.security.AbstractAuthenticator;
<ide>
<del>import com.caucho.vfs.Path;
<del>
<ide> import net.sf.acegisecurity.Authentication;
<ide> import net.sf.acegisecurity.AuthenticationExcepti... | |
Java | mit | 914b81e05210d7a65bf908862ceffca93f3f215b | 0 | debugchannel/debugchannel-java-client | package channeldebug;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.HttpURLConnection... | src/channeldebug/ChannelDebug.java | package channeldebug;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.HttpURLConnection... | fixed bug
| src/channeldebug/ChannelDebug.java | fixed bug | <ide><path>rc/channeldebug/ChannelDebug.java
<ide>
<ide> private Object normalise(Object object)
<ide> {
<add> if(null == object) {
<add> return null;
<add> }
<add>
<ide> if(isPrimitive(object)) {
<ide> Map<String, Object> map = new HashMap<String, Object>();
<ide> ... | |
JavaScript | apache-2.0 | 9533b7fac304a6fd616034e72510aa45411ef809 | 0 | Gawdl3y/discord.js-commando,Gawdl3y/discord.js-commando,Gawdl3y/discord.js-commando | const SettingProvider = require('./base');
/**
* Uses an SQLite database to store settings with guilds
* @extends {SettingProvider}
*/
class SQLiteProvider extends SettingProvider {
/**
* @external SQLiteDatabase
* @see {@link https://www.npmjs.com/package/sqlite}
*/
/**
* @param {SQLiteDatabase} db Data... | src/providers/sqlite.js | const SettingProvider = require('./base');
/**
* Uses an SQLite database to store settings with guilds
* @extends {SettingProvider}
*/
class SQLiteProvider extends SettingProvider {
/**
* @external SQLiteDatabase
* @see {@link https://www.npmjs.com/package/sqlite}
*/
/**
* @param {SQLiteDatabase} db Data... | Optimised and cleaned up SQLiteProvider startup loading
| src/providers/sqlite.js | Optimised and cleaned up SQLiteProvider startup loading | <ide><path>rc/providers/sqlite.js
<ide> .on('commandPrefixChange', (guild, prefix) => this.set(guild, 'prefix', prefix))
<ide> .on('commandStatusChange', (guild, command, enabled) => this.set(guild, `cmd-${command.name}`, enabled))
<ide> .on('groupStatusChange', (guild, group, enabled) => this.set(guild, `grp-... | |
JavaScript | agpl-3.0 | 8853f0ed5b2988ff1db5c387fb97b5cfd7595aae | 0 | shakaran/Big-Big-RSS,shakaran/Big-Big-RSS,shakaran/Big-Big-RSS,shakaran/Big-Big-RSS,shakaran/Big-Big-RSS | var global_unread = -1;
var _active_feed_id = undefined;
var _active_feed_is_cat = false;
var hotkey_prefix = false;
var hotkey_prefix_pressed = false;
var _widescreen_mode = false;
var _rpc_seq = 0;
function next_seq() {
_rpc_seq += 1;
return _rpc_seq;
}
function get_seq() {
return _rpc_seq;
}
function activeFee... | js/tt-rss.js | var global_unread = -1;
var _active_feed_id = undefined;
var _active_feed_is_cat = false;
var hotkey_prefix = false;
var hotkey_prefix_pressed = false;
var _widescreen_mode = false;
var _rpc_seq = 0;
function next_seq() {
_rpc_seq += 1;
return _rpc_seq;
}
function get_seq() {
return _rpc_seq;
}
function activeFee... | switchPanelMode: fix typo
| js/tt-rss.js | switchPanelMode: fix typo | <ide><path>s/tt-rss.js
<ide> dijit.byId("content-insert").domNode.setStyle({width: 'auto',
<ide> height: '50%',
<ide> borderLeftWidth: '0px',
<del> borderTopWidthidth: '1px'});
<add> borderTopWidth: '1px'});
<ide>
<ide> $("headlines-toolbar").setStyle({ borderBottomWidth: '1px' });
<ide> } | |
Java | apache-2.0 | f22f3b6ece8c725b259be97e49a1f8196ed2b386 | 0 | datanucleus/tests,datanucleus/tests,datanucleus/tests,datanucleus/tests,datanucleus/tests | /**********************************************************************
Copyright (c) 2006 Andy Jefferson and others. 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
h... | jpa/general/src/test/org/datanucleus/tests/metadata/AnnotationTest.java | /**********************************************************************
Copyright (c) 2006 Andy Jefferson and others. 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
h... | fix expectation | jpa/general/src/test/org/datanucleus/tests/metadata/AnnotationTest.java | fix expectation | <ide><path>pa/general/src/test/org/datanucleus/tests/metadata/AnnotationTest.java
<ide> ClassLoaderResolver clr = new ClassLoaderResolverImpl();
<ide> ClassMetaData cmd1 = (ClassMetaData)metaDataMgr.getMetaDataForClass(Account.class.getName(), clr);
<ide> AbstractMemberMetaData mmd1 = cmd1.getMe... | |
Java | bsd-2-clause | 72fa5c2734bf89c52b730bf39b379970d45711bd | 0 | TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2012 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | core/core/src/main/java/imagej/ext/plugin/IPlugin.java | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2012 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | Improve javadoc for the IPlugin interface
| core/core/src/main/java/imagej/ext/plugin/IPlugin.java | Improve javadoc for the IPlugin interface | <ide><path>ore/core/src/main/java/imagej/ext/plugin/IPlugin.java
<ide> package imagej.ext.plugin;
<ide>
<ide> import imagej.ext.display.Display;
<add>import imagej.ext.module.Module;
<ide> import imagej.ext.module.ModulePostprocessor;
<ide> import imagej.ext.module.ModulePreprocessor;
<ide> import imagej.ext.tool.Tool... | |
JavaScript | mit | acbf881b1f7cede2a903f226bdaa7f636ce688d3 | 0 | ghacksuserjs/ghacks-user.js,ghacksuserjs/ghacks-user.js | /******
* name: ghacks user.js
* date: 13 November 2018
* version 63-beta: Pants Romance
* "Rah rah ah-ah-ah! Ro mah ro-mah-mah. Gaga oh-la-la! Want your pants romance"
* authors: v52+ github | v51- www.ghacks.net
* url: https://github.com/ghacksuserjs/ghacks-user.js
* license: MIT: https://github.com/ghacksuserjs/gh... | user.js | /******
* name: ghacks user.js
* date: 13 November 2018
* version 63-beta: Pants Romance
* "Rah rah ah-ah-ah! Ro mah ro-mah-mah. Gaga oh-la-la! Want your pants romance"
* authors: v52+ github | v51- www.ghacks.net
* url: https://github.com/ghacksuserjs/ghacks-user.js
* license: MIT: https://github.com/ghacksuserjs/gh... | saving the world bytes at a time | user.js | saving the world bytes at a time | <ide><path>ser.js
<ide> /* 1241: disable insecure passive content (such as images) on https pages - mixed context ***/
<ide> user_pref("security.mixed_content.block_display_content", true);
<ide> /* 1243: block unencrypted requests from Flash on encrypted pages to mitigate MitM attacks (FF59+)
<del> * [1] https://bugzi... | |
Java | mit | 0a6e5ad810aa9f9955c6730f8d2c6c11421ab5d0 | 0 | student-capture/student-capture | package assignment;
import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.mock.web.MockMultipartFile;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.s... | src/test/java/assignment/AssignmentResourceTest.java | package assignment;
import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.mock.web.MockMultipartFile;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.s... | Unneccessary "static" qualifier
| src/test/java/assignment/AssignmentResourceTest.java | Unneccessary "static" qualifier | <ide><path>rc/test/java/assignment/AssignmentResourceTest.java
<ide>
<ide> private MockMvc mvc;
<ide>
<del> private static String json_test_string = "{\"title\":\"TheTitle\"," +
<add> private String json_test_string = "{\"title\":\"TheTitle\"," +
<ide> "\"Info\": \"Assignment Info\"," +
<ide> ... | |
Java | apache-2.0 | 144049cf29cfb147b474c7459dee2a173a0e2952 | 0 | xfournet/intellij-community,mglukhikh/intellij-community,mglukhikh/intellij-community,xfournet/intellij-community,mglukhikh/intellij-community,allotria/intellij-community,allotria/intellij-community,ThiagoGarciaAlves/intellij-community,xfournet/intellij-community,allotria/intellij-community,allotria/intellij-community,... | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesComparator.java | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | vcs: do not create new Comparator every time
| platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesComparator.java | vcs: do not create new Comparator every time | <ide><path>latform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesComparator.java
<ide> import java.util.Comparator;
<ide>
<ide> public class ChangesComparator {
<add> private static final Comparator<VirtualFile> VIRTUAL_FILE_FLAT = new VirtualFileComparator(true);
<add> private static final Comparator<Virt... | |
Java | apache-2.0 | 08074a0406c0c5dca85c90dfc101b44cb29ec611 | 0 | bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud | package com.planet_ink.coffee_mud.Libraries;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.exceptions.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.*;
import com.pla... | com/planet_ink/coffee_mud/Libraries/EnglishParser.java | package com.planet_ink.coffee_mud.Libraries;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.exceptions.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.*;
import com.pla... | Moved and improved past-tense wordifier into English parsing.
git-svn-id: 0cdf8356e41b2d8ccbb41bb76c82068fe80b2514@18196 0d6f1817-ed0e-0410-87c9-987e46238f29
| com/planet_ink/coffee_mud/Libraries/EnglishParser.java | Moved and improved past-tense wordifier into English parsing. | <ide><path>om/planet_ink/coffee_mud/Libraries/EnglishParser.java
<ide> final int x=word.indexOf(' ');
<ide> if(x>0)
<ide> word=word.substring(x+1).trim();
<add> if(word.endsWith("(s)"))
<add> word=word.substring(0, word.length()-3);
<add> if(word.endsWith("(es)"))
<add> word=word.substring(0, word.length()... | |
Java | epl-1.0 | 3d2cee888ada796bdc12fce9129bd5f36036733a | 0 | ESSICS/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ESSICS/cs... | /*
* Copyright (c) 2008 Stiftung Deutsches Elektronen-Synchrotron,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY.
*
* THIS SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS" BASIS.
* WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
* TO THE WARRANTIES OF ME... | applications/plugins/org.csstudio.alarm.treeView/src/org/csstudio/alarm/treeView/views/AlarmTreeView.java | /*
* Copyright (c) 2008 Stiftung Deutsches Elektronen-Synchrotron,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY.
*
* THIS SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS" BASIS.
* WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
* TO THE WARRANTIES OF ME... | Started implementing support for local drag & drop within the tree.
| applications/plugins/org.csstudio.alarm.treeView/src/org/csstudio/alarm/treeView/views/AlarmTreeView.java | Started implementing support for local drag & drop within the tree. | <ide><path>pplications/plugins/org.csstudio.alarm.treeView/src/org/csstudio/alarm/treeView/views/AlarmTreeView.java
<ide> import java.util.HashMap;
<ide> import java.util.HashSet;
<ide> import java.util.Iterator;
<add>import java.util.List;
<ide> import java.util.Map;
<ide> import java.util.Set;
<ide>
<ide> import org... | |
Java | apache-2.0 | f0fe9bc574f85ab4e6431ec2f7eec76dbdfd2635 | 0 | mjanicek/rembulan,kroepke/luna | package net.sandius.rembulan.compiler.gen;
import net.sandius.rembulan.compiler.gen.block.AccountingNode;
import net.sandius.rembulan.compiler.gen.block.Capture;
import net.sandius.rembulan.compiler.gen.block.Entry;
import net.sandius.rembulan.compiler.gen.block.LineInfo;
import net.sandius.rembulan.compiler.gen.block... | rembulan-compiler/src/main/java/net/sandius/rembulan/compiler/gen/FlowIt.java | package net.sandius.rembulan.compiler.gen;
import net.sandius.rembulan.compiler.gen.block.AccountingNode;
import net.sandius.rembulan.compiler.gen.block.Capture;
import net.sandius.rembulan.compiler.gen.block.Entry;
import net.sandius.rembulan.compiler.gen.block.LineInfo;
import net.sandius.rembulan.compiler.gen.block... | Inserting resumption points after each accounting node.
| rembulan-compiler/src/main/java/net/sandius/rembulan/compiler/gen/FlowIt.java | Inserting resumption points after each accounting node. | <ide><path>embulan-compiler/src/main/java/net/sandius/rembulan/compiler/gen/FlowIt.java
<ide> // add capture nodes
<ide> insertCaptureNodes();
<ide>
<add> addResumptionPoints();
<add>
<ide> makeBlocks();
<ide>
<ide> updateReachability();
<ide> for (Node n : reachableNodes(entryPoints)) {
<ide> if (n ins... | |
Java | bsd-3-clause | 80006b420691e84cd0de0d1ca9a5c2019a6f52c3 | 0 | bdezonia/zorbage,bdezonia/zorbage | /*
* Zorbage: an algebraic data hierarchy for use in numeric processing.
*
* Copyright (C) 2016-2018 Barry DeZonia
*
* 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 ret... | src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestFloat64ComplexMatrixNorms.java | /*
* Zorbage: an algebraic data hierarchy for use in numeric processing.
*
* Copyright (C) 2016-2018 Barry DeZonia
*
* 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 ret... | Flesh out a couple tests
| src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestFloat64ComplexMatrixNorms.java | Flesh out a couple tests | <ide><path>rc/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestFloat64ComplexMatrixNorms.java
<ide> */
<ide> package nom.bdezonia.zorbage.type.data.float64.complex;
<ide>
<add>import static org.junit.Assert.assertEquals;
<ide> import static org.junit.Assert.assertTrue;
<ide>
<ide> import org.junit.Test;
... | |
Java | apache-2.0 | 6c3ac93538526a5505a6322dc893d3e19ed0623a | 0 | skptl/speech-android-sdk,jithsjoy/speech-android-sdk,watson-developer-cloud/speech-android-sdk | package com.ibm.cio.opus;
import com.ibm.cio.util.Logger;
public class OggOpus {
private static final String TAG = OggOpus.class.getSimpleName().toString();
public static native void initAudio();
public static native void startRecorder( int sample_rate);
public static native void stopRecorder();
p... | speech-android-wrapper/src/main/java/com/ibm/cio/opus/OggOpus.java | package com.ibm.cio.opus;
import com.ibm.cio.util.Logger;
public class OggOpus {
private static final String TAG = OggOpus.class.getSimpleName().toString();
public static native int decode( String s, String o, int srate );
static {
System.loadLibrary("oggopus");
Logger.e(TAG, "OggOpus li... | Adding native methods
| speech-android-wrapper/src/main/java/com/ibm/cio/opus/OggOpus.java | Adding native methods | <ide><path>peech-android-wrapper/src/main/java/com/ibm/cio/opus/OggOpus.java
<ide>
<ide> public class OggOpus {
<ide> private static final String TAG = OggOpus.class.getSimpleName().toString();
<del>
<del> public static native int decode( String s, String o, int srate );
<del>
<add> public static native void... | |
Java | apache-2.0 | 19fc4f2f2d47550b368281fce5deaea3545aa9a1 | 0 | apache/uima-sandbox,apache/uima-sandbox,apache/uima-sandbox | /*
* 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 ... | uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/PrimitiveAnalysisEngineController_impl.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 ... | UIMA-1223 synchronize use of UIMAFramework.produceAnalysisEngine because it is not thread safe.
git-svn-id: dd361d0afbe84f3eb97f7061549e905c2c5df34b@725312 13f79535-47bb-0310-9956-ffa450edef68
| uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/PrimitiveAnalysisEngineController_impl.java | UIMA-1223 synchronize use of UIMAFramework.produceAnalysisEngine because it is not thread safe. | <ide><path>ima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/controller/PrimitiveAnalysisEngineController_impl.java
<ide> throw new ResourceInitializationException(e);
<ide> }
<ide>
<del> AnalysisEngine ae = UIMAFramework.produceAnalysisEngine(rSpecifier, paramsMap);
<del> System.out.println(">>>>>... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.