lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | mit | 4600f50b5e9e98c34448e90369615a4641970c09 | 0 | 2014-Android-ITX4/RollingBALL,2014-Android-ITX4/RollingBALL | package com.example.rollingball.app;
import android.opengl.GLU;
import android.util.Log;
import com.hackoeur.jglm.Mat4;
import com.hackoeur.jglm.Matrices;
import com.hackoeur.jglm.Vec;
import com.hackoeur.jglm.Vec3;
import com.hackoeur.jglm.Vec4;
public class StageCamera extends Camera
{
// プレイヤーゲームオブジェクトを基準に方位角θ、... | app/src/main/java/com/example/rollingball/app/StageCamera.java | package com.example.rollingball.app;
import android.opengl.GLU;
import android.util.Log;
import com.hackoeur.jglm.Mat4;
import com.hackoeur.jglm.Matrices;
import com.hackoeur.jglm.Vec;
import com.hackoeur.jglm.Vec3;
import com.hackoeur.jglm.Vec4;
public class StageCamera extends Camera
{
// プレイヤーゲームオブジェクトを基準に方位角θ、... | コメント修正
| app/src/main/java/com/example/rollingball/app/StageCamera.java | コメント修正 | <ide><path>pp/src/main/java/com/example/rollingball/app/StageCamera.java
<ide> private void update_position()
<ide> {
<ide> // プレイヤーオブジェクトに対するカメラの位置差
<del> //*
<ide> final Vec3 delta_position = new Vec3
<ide> ( (float)Math.sin( _theta ) * (float)Math.cos( _phi )
<ide> , (float)Math.sin( _phi... | |
Java | apache-2.0 | ff31d571790b97cc9ddd1174b53f6f46307f71ad | 0 | 1haodian/eagle,yonzhang/incubator-eagle,haoch/incubator-eagle,haoch/incubator-eagle,yonzhang/incubator-eagle,anyway1021/incubator-eagle,haoch/Eagle,haoch/incubator-eagle,1haodian/eagle,haoch/incubator-eagle,qingwen220/eagle,haoch/Eagle,zombieJ/incubator-eagle,qingwen220/eagle,yonzhang/incubator-eagle,yonzhang/incubator... | /*
*
* * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* * this work for additional information regarding copyright ownership.
* * The ASF licenses this file to You under the Apache License, Version 2.0
* * (the "L... | eagle-security/eagle-security-maprfs-auditlog/src/main/java/org/apache/eagle/security/auditlog/MapRFSAuditLogParserBolt.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 "L... | [EAGLE-865] correcting logger class for MapRFSAuditLogParserBolt.java
Author: Jay <jhsonline@gmail.com>
Closes #777 from jhsenjaliya/EAGLE-865.
| eagle-security/eagle-security-maprfs-auditlog/src/main/java/org/apache/eagle/security/auditlog/MapRFSAuditLogParserBolt.java | [EAGLE-865] correcting logger class for MapRFSAuditLogParserBolt.java | <ide><path>agle-security/eagle-security-maprfs-auditlog/src/main/java/org/apache/eagle/security/auditlog/MapRFSAuditLogParserBolt.java
<ide> * Since 8/11/16.
<ide> */
<ide> public class MapRFSAuditLogParserBolt extends BaseRichBolt {
<del> private static Logger LOG = LoggerFactory.getLogger(HdfsAuditLogParserBolt.... | |
Java | apache-2.0 | a36a19b1cc994a57b5a5092b005dc1bffec635ad | 0 | vivosys/orientdb,vivosys/orientdb,nengxu/OrientDB,nengxu/OrientDB,vivosys/orientdb,nengxu/OrientDB,nengxu/OrientDB,vivosys/orientdb | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.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
... | core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/stream/OStreamSerializerAnyStreamable.java | /*
* Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.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
... | Implemented aliases on remote command in binary protocol as asked by Anton in ML:
- "q" for query (class com.orientechnologies.orient.core.sql.query.OSQLSynchQuery)
- "c" for sql command (class com.orientechnologies.orient.core.sql.OCommandSQL)
old mode is always supported.
git-svn-id: 9ddf022f45b579842a47abc018ed2b18... | core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/stream/OStreamSerializerAnyStreamable.java | Implemented aliases on remote command in binary protocol as asked by Anton in ML: - "q" for query (class com.orientechnologies.orient.core.sql.query.OSQLSynchQuery) - "c" for sql command (class com.orientechnologies.orient.core.sql.OCommandSQL) old mode is always supported. | <ide><path>ore/src/main/java/com/orientechnologies/orient/core/serialization/serializer/stream/OStreamSerializerAnyStreamable.java
<ide> import com.orientechnologies.orient.core.exception.OSerializationException;
<ide> import com.orientechnologies.orient.core.serialization.OBinaryProtocol;
<ide> import com.orientechnol... | |
Java | apache-2.0 | f97bf36ef9384d66e6186c6244251e7d7a912be2 | 0 | b-cuts/android-maven-plugin,ashutoshbhide/android-maven-plugin,jdegroot/android-maven-plugin,Cha0sX/android-maven-plugin,simpligility/android-maven-plugin,kedzie/maven-android-plugin,Stuey86/android-maven-plugin,mitchhentges/android-maven-plugin,repanda/android-maven-plugin,xieningtao/android-maven-plugin,hgl888/androi... | /*******************************************************************************
* Copyright (c) 2008, 2011 Sonatype Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and ... | src/main/java/com/jayway/maven/plugins/android/common/UnpackedLibHelper.java | /*******************************************************************************
* Copyright (c) 2008, 2011 Sonatype Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and ... | use the maven "project.build.directory" instead of hardcode "target"
| src/main/java/com/jayway/maven/plugins/android/common/UnpackedLibHelper.java | use the maven "project.build.directory" instead of hardcode "target" | <ide><path>rc/main/java/com/jayway/maven/plugins/android/common/UnpackedLibHelper.java
<ide> public UnpackedLibHelper( ArtifactResolverHelper artifactResolverHelper, MavenProject project, Logger log )
<ide> {
<ide> this.artifactResolverHelper = artifactResolverHelper;
<del> final File targetFolde... | |
Java | mit | b1efad440a30ae08fa7bc27b9af561c3f3ac6fd6 | 0 | ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage | package com.github.onsdigital.data;
import com.github.onsdigital.content.DirectoryListing;
import com.github.onsdigital.content.page.base.Page;
import com.github.onsdigital.content.service.ContentNotFoundException;
import com.github.onsdigital.content.util.ContentUtil;
import com.github.onsdigital.data.zebedee.Zebedee... | src/main/java/com/github/onsdigital/data/DataService.java | package com.github.onsdigital.data;
import com.github.onsdigital.content.DirectoryListing;
import com.github.onsdigital.content.page.base.Page;
import com.github.onsdigital.content.service.ContentNotFoundException;
import com.github.onsdigital.content.util.ContentUtil;
import com.github.onsdigital.data.zebedee.Zebedee... | Fix previous releases page. Read directory contents from zebedee if its a zebedee request else read from local file system.
| src/main/java/com/github/onsdigital/data/DataService.java | Fix previous releases page. Read directory contents from zebedee if its a zebedee request else read from local file system. | <ide><path>rc/main/java/com/github/onsdigital/data/DataService.java
<ide> import com.github.onsdigital.content.page.base.Page;
<ide> import com.github.onsdigital.content.service.ContentNotFoundException;
<ide> import com.github.onsdigital.content.util.ContentUtil;
<del>import com.github.onsdigital.data.zebedee.ZebedeeC... | |
Java | mit | 445750416e8175acbe6fe0159d59eb0402d77281 | 0 | johanbrook/watchme | package se.chalmers.watchmetest.database;
import junit.framework.Assert;
import se.chalmers.watchme.database.HasTagTable;
import se.chalmers.watchme.database.MoviesTable;
import se.chalmers.watchme.database.TagsTable;
import se.chalmers.watchme.database.WatchMeContentProvider;
import android.content.ContentResolver;
i... | WatchMeTest/src/se/chalmers/watchmetest/database/WatchMeContentProviderTest.java | package se.chalmers.watchmetest.database;
import junit.framework.Assert;
import se.chalmers.watchme.database.HasTagTable;
import se.chalmers.watchme.database.MoviesTable;
import se.chalmers.watchme.database.TagsTable;
import se.chalmers.watchme.database.WatchMeContentProvider;
import android.content.ContentResolver;
i... | Implemented fully tests for CP: delete
| WatchMeTest/src/se/chalmers/watchmetest/database/WatchMeContentProviderTest.java | Implemented fully tests for CP: delete | <ide><path>atchMeTest/src/se/chalmers/watchmetest/database/WatchMeContentProviderTest.java
<ide> catch(IllegalArgumentException e) {}
<ide>
<ide> try {
<del> contentResolver.query(uri_invalid, null, null, null, null);
<del> Assert.fail("query: Should have thrown IllegalArgumentException");
<add> Cursor c =... | |
Java | apache-2.0 | ff0c24ac793edbabb6c242e83968e0b916006ed9 | 0 | recommenders/rival,recommenders/rival | package net.recommenders.evaluation.strategy;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintStream;
import java.lang.reflect.InvocationTargetException;
import java.util... | src/main/java/net/recommenders/evaluation/strategy/StrategyRunner.java | package net.recommenders.evaluation.strategy;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintStream;
import java.lang.reflect.InvocationTargetException;
import java.util... | Allow MyMediaLite format as recommendation input
| src/main/java/net/recommenders/evaluation/strategy/StrategyRunner.java | Allow MyMediaLite format as recommendation input | <ide><path>rc/main/java/net/recommenders/evaluation/strategy/StrategyRunner.java
<ide> public static final String TRAINING_FILE = "split.training.file";
<ide> public static final String TEST_FILE = "split.test.file";
<ide> public static final String INPUT_FILE = "recommendation.file";
<add> public static... | |
JavaScript | mpl-2.0 | 895ae1a9653d9ee638ff03678341cf12905058f7 | 0 | mozilla/thimble.mozilla.org,mozilla/thimble.mozilla.org,humphd/thimble.mozilla.org,humphd/thimble.mozilla.org,humphd/thimble.mozilla.org,mozilla/thimble.mozilla.org,mozilla/thimble.mozilla.org,humphd/thimble.mozilla.org | /**
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, user = require('./routes/user')
, http = require('http')
, path = require('path')
, ajax = require('request')
, sanitize = require('htmlsanitizer');
var app = express();
// all environments
app.set('port', p... | app.js | /**
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, user = require('./routes/user')
, http = require('http')
, path = require('path')
, ajax = require('request')
, sanitize = require('htmlsanitizer');
var app = express();
// all environments
app.set('port', p... | added allowed tags and attributes.
| app.js | added allowed tags and attributes. | <ide><path>pp.js
<ide> response.end();
<ide> });
<ide>
<add>var
<add>
<add>ALLOWED_TAGS = [
<add> "!doctype", "html", "body", "a", "abbr", "address", "area", "article",
<add> "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br",
<add> "button", "canvas", "caption", "cite", "code", "col", ... | |
JavaScript | mit | 9a1287bea008fd2d76eb809595c4e6e47ffc231b | 0 | GerHobbelt/cssrule.js,Orange-OpenSource/cssrule.js,GerHobbelt/cssrule.js | /*!
* Copyright 2011 France Télécom
* This software is distributed under the terms of either the MIT
* License or the GNU General Public License (GPL) Version 2.
* See GPL-LICENSE.txt and MIT-LICENSE.txt files for more details.
*/
/* cssrule.js
* Version : 1
*
* Authors: Julien Wajsberg <julien.wajsberg@oran... | lib.cssrule.js | /*!
* Copyright 2011 France Télécom
* This software is distributed under the terms of either the MIT
* License or the GNU General Public License (GPL) Version 2 or later.
* See GPL-LICENSE.txt and MIT-LICENSE.txt files for more details.
*/
/* cssrule.js
* Version : 1
*
* Authors: Julien Wajsberg <julien.wajs... | replace GPL2 or later by GPL2 only (but still MIT)
| lib.cssrule.js | replace GPL2 or later by GPL2 only (but still MIT) | <ide><path>ib.cssrule.js
<ide> /*!
<ide> * Copyright 2011 France Télécom
<ide> * This software is distributed under the terms of either the MIT
<del> * License or the GNU General Public License (GPL) Version 2 or later.
<add> * License or the GNU General Public License (GPL) Version 2.
<ide> * See GPL-LICENSE.txt an... | |
Java | lgpl-2.1 | 0cd55f0559386c016342ccc2751cc4688c3b5992 | 0 | SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer | /*
* EventFilter2D.java
*
* Created on November 9, 2005, 8:49 AM
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package net... | src/net/sf/jaer/eventprocessing/EventFilter2D.java | /*
* EventFilter2D.java
*
* Created on November 9, 2005, 8:49 AM
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package net... | hopefully improved javadoc for checkOutputPacketEventType:
/** Checks <code>out</code> packet to make sure it holds the same type of events as the given class.
* This method is used for filters that must pass output
that has a particular output type. This method does not ensure that the output packet i... | src/net/sf/jaer/eventprocessing/EventFilter2D.java | hopefully improved javadoc for checkOutputPacketEventType: | <ide><path>rc/net/sf/jaer/eventprocessing/EventFilter2D.java
<ide> /** Checks <code>out</code> packet to make sure it holds the same type of events as the given class.
<ide> * This method is used for filters that must pass output
<ide> that has a particular output type. This method does not ensure that ... | |
Java | lgpl-2.1 | ee9a81512f9bd8690c70b7a80517be455dc15477 | 0 | threerings/nenya,threerings/nenya | //
// Nenya library - tools for developing networked games
// Copyright (C) 2002-2012 Three Rings Design, Inc., All Rights Reserved
// http://code.google.com/p/nenya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published
//... | core/src/main/java/com/threerings/media/sound/SoundLoader.java | //
// Nenya library - tools for developing networked games
// Copyright (C) 2002-2012 Three Rings Design, Inc., All Rights Reserved
// http://code.google.com/p/nenya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published
//... | Fix deprecation warning with move to new samskivert library.
| core/src/main/java/com/threerings/media/sound/SoundLoader.java | Fix deprecation warning with move to new samskivert library. | <ide><path>ore/src/main/java/com/threerings/media/sound/SoundLoader.java
<ide> {
<ide> Config c = _configs.get(packagePath);
<ide> if (c == null) {
<del> String propPath = packagePath + Sounds.PROP_NAME;
<ide> Properties props = new Properties();
<add> String propFi... | |
JavaScript | mit | b5280ee9bc10b6362f56cf9f363d9cc1fcf6aae7 | 0 | GreasyBacon/spotifytestapp,GreasyBacon/spotifytestapp | var createPlaylist = function(userId, accessToken, playlistName) {
$.ajax({
url: 'https://api.spotify.com/v1/users/' + userId + '/playlists',
method: 'POST',
headers: {
'Authorization': 'Bearer ' + accessToken
},
data: JSON.stringify({ 'name': playlistName, 'public': true}),
contentType: "application/... | public/js/merge.js | var createPlaylist = function(userId, accessToken, playlistName) {
$.ajax({
url: 'https://api.spotify.com/v1/users/' + userId + '/playlists',
method: 'POST',
headers: {
'Authorization': 'Bearer ' + accessToken
},
data: JSON.stringify({ 'name': playlistName, 'public': true}),
contentType: "application/... | Implemented getPlaylistTracks function.
| public/js/merge.js | Implemented getPlaylistTracks function. | <ide><path>ublic/js/merge.js
<ide> contentType: "application/json; charset=utf-8",
<ide> dataType: "json",
<ide> success: function(response){
<del> return response;
<add> return response['id'];
<ide> },
<ide> error: function(){
<ide>
<ide>
<ide> };
<ide>
<del>var getPlaylistTracks = function(userId... | |
JavaScript | apache-2.0 | 6a0acebd112d9a5a3b942bf2e83706e1a4789046 | 0 | entrylabs/entryjs,entrylabs/entryjs,entrylabs/entryjs | /**
* nt11576 Lee.Jaewon
* commented area with "motion test" is for the motion detection testing canvas to test the cv, uncomment all codes labeled "motion test"
*/
import { GEHelper } from '../graphicEngine/GEHelper';
import VideoWorker from './workers/video.worker';
import clamp from 'lodash/clamp';
// webcam inp... | src/util/videoUtils.js | /**
* nt11576 Lee.Jaewon
* commented area with "motion test" is for the motion detection testing canvas to test the cv, uncomment all codes labeled "motion test"
*/
import { GEHelper } from '../graphicEngine/GEHelper';
import VideoWorker from './workers/video.worker';
import clamp from 'lodash/clamp';
// webcam inp... | 화면 움직임 감지 개선
| src/util/videoUtils.js | 화면 움직임 감지 개선 | <ide><path>rc/util/videoUtils.js
<ide> // ** MOTION DETECTION
<ide> // motion detection parameters
<ide> const SAMPLE_SIZE = 15;
<add>const BOUNDARY_OFFSET = 4;
<add>const SAME_COORDINATE_COMPENSATION = 10;
<ide>
<ide> const worker = new VideoWorker();
<ide>
<ide> const xLength = this.motions[0].lengt... | |
Java | apache-2.0 | 752062c1a381f901f51c3e03ec63ead34ed2c636 | 0 | debezium/debezium,debezium/debezium,debezium/debezium,debezium/debezium | /*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.connector.mongodb;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
im... | debezium-connector-mongodb/src/main/java/io/debezium/connector/mongodb/MongoClients.java | /*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.connector.mongodb;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
i... | DBZ-4733 Fixed thread safety of MongoClients
| debezium-connector-mongodb/src/main/java/io/debezium/connector/mongodb/MongoClients.java | DBZ-4733 Fixed thread safety of MongoClients | <ide><path>ebezium-connector-mongodb/src/main/java/io/debezium/connector/mongodb/MongoClients.java
<ide> import java.util.List;
<ide> import java.util.Map;
<ide> import java.util.concurrent.ConcurrentHashMap;
<add>import java.util.function.Supplier;
<ide>
<ide> import com.mongodb.MongoClientSettings;
<ide> import com.... | |
Java | bsd-2-clause | 386049012e21e82619bf13fdd56f780ab60a2445 | 0 | highsource/maven-jaxb2-plugin,highsource/maven-jaxb2-plugin | package org.jvnet.jaxb2.maven2;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import org.jvnet.jaxb2.maven2.util.IOUtils;
import org.xml.sax.EntityResolve... | plugin-core/src/main/java/org/jvnet/jaxb2/maven2/OptionsConfiguration.java | package org.jvnet.jaxb2.maven2;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import org.jvnet.jaxb2.maven2.util.IOUtils;
import org.xml.sax.EntityResolve... | Issue #23. Added hasCatalogs() method to check if catalogs are set. | plugin-core/src/main/java/org/jvnet/jaxb2/maven2/OptionsConfiguration.java | Issue #23. Added hasCatalogs() method to check if catalogs are set. | <ide><path>lugin-core/src/main/java/org/jvnet/jaxb2/maven2/OptionsConfiguration.java
<ide> }
<ide> return inputSources;
<ide> }
<add>
<add> public boolean hasCatalogs()
<add> {
<add> return !this.catalogs.isEmpty();
<add> }
<ide>
<ide> public List<URI> getCatalogs() {
<ide> final CatalogResolver resolver = g... | |
Java | mit | cf75e0581d15c1d33f8625a637ea1df77f6004bc | 0 | dlcs/elucidate-server | package com.digirati.elucidate.infrastructure.security.impl;
import com.digirati.elucidate.infrastructure.security.UserSecurityDetails;
import com.digirati.elucidate.infrastructure.security.UserSecurityDetailsLoader;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map... | elucidate-server/src/main/java/com/digirati/elucidate/infrastructure/security/impl/JwtUserAuthenticationConverter.java | package com.digirati.elucidate.infrastructure.security.impl;
import com.digirati.elucidate.infrastructure.security.UserSecurityDetails;
import com.digirati.elucidate.infrastructure.security.UserSecurityDetailsLoader;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.spr... | Fix decoding of admin authorities from access tokens
| elucidate-server/src/main/java/com/digirati/elucidate/infrastructure/security/impl/JwtUserAuthenticationConverter.java | Fix decoding of admin authorities from access tokens | <ide><path>lucidate-server/src/main/java/com/digirati/elucidate/infrastructure/security/impl/JwtUserAuthenticationConverter.java
<ide>
<ide> import com.digirati.elucidate.infrastructure.security.UserSecurityDetails;
<ide> import com.digirati.elucidate.infrastructure.security.UserSecurityDetailsLoader;
<del>import org.... | |
Java | apache-2.0 | db5665e3f6b179f94ddc2e6dcbc34d2efb422941 | 0 | jagguli/intellij-community,caot/intellij-community,ol-loginov/intellij-community,caot/intellij-community,semonte/intellij-community,alphafoobar/intellij-community,ibinti/intellij-community,holmes/intellij-community,gnuhub/intellij-community,michaelgallacher/intellij-community,fnouama/intellij-community,caot/intellij-co... | /*
* 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... | platform/platform-impl/src/com/intellij/ide/util/GotoLineNumberDialog.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... | IDEA-90323 Navigate/Line command (Go To Line) dialog should show the current line
| platform/platform-impl/src/com/intellij/ide/util/GotoLineNumberDialog.java | IDEA-90323 Navigate/Line command (Go To Line) dialog should show the current line | <ide><path>latform/platform-impl/src/com/intellij/ide/util/GotoLineNumberDialog.java
<ide> myField = new MyTextField();
<ide> panel.add(myField, gbConstraints);
<ide> myField.setToolTipText(IdeBundle.message("tooltip.syntax.linenumber.columnnumber"));
<add> LogicalPosition position = myEditor.getCaretMod... | |
Java | apache-2.0 | fc0d7696859ae91d921b9cb23b1c5fbbed4ecff8 | 0 | vbekiaris/liquibase,fossamagna/liquibase,dprguard2000/liquibase,lazaronixon/liquibase,EVODelavega/liquibase,mortegac/liquibase,dyk/liquibase,C0mmi3/liquibase,liquibase/liquibase,dyk/liquibase,Datical/liquibase,lazaronixon/liquibase,OpenCST/liquibase,pellcorp/liquibase,pellcorp/liquibase,FreshGrade/liquibase,syncron/liq... | package liquibase.datatype.core;
import liquibase.configuration.GlobalConfiguration;
import liquibase.configuration.LiquibaseConfiguration;
import liquibase.database.Database;
import liquibase.database.core.MSSQLDatabase;
import liquibase.database.core.MySQLDatabase;
import liquibase.datatype.DataTypeInfo;
import liqu... | liquibase-core/src/main/java/liquibase/datatype/core/TimestampType.java | package liquibase.datatype.core;
import liquibase.configuration.GlobalConfiguration;
import liquibase.configuration.LiquibaseConfiguration;
import liquibase.database.Database;
import liquibase.database.core.MSSQLDatabase;
import liquibase.database.core.MySQLDatabase;
import liquibase.datatype.DataTypeInfo;
import liqu... | CORE-2401 MSSQL handling timestamp according to sql standard, not sqlserver usage
(cherry picked from commit b7d1f44)
| liquibase-core/src/main/java/liquibase/datatype/core/TimestampType.java | CORE-2401 MSSQL handling timestamp according to sql standard, not sqlserver usage (cherry picked from commit b7d1f44) | <ide><path>iquibase-core/src/main/java/liquibase/datatype/core/TimestampType.java
<ide> import liquibase.datatype.DataTypeInfo;
<ide> import liquibase.datatype.DatabaseDataType;
<ide> import liquibase.datatype.LiquibaseDataType;
<add>import liquibase.util.StringUtils;
<ide>
<ide> @DataTypeInfo(name = "timestamp", alia... | |
Java | mit | error: pathspec 'Jenga/Jenga.java' did not match any file(s) known to git
| 303238ea0fc61d8a18e2ce959865b5b88fb798a6 | 1 | MarsCapone/game-data-structures,MarsCapone/game-data-structures | import java.util.ArrayList;
import java.util.Random;
public class Jenga<E> {
int stability = 100;
ArrayList<Layer<E>> layers = new ArrayList<Layer<E>>();
int layerCount = 0;
int removedBlocks = 0;
public Jenga() {
}
public boolean add(E e) {
return true;
}
public boolea... | Jenga/Jenga.java | add layers and blocks and errors to the java jenga structure
| Jenga/Jenga.java | add layers and blocks and errors to the java jenga structure | <ide><path>enga/Jenga.java
<add>import java.util.ArrayList;
<add>import java.util.Random;
<add>
<add>public class Jenga<E> {
<add>
<add> int stability = 100;
<add> ArrayList<Layer<E>> layers = new ArrayList<Layer<E>>();
<add> int layerCount = 0;
<add> int removedBlocks = 0;
<add>
<add> public Jenga() {
<... | |
Java | apache-2.0 | 634fdd8629045c4767a391c205bf233350aa76c1 | 0 | msgpack/msgpack-java,msgpack/msgpack-java,xuwei-k/msgpack-java,xuwei-k/msgpack-java | //
// MessagePack for Java
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java | //
// MessagePack for Java
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 0xC1 NEVER_USED always throws MessageNeverUsedFormatException regardless of context rather than MessageTypeException or MessageFormatException depending on context
| msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java | 0xC1 NEVER_USED always throws MessageNeverUsedFormatException regardless of context rather than MessageTypeException or MessageFormatException depending on context | <ide><path>sgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java
<ide> remainingValues += readNextLength32() * 2; // TODO check int overflow
<ide> break;
<ide> case NEVER_USED:
<del> throw new MessageFormatException(String.format("unkn... | |
Java | apache-2.0 | 87f43c63c35507d52debfe0e142b30bb988dde35 | 0 | OpenNTF/XPagesToolkit,OpenNTF/XPagesToolkit,OpenNTF/XPagesToolkit | /**
* Copyright 2013, WebGate Consulting AG
*
* 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... | org.openntf.xpt.core/src/org/openntf/xpt/core/dss/binding/embedded/EmbeddedObjectBinder.java | /**
* Copyright 2013, WebGate Consulting AG
*
* 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... | Making Embedded Loading better
| org.openntf.xpt.core/src/org/openntf/xpt/core/dss/binding/embedded/EmbeddedObjectBinder.java | Making Embedded Loading better | <ide><path>rg.openntf.xpt.core/src/org/openntf/xpt/core/dss/binding/embedded/EmbeddedObjectBinder.java
<ide>
<ide> public class EmbeddedObjectBinder implements IBinder<Object> {
<ide>
<del> private final static EmbeddedObjectBinder m_Binder = new EmbeddedObjectBinder();
<add> private static final EmbeddedObjectBinde... | |
Java | apache-2.0 | 7d097ab7cad033c37a50092227d5e8317e022d51 | 0 | palantir/eclipse-typescript,BlacKCaT27/eclipse-typescript,palantir/eclipse-typescript,lgrignon/eclipse-typescript,BlacKCaT27/eclipse-typescript,amergey/eclipse-typescript,lgrignon/eclipse-typescript,lgrignon/eclipse-typescript,amergey/eclipse-typescript,BlacKCaT27/eclipse-typescript,palantir/eclipse-typescript,BlacKCaT... | /*
* Copyright 2013 Palantir Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | com.palantir.typescript/src/com/palantir/typescript/TypeScriptPlugin.java | /*
* Copyright 2013 Palantir Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | Fixes #154 Lazily start NodeJS processes
* besides being more efficient, this allows access to the workspace
properties when the NodeJS path is incorrect | com.palantir.typescript/src/com/palantir/typescript/TypeScriptPlugin.java | Fixes #154 Lazily start NodeJS processes | <ide><path>om.palantir.typescript/src/com/palantir/typescript/TypeScriptPlugin.java
<ide>
<ide> PLUGIN = this;
<ide>
<del> this.builderLanguageEndpoint = new LanguageEndpoint();
<del> this.classifier = new Classifier();
<del> this.editorLanguageEndpoint = new LanguageEndpoint();
<del> ... | |
JavaScript | lgpl-2.1 | 36320e55b18e1170fa5ff50b6333971ca0078524 | 0 | tikiorg/tiki,changi67/tiki,tikiorg/tiki,tikiorg/tiki,oregional/tiki,oregional/tiki,tikiorg/tiki,oregional/tiki,changi67/tiki,oregional/tiki,changi67/tiki,changi67/tiki,changi67/tiki | (function ($) {
/**
* One executor is created for each object containing inline fields.
* When the field is modified, the executor is triggered.
*
* As a delayed executor, a period of grace is given for the field to
* be corrected or other fields to be modified. Each modification resets
* the counter.
*... | lib/jquery_tiki/inline_edit.js | (function ($) {
/**
* One executor is created for each object containing inline fields.
* When the field is modified, the executor is triggered.
*
* As a delayed executor, a period of grace is given for the field to
* be corrected or other fields to be modified. Each modification resets
* the counter.
*... | [FIX] inline edit: Show the rendered output of the field after it's been saved
git-svn-id: bf8acf6ea2e0c2f171d9237652733ab0075b5b4c@45973 b456876b-0849-0410-b77d-98878d47e9d5
| lib/jquery_tiki/inline_edit.js | [FIX] inline edit: Show the rendered output of the field after it's been saved | <ide><path>ib/jquery_tiki/inline_edit.js
<ide>
<ide> $.post(url, parts.join('&'), 'json')
<ide> .success(function () {
<del> $(containers).removeClass('modified').removeClass('unsaved');
<add> $(containers).
<add> removeClass('modified').
<add> removeClass('unsaved').
<add> each( function... | |
Java | apache-2.0 | 5a6792e70242851e77fc3d3c6e75b625b7afc0e0 | 0 | researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds | package won.protocol.util;
import org.apache.jena.datatypes.xsd.XSDDatatype;
import org.apache.jena.query.*;
import org.apache.jena.rdf.model.*;
import org.apache.jena.rdf.model.impl.PropertyImpl;
import org.apache.jena.rdf.model.impl.ResourceImpl;
import org.apache.jena.riot.Lang;
import org.apache.jena.sparql.path.P... | webofneeds/won-core/src/main/java/won/protocol/util/WonRdfUtils.java | package won.protocol.util;
import org.apache.jena.datatypes.xsd.XSDDatatype;
import org.apache.jena.query.*;
import org.apache.jena.rdf.model.*;
import org.apache.jena.rdf.model.impl.PropertyImpl;
import org.apache.jena.rdf.model.impl.ResourceImpl;
import org.apache.jena.riot.Lang;
import org.apache.jena.sparql.path.P... | Improve text message retrieval
getTextMessage now handles up to 3 forwards.
| webofneeds/won-core/src/main/java/won/protocol/util/WonRdfUtils.java | Improve text message retrieval | <ide><path>ebofneeds/won-core/src/main/java/won/protocol/util/WonRdfUtils.java
<ide> import org.apache.jena.riot.Lang;
<ide> import org.apache.jena.sparql.path.Path;
<ide> import org.apache.jena.sparql.path.PathParser;
<add>import org.apache.jena.tdb.TDB;
<ide> import org.apache.jena.vocabulary.RDF;
<ide> import org.sl... | |
JavaScript | mit | 0b2a28590d8b71cf7ad7eafa1aed849988e41099 | 0 | quirkycorgi/Agamari,quirkycorgi/Agamari | import store from '../store';
import {launch , launchReady, buildUp } from '../reducers/abilities';
import { scene } from './main';
const THREE = require('three');
const CANNON = require('../../public/cannon.min.js');
THREE.PlayerControls = function ( camera, player, cannonMesh, raycastReference , id) {
this.domElem... | browser/game/PlayerControls.js | import store from '../store';
import {launch , launchReady, buildUp } from '../reducers/abilities';
import { scene } from './main';
const THREE = require('three');
const CANNON = require('../../public/cannon.min.js');
THREE.PlayerControls = function ( camera, player, cannonMesh, raycastReference , id) {
this.domElem... | logarithmic launch charge replaces linear launch charge
| browser/game/PlayerControls.js | logarithmic launch charge replaces linear launch charge | <ide><path>rowser/game/PlayerControls.js
<ide>
<ide> this.speedMult = 1;
<ide> this.launchMult = 1;
<del>
<add> this.i = 1;
<ide> // helpful dev tool, yo
<ide> // var geometry = new THREE.BoxGeometry( 30,3,2 );
<ide> // var material = new THREE.MeshPhongMaterial({
<ide> //cameraReferenceOrientation.copy(cam... | |
Java | lgpl-2.1 | b1eab87a2f1f9bc95f5f91db0b676011f36321c9 | 0 | 4ment/beast-mcmc,beast-dev/beast-mcmc,beast-dev/beast-mcmc,adamallo/beast-mcmc,4ment/beast-mcmc,adamallo/beast-mcmc,4ment/beast-mcmc,4ment/beast-mcmc,maxbiostat/beast-mcmc,adamallo/beast-mcmc,beast-dev/beast-mcmc,beast-dev/beast-mcmc,beast-dev/beast-mcmc,4ment/beast-mcmc,adamallo/beast-mcmc,adamallo/beast-mcmc,maxbiost... | /*
* PartitionParser.java
*
* Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it a... | src/dr/app/beagle/tools/parsers/PartitionParser.java | /*
* PartitionParser.java
*
* Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it a... | Change to avoid diamond operator
| src/dr/app/beagle/tools/parsers/PartitionParser.java | Change to avoid diamond operator | <ide><path>rc/dr/app/beagle/tools/parsers/PartitionParser.java
<ide>
<ide> FrequencyModel freqModel;
<ide>
<del> List<FrequencyModel> freqModels = new ArrayList<>();
<add> List<FrequencyModel> freqModels = new ArrayList<FrequencyModel>();
<ide> for (int i = 0; i < xo.getChildCount(); i++) {
<ide> Object cxo ... | |
Java | apache-2.0 | 3503f575a771a306870472050ff77a3597a45225 | 0 | kylycht/concourse,cinchapi/concourse,remiemalik/concourse,vrnithinkumar/concourse,vrnithinkumar/concourse,kylycht/concourse,hcuffy/concourse,dubex/concourse,dubex/concourse,remiemalik/concourse,remiemalik/concourse,vrnithinkumar/concourse,dubex/concourse,hcuffy/concourse,JerJohn15/concourse,cinchapi/concourse,JerJohn15... | /*
* Copyright (c) 2015 Cinchapi, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | concourse-ete-test-core/src/main/java/com/cinchapi/concourse/server/ManagedConcourseServer.java | /*
* Copyright (c) 2015 Cinchapi, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | make method signature in ReflectiveClient match that defined in Concourse.java
| concourse-ete-test-core/src/main/java/com/cinchapi/concourse/server/ManagedConcourseServer.java | make method signature in ReflectiveClient match that defined in Concourse.java | <ide><path>oncourse-ete-test-core/src/main/java/com/cinchapi/concourse/server/ManagedConcourseServer.java
<ide> }
<ide>
<ide> @Override
<del> public Map<Long, Boolean> add(String key, Object value,
<add> public <T> Map<Long, Boolean> add(String key, T value,
<ide> Collecti... | |
Java | mit | 5595894992b188251a7e132724863532b0e24a2e | 0 | 4pr0n/ripme,sleaze/ripme,rephormat/ripme,rephormat/ripme,metaprime/ripme,4pr0n/ripme,sleaze/ripme,rephormat/ripme,sleaze/ripme,metaprime/ripme,metaprime/ripme | package com.rarchives.ripme.ripper.rippers;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.nodes.Document;
import org.js... | src/main/java/com/rarchives/ripme/ripper/rippers/CheveretoRipper.java | package com.rarchives.ripme.ripper.rippers;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.nodes.Document;
import org.js... | removed none working site
| src/main/java/com/rarchives/ripme/ripper/rippers/CheveretoRipper.java | removed none working site | <ide><path>rc/main/java/com/rarchives/ripme/ripper/rippers/CheveretoRipper.java
<ide> super(url);
<ide> }
<ide>
<del> public static List<String> explicit_domains_1 = Arrays.asList("www.ezphotoshare.com", "hushpix.com");
<add> public static List<String> explicit_domains_1 = Arrays.asList("hushpix.com");
<... | |
Java | mit | 9770fc940c61348ef0e9fbba8287f04e71e6a676 | 0 | leifhka/Qure | package no.uio.ifi.qure.spaces;
import no.uio.ifi.qure.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.HashSet;
import com.vividsolutions.jts.io.WKBWriter;
import com.vividsolutions.jts.geom.Envelope;
import com.vividsolutions.jts.geom.Geometry;
import com.vividsolutions.... | src/no/uio/ifi/qure/spaces/GeometrySpace.java | package no.uio.ifi.qure.spaces;
import no.uio.ifi.qure.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.HashSet;
import com.vividsolutions.jts.io.WKBWriter;
import com.vividsolutions.jts.geom.Envelope;
import com.vividsolutions.jts.geom.Geometry;
import com.vividsolutions.... | Added TODO.
| src/no/uio/ifi/qure/spaces/GeometrySpace.java | Added TODO. | <ide><path>rc/no/uio/ifi/qure/spaces/GeometrySpace.java
<ide> } else if ((role & BOUNDARY) == role) {
<ide> return new GeometrySpace(geo.getBoundary());
<ide> } else if ((role & INTERIOR) == role) {
<add> // TODO: Fix this, does not work as geo.equals(geo.difference(geo.getBoundary()))
<ide> return new Geom... | |
Java | apache-2.0 | 76b9860e096dc0a60fe7e0f52de215088abdbda9 | 0 | ndew623/k-9,k9mail/k-9,dgger/k-9,cketti/k-9,philipwhiuk/q-mail,cketti/k-9,ndew623/k-9,philipwhiuk/q-mail,CodingRmy/k-9,cketti/k-9,mawiegand/k-9,philipwhiuk/k-9,roscrazy/k-9,mawiegand/k-9,cketti/k-9,philipwhiuk/q-mail,jca02266/k-9,rishabhbitsg/k-9,vatsalsura/k-9,ndew623/k-9,CodingRmy/k-9,jca02266/k-9,mawiegand/k-9,phili... | /*
* Copyright 2012 Jay Weisskopf
*
* Licensed under the MIT License (see LICENSE.txt)
*
* 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 limitati... | k9mail/src/main/java/com/fsck/k9/activity/setup/SliderPreference.java | /*
* Copyright 2012 Jay Weisskopf
*
* Licensed under the MIT License (see LICENSE.txt)
*
* 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 limitati... | SliderPreference - Fix lint warning
| k9mail/src/main/java/com/fsck/k9/activity/setup/SliderPreference.java | SliderPreference - Fix lint warning | <ide><path>9mail/src/main/java/com/fsck/k9/activity/setup/SliderPreference.java
<ide> import android.os.Bundle;
<ide> import android.os.Parcelable;
<ide> import android.preference.DialogPreference;
<add>import android.support.annotation.ArrayRes;
<add>import android.support.annotation.StringRes;
<ide> import android.ut... | |
JavaScript | mit | 00fbed1a53c9bc597de2c6a3bf94a26bc7fc7ac8 | 0 | wavesplatform/WavesGUI,wavesplatform/WavesGUI,wavesplatform/WavesGUI,wavesplatform/WavesGUI | /* eslint-disable no-console */
(function () {
'use strict';
const DISABLED_FEATURES = [
'header_screenshot',
'header_symbol_search',
'symbol_search_hot_key',
'display_market_status',
'control_bar',
'timeframes_toolbar',
'volume_force_overlay'
];
... | src/modules/dex/directives/dexCandleChart/DexCandleChart.js | /* eslint-disable no-console */
(function () {
'use strict';
const DISABLED_FEATURES = [
'header_screenshot',
'header_symbol_search',
'symbol_search_hot_key',
'display_market_status',
'control_bar',
'timeframes_toolbar',
'volume_force_overlay'
];
... | CLIENT-1722: fix remap language
| src/modules/dex/directives/dexCandleChart/DexCandleChart.js | CLIENT-1722: fix remap language | <ide><path>rc/modules/dex/directives/dexCandleChart/DexCandleChart.js
<ide> * @private
<ide> */
<ide> this.candle = user.getSetting('candle');
<del>
<ide> this.observe('_assetIdPair', this._onChangeAssetPair);
<ide> this.observe('theme', ... | |
Java | apache-2.0 | 3c1d3871a64dbb04daaa5301ac4e02aa165ef715 | 0 | cloudsoft/brooklyn-tosca,SeaCloudsEU/brooklyn-tosca,cloudsoft/brooklyn-tosca,SeaCloudsEU/brooklyn-tosca,SeaCloudsEU/brooklyn-tosca,cloudsoft/brooklyn-tosca,kiuby88/brooklyn-tosca,kiuby88/brooklyn-tosca,kiuby88/brooklyn-tosca | package org.apache.brooklyn.tosca.a4c.brooklyn;
import java.util.Map;
import org.apache.brooklyn.api.catalog.BrooklynCatalog;
import org.apache.brooklyn.api.catalog.CatalogItem;
import org.apache.brooklyn.api.entity.Entity;
import org.apache.brooklyn.api.entity.EntitySpec;
import org.apache.brooklyn.api.mgmt.Manageme... | src/main/javac/org/apache/brooklyn/tosca/a4c/brooklyn/ToscaNodeToEntityConverter.java | package org.apache.brooklyn.tosca.a4c.brooklyn;
import java.util.Map;
import org.apache.brooklyn.api.catalog.BrooklynCatalog;
import org.apache.brooklyn.api.catalog.CatalogItem;
import org.apache.brooklyn.api.entity.Entity;
import org.apache.brooklyn.api.entity.EntitySpec;
import org.apache.brooklyn.api.mgmt.Manageme... | Addresses PR comments
| src/main/javac/org/apache/brooklyn/tosca/a4c/brooklyn/ToscaNodeToEntityConverter.java | Addresses PR comments | <ide><path>rc/main/javac/org/apache/brooklyn/tosca/a4c/brooklyn/ToscaNodeToEntityConverter.java
<ide> import org.slf4j.Logger;
<ide> import org.slf4j.LoggerFactory;
<ide>
<add>import com.google.common.collect.ImmutableList;
<add>
<ide> import alien4cloud.model.components.AbstractPropertyValue;
<ide> import alien4cloud... | |
Java | mit | 9fe501bcc32c53f92e6733a73dbcdd70e86f99d2 | 0 | weisJ/darklaf,weisJ/darklaf,weisJ/darklaf,weisJ/darklaf | /*
* MIT License
*
* Copyright (c) 2020-2022 Jannis Weis
*
* 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, mo... | core/src/main/java/com/github/weisj/darklaf/ui/tooltip/ToolTipUtil.java | /*
* MIT License
*
* Copyright (c) 2020-2022 Jannis Weis
*
* 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, mo... | Actually try screen bounds instead of window bounds in second pass
| core/src/main/java/com/github/weisj/darklaf/ui/tooltip/ToolTipUtil.java | Actually try screen bounds instead of window bounds in second pass | <ide><path>ore/src/main/java/com/github/weisj/darklaf/ui/tooltip/ToolTipUtil.java
<ide> pos = tryAlignments(alignments, context, p, layoutConstraints, setter, centerHorizontally, centerVertically);
<ide> if (pos == null) {
<ide> // Try again with screen bounds instead.
<add> layou... | |
Java | apache-2.0 | d2fff12e013964cc43707968735fd835936a8c9f | 0 | kimchy/compass,johnnywale/compass,johnnywale/compass,johnnywale/compass,kimchy/compass | /*
* Copyright 2004-2006 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... | src/main/src/org/compass/gps/device/hibernate/indexer/PaginationHibernateIndexEntitiesIndexer.java | /*
* Copyright 2004-2006 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... | CMP-477 Improve ScrollableHibernateIndexEntitiesIndexer (use Hibernate Criteria)
| src/main/src/org/compass/gps/device/hibernate/indexer/PaginationHibernateIndexEntitiesIndexer.java | CMP-477 Improve ScrollableHibernateIndexEntitiesIndexer (use Hibernate Criteria) | <ide><path>rc/main/src/org/compass/gps/device/hibernate/indexer/PaginationHibernateIndexEntitiesIndexer.java
<ide> import org.compass.gps.device.hibernate.HibernateGpsDeviceException;
<ide> import org.compass.gps.device.hibernate.entities.EntityInformation;
<ide> import org.compass.gps.device.support.parallel.IndexEnti... | |
JavaScript | agpl-3.0 | 29dcb53f6b5d75de988388450401ba44ce7dfee7 | 0 | usu/ecamp3,ecamp/ecamp3,usu/ecamp3,ecamp/ecamp3,usu/ecamp3,ecamp/ecamp3,ecamp/ecamp3,usu/ecamp3 | import { toTime, roundTimeUp, roundTimeDown } from '@/helpers/vCalendarDragAndDrop.js'
/**
*
* @param ref(bool) enabled drag & drop is disabled if enabled=false
* @param int threshold min. mouse movement needed to detect drag & drop
* @returns
*/
export default function useDragAndDrop(enabled, createEntry... | frontend/src/components/program/picasso/useDragAndDropNew.js | import { toTime, roundTimeUp, roundTimeDown } from '@/helpers/vCalendarDragAndDrop.js'
/**
*
* @param ref(bool) enabled drag & drop is disabled if enabled=false
* @param int threshold min. mouse movement needed to detect drag & drop
* @returns
*/
export default function useDragAndDrop(enabled, createEntry... | drag drop: new scheduleEntry, don't trigger dialog with 0 length
| frontend/src/components/program/picasso/useDragAndDropNew.js | drag drop: new scheduleEntry, don't trigger dialog with 0 length | <ide><path>rontend/src/components/program/picasso/useDragAndDropNew.js
<ide> const createNewEntry = (mouse) => {
<ide> newEntry = {
<ide> startTimestamp: roundTimeDown(mouse),
<del> endTimestamp: roundTimeDown(mouse) + 15,
<add> endTimestamp: roundTimeDown(mouse),
<ide> }
<ide> }
<ide>
<ide... | |
Java | apache-2.0 | 9154df76164b7812246aa9da7c47e048d56d9dd7 | 0 | bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud | package com.planet_ink.coffee_mud.Libraries;
import com.planet_ink.coffee_web.interfaces.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.AbilityMapper.AbilityMapping;
import com.planet_ink.coffee_mud.Libraries.interfaces.AbilityParameters.AbilityPa... | com/planet_ink/coffee_mud/Libraries/CMAbleParms.java | package com.planet_ink.coffee_mud.Libraries;
import com.planet_ink.coffee_web.interfaces.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.AbilityMapper.AbilityMapping;
import com.planet_ink.coffee_mud.Libraries.interfaces.AbilityParameters.AbilityPa... | Fix for learning ammunition based weapons.
git-svn-id: 0cdf8356e41b2d8ccbb41bb76c82068fe80b2514@19656 0d6f1817-ed0e-0410-87c9-987e46238f29
| com/planet_ink/coffee_mud/Libraries/CMAbleParms.java | Fix for learning ammunition based weapons. | <ide><path>om/planet_ink/coffee_mud/Libraries/CMAbleParms.java
<ide> @Override
<ide> public int appliesToClass(final Object o)
<ide> {
<del> return ((o instanceof Weapon) || (o instanceof Ammunition)) ? 2 : -1;
<add> return ((o instanceof AmmunitionWeapon) || (o instanceof Ammunition)) ? 2 : -1;
<id... | |
Java | apache-2.0 | dc2425081469377276f5cd6605267e66f28a7335 | 0 | gro-gg/latex-maven-plugin | package org.codehaus.mojo.latex;
/*
* Copyright 2010 INRIA / CITI Laboratory / Amazones Research Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | src/main/java/org/codehaus/mojo/latex/LaTeXMojo.java | package org.codehaus.mojo.latex;
/*
* Copyright 2010 INRIA / CITI Laboratory / Amazones Research Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | only make glossaries if the target directory contains a *.aux file
| src/main/java/org/codehaus/mojo/latex/LaTeXMojo.java | only make glossaries if the target directory contains a *.aux file | <ide><path>rc/main/java/org/codehaus/mojo/latex/LaTeXMojo.java
<ide>
<ide> import java.io.File;
<ide> import java.io.FileFilter;
<add>import java.io.FilenameFilter;
<ide> import java.io.IOException;
<ide> import java.util.Collection;
<ide> import java.util.Iterator;
<ide>
<ide> /**
<ide> * Indicates whether ... | |
Java | mit | eff95bc582dc63722cfdad9db7bfeee3ecd6d384 | 0 | chr-krenn/chr-krenn-fhj-ws2017-sd17-pse,chr-krenn/chr-krenn-fhj-ws2017-sd17-pse | package org.se.lab.web;
import org.apache.log4j.Logger;
import org.primefaces.event.FileUploadEvent;
import org.primefaces.model.DefaultStreamedContent;
import org.primefaces.model.StreamedContent;
import org.primefaces.model.UploadedFile;
import org.se.lab.db.data.Community;
import org.se.lab.db.data.User;
import org... | src/main/java/org/se/lab/web/UserDataBean.java | package org.se.lab.web;
import org.apache.log4j.Logger;
import org.primefaces.event.FileUploadEvent;
import org.primefaces.model.DefaultStreamedContent;
import org.primefaces.model.StreamedContent;
import org.primefaces.model.UploadedFile;
import org.se.lab.db.data.Community;
import org.se.lab.db.data.User;
import org... | Check null in imageExists | src/main/java/org/se/lab/web/UserDataBean.java | Check null in imageExists | <ide><path>rc/main/java/org/se/lab/web/UserDataBean.java
<ide>
<ide> public boolean isImageExists() {
<ide>
<del> boolean imageExists = false;
<del>
<del> try {
<del> user.getUserProfile().getPicture();
<del> imageExists = true;
<del>
<del> } catch (Exception e) {
<del> ... | |
JavaScript | apache-2.0 | e839371d2117a0ee77c109c8928e20cd8a40d02c | 0 | benetech/math-speech-rule-editor,benetech/math-speech-rule-editor | /**
* Route Mappings
* (sails.config.routes)
*
* Your routes map URLs to views and controllers.
*
* If Sails receives a URL that doesn't match any of the routes below,
* it will check for matching files (images, scripts, stylesheets, etc.)
* in your assets directory. e.g. `http://localhost:1337/images/foo.jpg`... | config/routes.js | /**
* Route Mappings
* (sails.config.routes)
*
* Your routes map URLs to views and controllers.
*
* If Sails receives a URL that doesn't match any of the routes below,
* it will check for matching files (images, scripts, stylesheets, etc.)
* in your assets directory. e.g. `http://localhost:1337/images/foo.jpg`... | FIx route
| config/routes.js | FIx route | <ide><path>onfig/routes.js
<ide> action: 'export'
<ide> },
<ide>
<del> 'get /rulesets/': {
<add> 'get /rulesets': {
<ide> controller: 'RuleSetController',
<ide> action: 'ruleSets'
<ide> }, | |
Java | apache-2.0 | 892676254ace712b871ee437244f2e0ea849b038 | 0 | emre-aydin/hazelcast,mesutcelik/hazelcast,tufangorel/hazelcast,Donnerbart/hazelcast,tufangorel/hazelcast,dsukhoroslov/hazelcast,dsukhoroslov/hazelcast,mdogan/hazelcast,Donnerbart/hazelcast,dbrimley/hazelcast,tkountis/hazelcast,emre-aydin/hazelcast,dbrimley/hazelcast,mesutcelik/hazelcast,mesutcelik/hazelcast,juanavelez/... | /*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | hazelcast/src/test/java/com/hazelcast/internal/nearcache/NearCacheTest.java | /*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | Ignored failing test methods in NearCacheTest
| hazelcast/src/test/java/com/hazelcast/internal/nearcache/NearCacheTest.java | Ignored failing test methods in NearCacheTest | <ide><path>azelcast/src/test/java/com/hazelcast/internal/nearcache/NearCacheTest.java
<ide> import com.hazelcast.test.HazelcastSerialClassRunner;
<ide> import com.hazelcast.test.annotation.ParallelTest;
<ide> import com.hazelcast.test.annotation.QuickTest;
<add>import org.junit.Ignore;
<ide> import org.junit.Test;
<ide... | |
JavaScript | mit | 0233a8c22f26568a3a0002ec7bf0dc45bd44644d | 0 | KuoE0/MPU6050-WebPlot,KuoE0/MPU6050-WebPlot | var ws = undefined;
function update_MA(value) {
if (value != '') {
$('#moving-average-filter label').text('MA Filter (' + value + ')');
$('#MA-slider').val(value);
ws.send("MAF " + value);
}
else {
$('#moving-average-filter label').text('MA Filter');
}
}
$(function() {
... | static/js/main.js | var ws = undefined;
function update_MA(value) {
if (value != '') {
$('#moving-average-filter label').text('MA Filter (' + value + ')');
$('#MA-slider').val(value);
ws.send("MAF " + value);
}
else {
$('#moving-average-filter label').text('MA Filter');
}
}
$(function() {
... | dont append '= 0' to label
| static/js/main.js | dont append '= 0' to label | <ide><path>tatic/js/main.js
<ide> $(function() {
<ide>
<ide> function get_series_data(data) {
<del> // append value after each label
<del> for (var i = 0; i < data.signal.length; ++i) {
<del> data.signal[i].label = data.signal[i].label + " = 0";
<del> }
<del>
<ide> return data.signal;
<ide> }
<ide>
<ide>
<i... | |
Java | apache-2.0 | 346c7c8b82520112f3d62b762e1853badf0c3c8a | 0 | SatelliteApplicationsCatapult/tribble | package org.catapult.sa;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugins.annotations.*;
import org.apache.maven.project.MavenProject;
import org.catapult.sa.tribble.Fuzzer;
import org.... | tribble-maven-plugin/src/main/java/org/catapult/sa/TribblePlugin.java | package org.catapult.sa;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugins.annotations.*;
import org.apache.maven.project.MavenProject;
import org.catapult.sa.tribble.Fuzzer;
import org.... | fix property name
| tribble-maven-plugin/src/main/java/org/catapult/sa/TribblePlugin.java | fix property name | <ide><path>ribble-maven-plugin/src/main/java/org/catapult/sa/TribblePlugin.java
<ide> @Parameter(property = "fuzztest.verbose", required = true, defaultValue = "true")
<ide> public boolean verbose;
<ide>
<del> @Parameter(property = "fuzztext.disabledMutators", required = true, defaultValue = "")
<add> @P... | |
Java | mit | f3e5f31871f90d66a4ae7d7c22dfc29520c8dd08 | 0 | cbullers/cob-paint | COBConfig.java | package com.cob.paint;
import java.awt.Color;
import java.awt.Dimension;
public class COBConfig {
public static String LANGUAGE = "en";
// Sizes for the things..?
public static Dimension APP_DIMENSION = new Dimension(1000,650); // Size of the whole application
public static Dimension SLIDER_DIMENSION = new Dim... | Delete COBConfig.java | COBConfig.java | Delete COBConfig.java | <ide><path>OBConfig.java
<del>package com.cob.paint;
<del>
<del>import java.awt.Color;
<del>import java.awt.Dimension;
<del>
<del>public class COBConfig {
<del>
<del> public static String LANGUAGE = "en";
<del>
<del> // Sizes for the things..?
<del> public static Dimension APP_DIMENSION = new Dimension(1000,650); // S... | ||
Java | apache-2.0 | f80d8da878a5f990ea547cfef9e50dccbf41ebb7 | 0 | bingo-open-source/bingo-core | /* Copyright 2004 BEA Systems, 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 appli... | core-lang/src/main/java/bingo/lang/xml/XmlWriterBaseImpl.java | /* Copyright 2004 BEA Systems, 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 appli... | fixed bug : write null text and set escape=true will throw NPE | core-lang/src/main/java/bingo/lang/xml/XmlWriterBaseImpl.java | fixed bug : write null text and set escape=true will throw NPE | <ide><path>ore-lang/src/main/java/bingo/lang/xml/XmlWriterBaseImpl.java
<ide>
<ide> import javax.xml.namespace.NamespaceContext;
<ide>
<add>import bingo.lang.Strings;
<add>
<ide> //from com.bea.xml.stream
<ide>
<ide> @SuppressWarnings({"unchecked","rawtypes"})
<ide> public XmlWriter text(String text, boolean escape... | |
Java | apache-2.0 | 6249fef4c618505e0fa7025ff32ed72a3a96dd8e | 0 | gavanx/pdflearn,gavanx/pdflearn | /*
* 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... | pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.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... | PDFBOX-3459: Update JavaDoc
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1755777 13f79535-47bb-0310-9956-ffa450edef68
| pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java | PDFBOX-3459: Update JavaDoc | <ide><path>dfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
<ide> }
<ide>
<ide> /**
<del> * Render the font using the Glyph2D interface.
<add> * Renders a glyph.
<ide> *
<del> * @param path the Glyph2D implementation provided a GeneralPath for each glyph
<add> * @param path... | |
Java | bsd-3-clause | 81a64d8052226a9e405770db0ca438fa8f6e5b2b | 0 | NCIP/cadsr-semantic-tools,NCIP/cadsr-semantic-tools | package gov.nih.nci.ncicb.cadsr.loader.validator;
import java.util.*;
import gov.nih.nci.ncicb.cadsr.domain.*;
import gov.nih.nci.ncicb.cadsr.loader.ElementsLists;
import gov.nih.nci.ncicb.cadsr.loader.util.*;
public class ConceptCodeValidator implements Validator {
private ElementsLists elements;
private Va... | src/gov/nih/nci/ncicb/cadsr/loader/validator/ConceptCodeValidator.java | package gov.nih.nci.ncicb.cadsr.loader.validator;
import java.util.*;
import gov.nih.nci.ncicb.cadsr.domain.*;
import gov.nih.nci.ncicb.cadsr.loader.ElementsLists;
import gov.nih.nci.ncicb.cadsr.loader.util.*;
public class ConceptCodeValidator implements Validator {
private ElementsLists elements;
public Con... | fixes validation of OCs and Props
SVN-Revision: 428
| src/gov/nih/nci/ncicb/cadsr/loader/validator/ConceptCodeValidator.java | fixes validation of OCs and Props | <ide><path>rc/gov/nih/nci/ncicb/cadsr/loader/validator/ConceptCodeValidator.java
<ide>
<ide> private ElementsLists elements;
<ide>
<add> private ValidationItems items = ValidationItems.getInstance();
<add>
<ide> public ConceptCodeValidator(ElementsLists elements) {
<ide> this.elements = elements;
<ide> }
<... | |
Java | bsd-3-clause | ddd327d80c3c90eee9c85922d42400c4c9363961 | 0 | NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers | package gov.nih.nci.cabig.caaers.web.ae;
import gov.nih.nci.cabig.caaers.dao.AdverseEventReportingPeriodDao;
import gov.nih.nci.cabig.caaers.dao.ExpeditedAdverseEventReportDao;
import gov.nih.nci.cabig.caaers.dao.StudyDao;
import gov.nih.nci.cabig.caaers.dao.report.ReportDefinitionDao;
import gov.nih.nci.cabig.caaers.... | caAERS/software/web/src/main/java/gov/nih/nci/cabig/caaers/web/ae/CaptureAdverseEventInputCommand.java | package gov.nih.nci.cabig.caaers.web.ae;
import gov.nih.nci.cabig.caaers.dao.AdverseEventReportingPeriodDao;
import gov.nih.nci.cabig.caaers.dao.ExpeditedAdverseEventReportDao;
import gov.nih.nci.cabig.caaers.dao.StudyDao;
import gov.nih.nci.cabig.caaers.dao.report.ReportDefinitionDao;
import gov.nih.nci.cabig.caaers.... | CAAERS-6044 : Fix to save the evaluation result for required reporting
SVN-Revision: 17332
| caAERS/software/web/src/main/java/gov/nih/nci/cabig/caaers/web/ae/CaptureAdverseEventInputCommand.java | CAAERS-6044 : Fix to save the evaluation result for required reporting | <ide><path>aAERS/software/web/src/main/java/gov/nih/nci/cabig/caaers/web/ae/CaptureAdverseEventInputCommand.java
<ide> import java.util.ArrayList;
<ide> import java.util.Date;
<ide> import java.util.HashMap;
<add>import java.util.HashSet;
<ide> import java.util.LinkedHashMap;
<ide> import java.util.List;
<ide> import j... | |
Java | apache-2.0 | 8c9bf23bf6ab4481ee350c0d897352d837499eb6 | 0 | gonmarques/commons-collections,sandrineBeauche/commons-collections,mohanaraosv/commons-collections,apache/commons-collections,apache/commons-collections,mohanaraosv/commons-collections,mohanaraosv/commons-collections,sandrineBeauche/commons-collections,sandrineBeauche/commons-collections,jankill/commons-collections,MuS... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/java/org/apache/commons/collections/set/AbstractSetDecorator.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Merging from -r468106:814127 of collections_jdk5_branch - namely where this code was generified; mostly in r738956.
Also see the following revisions:
------------------------------------------------------------------------
r471186 | scolebourne | 2006-11-04 05:47:51 -0800 (Sat, 04 Nov 2006) | 1 line
... | src/java/org/apache/commons/collections/set/AbstractSetDecorator.java | Merging from -r468106:814127 of collections_jdk5_branch - namely where this code was generified; mostly in r738956. | <ide><path>rc/java/org/apache/commons/collections/set/AbstractSetDecorator.java
<ide> * <p>
<ide> * Methods are forwarded directly to the decorated set.
<ide> *
<add> * @param <E> the type of the elements in the set
<ide> * @since Commons Collections 3.0
<ide> * @version $Revision$ $Date$
<ide> *
<ide> * @author... | |
Java | agpl-3.0 | 21fd76be5d31f2606a93e4129da26e80be923169 | 0 | iu-uits-es/kc,UniversityOfHawaiiORS/kc,geothomasp/kcmit,jwillia/kc-old1,geothomasp/kcmit,ColostateResearchServices/kc,ColostateResearchServices/kc,UniversityOfHawaiiORS/kc,jwillia/kc-old1,mukadder/kc,ColostateResearchServices/kc,jwillia/kc-old1,mukadder/kc,geothomasp/kcmit,UniversityOfHawaiiORS/kc,kuali/kc,kuali/kc,muk... | /*
* Copyright 2005-2010 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... | src/main/java/org/kuali/kra/award/budget/AwardBudgetForm.java | /*
* Copyright 2005-2010 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... | KCINFR-537: Clean up help doc in Budget
| src/main/java/org/kuali/kra/award/budget/AwardBudgetForm.java | KCINFR-537: Clean up help doc in Budget | <ide><path>rc/main/java/org/kuali/kra/award/budget/AwardBudgetForm.java
<ide> private String budgetParentId;
<ide> private AwardBudgetPeriodSummaryCalculatedAmount awardBudgetPeriodSummaryCalculatedAmount;
<ide>
<add> /** {@inheritDoc} */
<add> @Override
<add> protected String getDefaultDocumentTy... | |
Java | mit | 69b671586097d3df07461d0c1436f029b6290e4d | 0 | ViliusKraujutis/tvarkau-vilniu,vilnius/tvarkau-vilniu,vilnius/tvarkau-vilniu | package lt.vilnius.tvarkau;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import lt.vilnius.tvarkau.fragments.Pro... | app/src/main/java/lt/vilnius/tvarkau/ProblemDetailActivity.java | package lt.vilnius.tvarkau;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NavUtils;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
... | Navigate up same behaviour as back pressed
| app/src/main/java/lt/vilnius/tvarkau/ProblemDetailActivity.java | Navigate up same behaviour as back pressed | <ide><path>pp/src/main/java/lt/vilnius/tvarkau/ProblemDetailActivity.java
<ide> import android.content.Context;
<ide> import android.content.Intent;
<ide> import android.os.Bundle;
<del>import android.support.v4.app.NavUtils;
<ide> import android.support.v7.app.ActionBar;
<ide> import android.support.v7.app.AppCompatAc... | |
Java | apache-2.0 | 0027f074d18c1816bb75da84c2e20e82ab4c6544 | 0 | subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai | package io.subutai.core.environment.impl.workflow.modification.steps;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorCompletionService;
import java.util.concurrent.ExecutorS... | management/server/core/environment-manager/environment-manager-impl/src/main/java/io/subutai/core/environment/impl/workflow/modification/steps/VNISetupStep.java | package io.subutai.core.environment.impl.workflow.modification.steps;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import org.apache.commons.net.util.SubnetUtils;
import com.google.common.collect.Maps;
import io.subutai.common.environment.EnvironmentModificationException;
import io.subutai... | parallelized VNI reservation
| management/server/core/environment-manager/environment-manager-impl/src/main/java/io/subutai/core/environment/impl/workflow/modification/steps/VNISetupStep.java | parallelized VNI reservation | <ide><path>anagement/server/core/environment-manager/environment-manager-impl/src/main/java/io/subutai/core/environment/impl/workflow/modification/steps/VNISetupStep.java
<ide> import java.util.Map;
<ide> import java.util.Objects;
<ide> import java.util.Set;
<add>import java.util.concurrent.Callable;
<add>import java.u... | |
JavaScript | mit | 3c5897bf15222f93a0a0f18ab7d8f1da68b6c0f4 | 0 | zachelrath/nforce,heroku/force.js,chrishic/nforce | // module dependencies
var request = require('request');
var qs = require('querystring');
var url = require('url');
var Record = require('./lib/record');
var QueryStream = require('./lib/querystream');
// constants
var AUTH_ENDPOINT = 'https://login.salesforce.com/services/oauth2/authorize';
var TEST_AUTH_ENDPOINT =... | index.js | // module dependencies
var request = require('request');
var qs = require('querystring');
var url = require('url');
var Record = require('./lib/record');
var QueryStream = require('./lib/querystream');
// constants
var AUTH_ENDPOINT = 'https://login.salesforce.com/services/oauth2/authorize';
var TEST_AUTH_ENDPOINT =... | changed from hash to simple string
| index.js | changed from hash to simple string | <ide><path>ndex.js
<ide> }
<ide>
<ide> Connection.prototype.getDescribe = function(data, oauth, callback) {
<del> if(typeof data.type !== 'string') {
<del> return callback(new Error('Type must be in the form of a string'), null);
<del> }
<del> if(!validateOAuth(oauth)) return callback(new Error('Invalid oauth ob... | |
Java | apache-2.0 | 862f50355f8fc97814ffd44e76c23e14f781b473 | 0 | chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4930Test.java | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | give test more gc wiggle room - AMQ-4930
| activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4930Test.java | give test more gc wiggle room - AMQ-4930 | <ide><path>ctivemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4930Test.java
<ide> assertEquals("maxBrowsePageSize", maxBrowsePageSize, browsed.length);
<ide> Runtime.getRuntime().gc();
<ide> Runtime.getRuntime().gc();
<del> assertTrue("No growth: " + Runtime.getR... | |
Java | bsd-3-clause | c92f83c0488112ac0a33f56d6965c6651c39ab1b | 0 | bluerover/6lbr,arurke/contiki,arurke/contiki,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,bluerover/6lbr,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,bluerove... | /*
* Copyright (c) 2012, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* n... | tools/cooja/java/org/contikios/cooja/plugins/skins/TrafficVisualizerSkin.java | /*
* Copyright (c) 2012, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* n... | [cooja] skins/TrafficVisualizerSkin: Indicate sent but unreceived messages by a red double circle around mote
| tools/cooja/java/org/contikios/cooja/plugins/skins/TrafficVisualizerSkin.java | [cooja] skins/TrafficVisualizerSkin: Indicate sent but unreceived messages by a red double circle around mote | <ide><path>ools/cooja/java/org/contikios/cooja/plugins/skins/TrafficVisualizerSkin.java
<ide> g.setColor(new Color(colorHistoryIndex, colorHistoryIndex, 1.0f));
<ide> Radio source = connArrow.getConnection().getSource();
<ide> Point sourcePoint = visualizer.transformPositionToPixel(source.getPosition(... | |
Java | mit | 143cc9aecbafa45d3dd4333badf1d6005aee2c6d | 0 | SpongePowered/Mixin,simon816/Mixin | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | Fix minor javadoc issue | src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java | Fix minor javadoc issue | <ide><path>rc/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java
<ide> /**
<ide> * Finds the specified public or protected method in this class
<ide> *
<del> * @param method Method name to search for
<add> * @param name Method name to search for
<ide> * @param desc Method signa... | |
Java | epl-1.0 | 35b207e9d5f8b5e2e3a07c79034fba5e0ea3a613 | 0 | floralvikings/jenjin | package com.jenjinstudios.core.io;
import org.testng.Assert;
import org.testng.annotations.Test;
import java.io.*;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Test the {@cod... | jenjin-core/src/test/java/com/jenjinstudios/core/io/MessageOutputStreamTest.java | package com.jenjinstudios.core.io;
import org.testng.Assert;
import org.testng.annotations.Test;
import java.io.*;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Test the {@cod... | Added assertion message.
| jenjin-core/src/test/java/com/jenjinstudios/core/io/MessageOutputStreamTest.java | Added assertion message. | <ide><path>enjin-core/src/test/java/com/jenjinstudios/core/io/MessageOutputStreamTest.java
<ide> boolean encrypted = dis.readBoolean();
<ide> String encStr = dis.readUTF();
<ide>
<del> Assert.assertEquals(id, msg.getID());
<add> Assert.assertEquals(id, msg.getID(), "Message IDs not equal"... | |
Java | apache-2.0 | e9136cfd354d28ca9e953b282f4c327a0362d587 | 0 | maobaolong/alluxio,wwjiang007/alluxio,Alluxio/alluxio,Alluxio/alluxio,maobaolong/alluxio,Alluxio/alluxio,Alluxio/alluxio,wwjiang007/alluxio,wwjiang007/alluxio,maobaolong/alluxio,maobaolong/alluxio,maobaolong/alluxio,wwjiang007/alluxio,Alluxio/alluxio,maobaolong/alluxio,wwjiang007/alluxio,wwjiang007/alluxio,wwjiang007/a... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | hub/server/src/test/java/alluxio/hub/test/BaseHubTest.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Add Hub property keys to fix and speed up tests
### What changes are proposed in this pull request?
Hub tests require Cluster ID and also reducing registration time to
speed up tests.
### Why are the changes needed?
See above.
### Does this PR introduce any user facing changes?
No
pr-link: Alluxio/alluxio#14736
... | hub/server/src/test/java/alluxio/hub/test/BaseHubTest.java | Add Hub property keys to fix and speed up tests | <ide><path>ub/server/src/test/java/alluxio/hub/test/BaseHubTest.java
<ide> protected static InstancedConfiguration getTestConfig() throws Exception {
<ide> InstancedConfiguration c =
<ide> new InstancedConfiguration(ServerConfiguration.global().copyProperties());
<add> c.set(PropertyKey.HUB_CLUSTER_ID,... | |
Java | mit | error: pathspec 'server/src/main/java/ge/edu/freeuni/taxi/dispatcher/OrderMessageListener.java' did not match any file(s) known to git
| a47095cb2afa473d40704ec5a9963d3c4a68b043 | 1 | freeuni-sdp/FreeUni-SDP-2014-Final-Project,freeuni-sdp/FreeUni-SDP-2014-Final-Project | package ge.edu.freeuni.taxi.dispatcher;
import java.util.Date;
import ge.edu.freeuni.taxi.Passenger;
import ge.edu.freeuni.taxi.PassengerOrder;
import ge.edu.freeuni.taxi.core.Message;
import ge.edu.freeuni.taxi.core.MessageType;
import ge.edu.freeuni.taxi.manager.OrderManager;
public class OrderMessageListener impl... | server/src/main/java/ge/edu/freeuni/taxi/dispatcher/OrderMessageListener.java | #26 create and save order after receiving a message from twitter post
| server/src/main/java/ge/edu/freeuni/taxi/dispatcher/OrderMessageListener.java | #26 create and save order after receiving a message from twitter post | <ide><path>erver/src/main/java/ge/edu/freeuni/taxi/dispatcher/OrderMessageListener.java
<add>package ge.edu.freeuni.taxi.dispatcher;
<add>
<add>import java.util.Date;
<add>
<add>import ge.edu.freeuni.taxi.Passenger;
<add>import ge.edu.freeuni.taxi.PassengerOrder;
<add>import ge.edu.freeuni.taxi.core.Message;
<add>impor... | |
Java | apache-2.0 | a3103689932e2b650d1aa8891fcc484fbd04c021 | 0 | akihito104/UdonRoad | /*
* Copyright (c) 2016. Matsuda, Akihit (akihito104)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | app/src/main/java/com/freshdigitable/udonroad/UserInfoFragment.java | /*
* Copyright (c) 2016. Matsuda, Akihit (akihito104)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | refactored to update Relationship
| app/src/main/java/com/freshdigitable/udonroad/UserInfoFragment.java | refactored to update Relationship | <ide><path>pp/src/main/java/com/freshdigitable/udonroad/UserInfoFragment.java
<ide>
<ide> import javax.inject.Inject;
<ide>
<del>import rx.Observable;
<ide> import rx.Subscription;
<del>import rx.android.schedulers.AndroidSchedulers;
<ide> import rx.functions.Action0;
<ide> import rx.functions.Action1;
<ide> import t... | |
Java | apache-2.0 | fad1c6594554975e40cd5ac018d0f4c0813b1d5c | 0 | mtransitapps/mtransit-for-android,mtransitapps/mtransit-for-android,mtransitapps/mtransit-for-android | package org.mtransit.android.ui.fragment;
import java.util.ArrayList;
import org.mtransit.android.R;
import org.mtransit.android.commons.BundleUtils;
import org.mtransit.android.commons.MTLog;
import org.mtransit.android.commons.PreferenceUtils;
import org.mtransit.android.commons.api.SupportFactory;
import org.mtran... | src/org/mtransit/android/ui/fragment/RTSAgencyRoutesFragment.java | package org.mtransit.android.ui.fragment;
import java.util.ArrayList;
import org.mtransit.android.R;
import org.mtransit.android.commons.BundleUtils;
import org.mtransit.android.commons.MTLog;
import org.mtransit.android.commons.PreferenceUtils;
import org.mtransit.android.commons.api.SupportFactory;
import org.mtran... | Use Switch instead of icons for list/grid & list/map toggles in toolbar.
| src/org/mtransit/android/ui/fragment/RTSAgencyRoutesFragment.java | Use Switch instead of icons for list/grid & list/map toggles in toolbar. | <ide><path>rc/org/mtransit/android/ui/fragment/RTSAgencyRoutesFragment.java
<ide> }
<ide>
<ide> private MenuItem listGridToggleMenuItem;
<add> private SwitchCompat listGridSwitchMenuItem;
<ide>
<ide> @Override
<ide> public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { | |
Java | apache-2.0 | 1b7985773ad3a4290a27a00c4c6d38f76c9db900 | 0 | apache/logging-log4j2,apache/logging-log4j2,apache/logging-log4j2 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may n... | log4j-api/src/main/java/org/apache/logging/log4j/Level.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may n... | In-line single-use local variable.
| log4j-api/src/main/java/org/apache/logging/log4j/Level.java | In-line single-use local variable. | <ide><path>og4j-api/src/main/java/org/apache/logging/log4j/Level.java
<ide> * @return An array of Levels.
<ide> */
<ide> public static Level[] values() {
<del> final Collection<Level> values = Level.LEVELS.values();
<del> return values.toArray(new Level[values.size()]);
<add> return L... | |
Java | mit | error: pathspec 'src/main/java/com/blankstyle/vertx/php/http/HttpServerResponse.java' did not match any file(s) known to git
| 067c6a055757dc58ba915017d0512a713da0e803 | 1 | vert-x/mod-lang-php,alwinmark/vertx-php,khasinski/mod-lang-php,khasinski/mod-lang-php,vert-x/mod-lang-php,khasinski/mod-lang-php,alwinmark/vertx-php | package com.blankstyle.vertx.php.http;
import com.blankstyle.vertx.php.Handler;
import com.blankstyle.vertx.php.streams.ExceptionSupport;
import com.blankstyle.vertx.php.streams.WriteStream;
import com.caucho.quercus.annotation.Optional;
import com.caucho.quercus.env.BooleanValue;
import com.caucho.quercus.env.Callbac... | src/main/java/com/blankstyle/vertx/php/http/HttpServerResponse.java | Add HTTP server response handler.
| src/main/java/com/blankstyle/vertx/php/http/HttpServerResponse.java | Add HTTP server response handler. | <ide><path>rc/main/java/com/blankstyle/vertx/php/http/HttpServerResponse.java
<add>package com.blankstyle.vertx.php.http;
<add>
<add>import com.blankstyle.vertx.php.Handler;
<add>import com.blankstyle.vertx.php.streams.ExceptionSupport;
<add>import com.blankstyle.vertx.php.streams.WriteStream;
<add>import com.caucho.qu... | |
Java | apache-2.0 | 7584bf7d5660e72c2658bae1eb9eeeceabbf7c8f | 0 | jackylk/incubator-carbondata,ravipesala/incubator-carbondata,manishgupta88/incubator-carbondata,ravipesala/incubator-carbondata,zzcclp/carbondata,manishgupta88/carbondata,manishgupta88/incubator-carbondata,jackylk/incubator-carbondata,ravipesala/incubator-carbondata,zzcclp/carbondata,manishgupta88/incubator-carbondata,... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | core/src/main/java/org/apache/carbondata/core/scan/result/iterator/ChunkRowIterator.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | [CARBONDATA-3121] Improvement of CarbonReader build time
CarbonReader builder is taking huge time.
Reason
Initialization of ChunkRowIterator is triggering actual I/O operation, and thus huge build time.
Solution
remove CarbonIterator.hasNext() and CarbonIterator.next() from build.
This closes #2942
| core/src/main/java/org/apache/carbondata/core/scan/result/iterator/ChunkRowIterator.java | [CARBONDATA-3121] Improvement of CarbonReader build time | <ide><path>ore/src/main/java/org/apache/carbondata/core/scan/result/iterator/ChunkRowIterator.java
<ide>
<ide> public ChunkRowIterator(CarbonIterator<RowBatch> iterator) {
<ide> this.iterator = iterator;
<del> if (iterator.hasNext()) {
<del> currentChunk = iterator.next();
<del> }
<ide> }
<ide>
<id... | |
Java | apache-2.0 | 0d40bffe3e6f2df4810f1b025e25fb907f5b7aaf | 0 | statsbiblioteket/newspaper-batch-metadata-checker,statsbiblioteket/newspaper-batch-metadata-checker,statsbiblioteket/newspaper-batch-metadata-checker | package dk.statsbiblioteket.newspaper.metadatachecker;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.net.URISyntaxException;
import java.util.Properties;
import dk.statsbiblioteket.medieplatform.autonomous.Batch;
import dk.statsbibli... | src/test/java/dk/statsbiblioteket/newspaper/metadatachecker/MetadataCheckerComponentIT.java | package dk.statsbiblioteket.newspaper.metadatachecker;
import dk.statsbiblioteket.newspaper.mfpakintegration.configuration.ConfigurationProperties;
import dk.statsbiblioteket.newspaper.mfpakintegration.configuration.MfPakConfiguration;
import dk.statsbiblioteket.newspaper.mfpakintegration.database.MfPakDAO;
import dk.... | Fixe test compile error
| src/test/java/dk/statsbiblioteket/newspaper/metadatachecker/MetadataCheckerComponentIT.java | Fixe test compile error | <ide><path>rc/test/java/dk/statsbiblioteket/newspaper/metadatachecker/MetadataCheckerComponentIT.java
<ide> package dk.statsbiblioteket.newspaper.metadatachecker;
<ide>
<del>import dk.statsbiblioteket.newspaper.mfpakintegration.configuration.ConfigurationProperties;
<del>import dk.statsbiblioteket.newspaper.mfpakinteg... | |
Java | apache-2.0 | 87f946db8fd567ecf404fc4a77134f4b61f64fa0 | 0 | icecondor/android,icecondor/android | package com.icecondor.nest;
import java.io.IOException;
import java.net.URISyntaxException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import net.oauth.OAuth;
import net.oauth.OAuthAccessor;
import net.oauth.OAuthExceptio... | src/com/icecondor/nest/Pigeon.java | package com.icecondor.nest;
import java.io.IOException;
import java.net.URISyntaxException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import net.oauth.OAuth;
import net.oauth.OAuthAccessor;
import net.oauth.OAuthExceptio... | get a little more agressive about queue pushing
| src/com/icecondor/nest/Pigeon.java | get a little more agressive about queue pushing | <ide><path>rc/com/icecondor/nest/Pigeon.java
<ide> try {
<ide> apiSocket = new ApiSocket(ICECONDOR_API_URL, pigeonHandler, "token");
<ide> apiSocket.connect();
<add> pushQueue();
<ide> } catch (URISyntaxException e) {
<ide> e.printStackTrace();
<ide> } | |
Java | apache-2.0 | error: pathspec 'src/test/java/mkl/testarea/pdfbox2/content/ArrangeText.java' did not match any file(s) known to git
| 5debefcb8ed476d1cfb63db67e2025d823ec443c | 1 | mkl-public/testarea-pdfbox2 | package mkl.testarea.pdfbox2.content;
import java.io.File;
import java.io.IOException;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDPage;
import org.apache.pdfbox.pdmodel.PDPageContentStream;
import org.apache.pdfbox.pdmodel.font.PDFont;
import org.apache.pdfbox.pdmodel.font.PDType1... | src/test/java/mkl/testarea/pdfbox2/content/ArrangeText.java | New ArrangeText test focusing on the stack overflow question
Apache PDFBox: How can I specify the position of the texts I'm outputting
https://stackoverflow.com/questions/46908322/apache-pdfbox-how-can-i-specify-the-position-of-the-texts-im-outputting
This test shows how to arrange text pieces using relative coordina... | src/test/java/mkl/testarea/pdfbox2/content/ArrangeText.java | New ArrangeText test focusing on the stack overflow question | <ide><path>rc/test/java/mkl/testarea/pdfbox2/content/ArrangeText.java
<add>package mkl.testarea.pdfbox2.content;
<add>
<add>import java.io.File;
<add>import java.io.IOException;
<add>
<add>import org.apache.pdfbox.pdmodel.PDDocument;
<add>import org.apache.pdfbox.pdmodel.PDPage;
<add>import org.apache.pdfbox.pdmodel.PD... | |
Java | apache-2.0 | 3d5e8086342da1cf66be032c3fd8fe0024508dad | 0 | phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida | package ca.corefacility.bioinformatics.irida.model.enums;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.HashMap;
import java.util.Map;
/**
* Defins a set of states that an analysis submission can be in.
*
* @author Aaron Petkau <aaron.petkau@phac-aspc.gc.ca>
*
*/
public enum... | src/main/java/ca/corefacility/bioinformatics/irida/model/enums/AnalysisState.java | package ca.corefacility.bioinformatics.irida.model.enums;
/**
* Defins a set of states that an analysis submission can be in.
*
* @author Aaron Petkau <aaron.petkau@phac-aspc.gc.ca>
*
*/
public enum AnalysisState {
/**
* Occurs when an analysis is first submitted.
*/
SUBMITTED,
/**
* An analysis that ... | Modified analysis state
| src/main/java/ca/corefacility/bioinformatics/irida/model/enums/AnalysisState.java | Modified analysis state | <ide><path>rc/main/java/ca/corefacility/bioinformatics/irida/model/enums/AnalysisState.java
<ide> package ca.corefacility.bioinformatics.irida.model.enums;
<add>
<add>import static com.google.common.base.Preconditions.checkNotNull;
<add>
<add>import java.util.HashMap;
<add>import java.util.Map;
<ide>
<ide> /**
<ide> ... | |
Java | apache-2.0 | c83f8c757ba5c82a0e0c228998c2aaa487c4be7f | 0 | real-logic/benchmarks,real-logic/benchmarks,real-logic/benchmarks | /*
* Copyright 2015 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | src/jmh/java/uk/co/real_logic/benchmarks/latency/Configuration.java | /*
* Copyright 2015 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Increase size of response queue.
| src/jmh/java/uk/co/real_logic/benchmarks/latency/Configuration.java | Increase size of response queue. | <ide><path>rc/jmh/java/uk/co/real_logic/benchmarks/latency/Configuration.java
<ide> {
<ide> public static final int MAX_THREAD_COUNT = 4;
<ide> public static final int SEND_QUEUE_CAPACITY = 64 * 1024;
<del> public static final int RESPONSE_QUEUE_CAPACITY = 4 * 1024;
<add> public static final int RESPONSE_... | |
Java | apache-2.0 | 3abed5ddc9c1f568347ca16b6bed87a927d15fa0 | 0 | gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa | package uk.ac.ebi.gxa.loader.service;
import com.google.common.base.Function;
import com.google.common.base.Predicate;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Iterators;
import com.google.common.collect.ListMultimap;
import uk.ac.ebi.arrayexpress2.magetab.datamodel.IDF;
imp... | atlas-loader/src/main/java/uk/ac/ebi/gxa/loader/service/AtlasNetCDFUpdaterService.java | package uk.ac.ebi.gxa.loader.service;
import com.google.common.base.Function;
import com.google.common.base.Predicate;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Iterators;
import com.google.common.collect.ListMultimap;
import uk.ac.ebi.arrayexpress2.magetab.datamodel.IDF;
imp... | Resource management
| atlas-loader/src/main/java/uk/ac/ebi/gxa/loader/service/AtlasNetCDFUpdaterService.java | Resource management | <ide><path>tlas-loader/src/main/java/uk/ac/ebi/gxa/loader/service/AtlasNetCDFUpdaterService.java
<ide>
<ide> //create or update idf file
<ide> //
<add> BufferedWriter idfWriter = null;
<ide> try {
<del> File idfFile = findOrCreateIdfFile(experimentAccession);
<del>
<del>
<ide>... | |
JavaScript | mit | a1a63e9ba12df96752492e4b62d1d9e999ae49d9 | 0 | ratecity/keystone,Adam14Four/keystone,Yaska/keystone,w01fgang/keystone,ONode/keystone,michaelerobertsjr/keystone,trentmillar/keystone,qwales1/keystone,Tangcuyu/keystone,snowkeeper/keystone,xyzteam2016/keystone,alobodig/keystone,brianjd/keystone,w01fgang/keystone,jacargentina/keystone,codevlabs/keystone,Tangcuyu/keyston... | 'use strict';
import classnames from 'classnames';
import React from 'react';
import ReactDOM from 'react-dom';
import SessionStore from '../stores/SessionStore';
import { Alert, Button, Form, FormField, FormInput } from 'elemental';
import { createHistory } from 'history';
var history = createHistory();
var SigninV... | admin/client/views/signin.js | 'use strict';
import classnames from 'classnames';
import React from 'react';
import ReactDOM from 'react-dom';
import SessionStore from '../stores/SessionStore';
import { Alert, Button, Form, FormField, FormInput } from 'elemental';
import { createHistory } from 'history';
var history = createHistory();
var SigninV... | Signin: more robust error handling
@JedWatson look into status code returned by SessionStore
| admin/client/views/signin.js | Signin: more robust error handling | <ide><path>dmin/client/views/signin.js
<ide> email: this.state.email,
<ide> password: this.state.password
<ide> }, (err, data) => {
<del> if (err) {
<add> if (err || data && data.error) {
<ide> this.displayError('The email and password you entered are not valid.');
<ide> } else {
<ide> // TODO: H... | |
Java | lgpl-2.1 | 3d1ebb5e64c8025cf7546b8a454bc91ef749a624 | 0 | smily77/Arduino,ikbelkirasan/Arduino,wayoda/Arduino,ari-analytics/Arduino,vbextreme/Arduino,tannewt/Arduino,HCastano/Arduino,steamboating/Arduino,381426068/Arduino,karlitxo/Arduino,arunkuttiyara/Arduino,OpenDevice/Arduino,mateuszdw/Arduino,snargledorf/Arduino,chaveiro/Arduino,Ramoonus/Arduino,tbowmo/Arduino,vbextreme/A... | /* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
AvrdudeUploader - uploader implementation using avrdude
Part of the Arduino project - http://www.arduino.cc/
Copyright (c) 2004-05
Hernando Barragan
This program is free software; you can redistribute it and/or modify
it under the terms... | app/AvrdudeUploader.java | /* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
AvrdudeUploader - uploader implementation using avrdude
Part of the Arduino project - http://www.arduino.cc/
Copyright (c) 2004-05
Hernando Barragan
This program is free software; you can redistribute it and/or modify
it under the terms... | Explicitly specifying intel hex to avrdude so it's not confused by paths with :'s in them from Windows drive letters
| app/AvrdudeUploader.java | Explicitly specifying intel hex to avrdude so it's not confused by paths with :'s in them from Windows drive letters | <ide><path>pp/AvrdudeUploader.java
<ide> commandDownloader.add("-D");
<ide> if (!Preferences.getBoolean("upload.verify"))
<ide> commandDownloader.add("-V");
<del> commandDownloader.add("-Uflash:w:" + buildPath + File.separator + className + ".hex");
<add> commandDownloader.add("-Uflash:w:" + build... | |
Java | mit | 68b0ff6daee80d239046dc014f30750dec1b68b8 | 0 | AlmasB/FXGL,AlmasB/FXGL,AlmasB/FXGL,AlmasB/FXGL | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/
package com.almasb.fxgl.physics.box2d.collision;
import com.almasb.fxgl.core.math.Vec2;
import com.almasb.fxgl.physics.box2d.collision.Distance.SimplexCache;
import com.almasb.fxgl.phy... | fxgl-entity/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/
package com.almasb.fxgl.physics.box2d.collision;
import com.almasb.fxgl.core.math.Vec2;
import com.almasb.fxgl.physics.box2d.collision.Distance.SimplexCache;
import com.almasb.fxgl.phy... | refactor
| fxgl-entity/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java | refactor | <ide><path>xgl-entity/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java
<ide> * Used for computing contact manifolds.
<ide> */
<ide> private static class ClipVertex {
<del> public final Vec2 v;
<del> public final ContactID id;
<del>
<del> public ClipVertex() {
<del>... | |
Java | apache-2.0 | f61242e97e2f260451bd57ef3f51cf5dd0a04d11 | 0 | ivan-fedorov/intellij-community,MichaelNedzelsky/intellij-community,semonte/intellij-community,allotria/intellij-community,youdonghai/intellij-community,MER-GROUP/intellij-community,robovm/robovm-studio,jagguli/intellij-community,holmes/intellij-community,consulo/consulo,nicolargo/intellij-community,michaelgallacher/in... | /*
* Copyright (c) 2000-2007 JetBrains s.r.o. All Rights Reserved.
*/
package com.intellij.psi;
import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.meta.PsiMetaBaseOwner;
import com.intellij.psi.meta.PsiMetaDataBase;
import com.intellij.psi.scope.PsiScopePro... | codeInsight/impl/com/intellij/psi/AbstractQualifiedReference.java | /*
* Copyright (c) 2000-2007 JetBrains s.r.o. All Rights Reserved.
*/
package com.intellij.psi;
import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.meta.PsiMetaBaseOwner;
import com.intellij.psi.meta.PsiMetaDataBase;
import com.intellij.psi.scope.PsiScopePro... | IDEADEV-17519 Spring + aop: the implementation method name in execution expression used in @Pointcut is not resolved
| codeInsight/impl/com/intellij/psi/AbstractQualifiedReference.java | IDEADEV-17519 Spring + aop: the implementation method name in execution expression used in @Pointcut is not resolved | <ide><path>odeInsight/impl/com/intellij/psi/AbstractQualifiedReference.java
<ide> }
<ide>
<ide> public void handleEvent(final Event event, final Object associated) {
<del> if (event == Event.SET_CURRENT_FILE_CONTEXT && !myResults.isEmpty()) {
<add> if ((event == Event.SET_CURRENT_FILE_CONTEXT || even... | |
Java | apache-2.0 | 3f53007af6f2b4a7bcfcedd732a3e273c1ba1122 | 0 | 99soft/meiyo | /*
* Copyright 2010 The Meiyo Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | src/main/java/org/nnsoft/commons/meiyo/classpath/builder/ClassPathBuilder.java | /*
* Copyright 2010 The Meiyo Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | minor format | src/main/java/org/nnsoft/commons/meiyo/classpath/builder/ClassPathBuilder.java | minor format | <ide><path>rc/main/java/org/nnsoft/commons/meiyo/classpath/builder/ClassPathBuilder.java
<ide> import org.nnsoft.commons.meiyo.classpath.ClassPath;
<ide> import org.nnsoft.commons.meiyo.classpath.ErrorHandler;
<ide>
<del>
<ide> /**
<del> *
<del> * @version $Id$
<add> * TODO fill me
<ide> */
<ide> public final class ... | |
Java | apache-2.0 | 1080d01f248299e4b1b8a1f9033f63fba8069a49 | 0 | smartnews/presto,yuananf/presto,jiangyifangh/presto,miniway/presto,erichwang/presto,smartnews/presto,mandusm/presto,aramesh117/presto,yuananf/presto,treasure-data/presto,wagnermarkd/presto,jxiang/presto,sumitkgec/presto,nezihyigitbasi/presto,nezihyigitbasi/presto,wagnermarkd/presto,dain/presto,troels/nz-presto,jxiang/p... | /*
* 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
* distribut... | presto-hive/src/main/java/com/facebook/presto/hive/PrestoS3FileSystem.java | /*
* 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
* distribut... | Fail when encrypted objects don't have unencrypted length header
We now fail fast when an encrypted object doesn't have the
x-amz-unencrypted-content-length header as that will cause
problems when file formats try decoding them.
| presto-hive/src/main/java/com/facebook/presto/hive/PrestoS3FileSystem.java | Fail when encrypted objects don't have unencrypted length header | <ide><path>resto-hive/src/main/java/com/facebook/presto/hive/PrestoS3FileSystem.java
<ide> import java.util.Date;
<ide> import java.util.Iterator;
<ide> import java.util.List;
<add>import java.util.Map;
<ide> import java.util.Optional;
<ide>
<add>import static com.amazonaws.services.s3.Headers.SERVER_SIDE_ENCRYPTION;
... | |
Java | mit | 8624d1c3ae0b1008f3df276bc6a98696259a1566 | 0 | RocketChat/Rocket.Chat.Java.SDK | package com.rocketchat.core;
import com.rocketchat.common.RocketChatAuthException;
import com.rocketchat.common.SocketListener;
import com.rocketchat.common.data.CommonJsonAdapterFactory;
import com.rocketchat.common.data.TimestampAdapter;
import com.rocketchat.common.data.lightdb.DbManager;
import com.rocketchat.comm... | rocketchat-core/src/main/java/com/rocketchat/core/RocketChatClient.java | package com.rocketchat.core;
import com.rocketchat.common.RocketChatAuthException;
import com.rocketchat.common.SocketListener;
import com.rocketchat.common.data.CommonJsonAdapterFactory;
import com.rocketchat.common.data.TimestampAdapter;
import com.rocketchat.common.data.lightdb.DbManager;
import com.rocketchat.comm... | Remove the getRoomMembers method (Realtime API).
getRoomMembers will be done by the REST API.
| rocketchat-core/src/main/java/com/rocketchat/core/RocketChatClient.java | Remove the getRoomMembers method (Realtime API). | <ide><path>ocketchat-core/src/main/java/com/rocketchat/core/RocketChatClient.java
<ide> websocketImpl.getChatHistory(roomID, limit, oldestMessageTimestamp, lasttimestamp, callback);
<ide> }
<ide>
<del> void getRoomMembers(String roomID, Boolean allUsers, RoomCallback.GetMembersCallback callback) {
<del>... | |
Java | lgpl-2.1 | ae6cfb4c4da4dd5849e0b6168537a404eb419b4b | 0 | zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform | /*
* Copyright 2011, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | zanata-war/src/main/java/org/zanata/webtrans/client/presenter/ValidationOptionsPresenter.java | /*
* Copyright 2011, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | Work in progress: implementing validation report
| zanata-war/src/main/java/org/zanata/webtrans/client/presenter/ValidationOptionsPresenter.java | Work in progress: implementing validation report | <ide><path>anata-war/src/main/java/org/zanata/webtrans/client/presenter/ValidationOptionsPresenter.java
<ide> import net.customware.gwt.presenter.client.EventBus;
<ide> import net.customware.gwt.presenter.client.widget.WidgetPresenter;
<ide>
<add>import org.zanata.webtrans.client.events.NotificationEvent;
<add>import ... | |
Java | apache-2.0 | 4ab7681a508357f46706af54b3194900b85fdba3 | 0 | apache/openwebbeans,apache/openwebbeans,apache/openwebbeans | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. The ASF
* licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may n... | webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. The ASF
* licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may n... | Change info message to debug
git-svn-id: 6e2e506005f11016269006bf59d22f905406eeba@944809 13f79535-47bb-0310-9956-ffa450edef68
| webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java | Change info message to debug | <ide><path>ebbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
<ide> {
<ide> if(EJBWebBeansConfigurator.isSessionBean(implClass))
<ide> {
<del> logger.info(OWBLogConst.INFO_0010, new Object[]{implClas... | |
JavaScript | apache-2.0 | 7ccadb57fad73ffe84dbc73a43c7edaa64367f54 | 0 | membase/ns_server,membase/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,vzasade/ns_server,mschoch/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,daverigby/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,membase/ns_server,pavel-blagodov/ns_server,daverigby/ns_server,vzasade/ns_server,membase/ns_se... | /**
Copyright 2011 Couchbase, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | priv/public/js/servers.js | /**
Copyright 2011 Couchbase, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | MB-4215 Ignore empty pool details.
When pool details are undefined then UI changes correspondingly:
spinners appear and some of the buttons disappear. So it's very
unlikely to encounter a situation when poolDetails.value is
undefined. Thus we just ignore this.
Change-Id: I46ac38d5603c15440119ec0454a8a7a78da140e3
Revi... | priv/public/js/servers.js | MB-4215 Ignore empty pool details. | <ide><path>riv/public/js/servers.js
<ide> },
<ide> onRebalance: function () {
<ide> var self = this;
<add>
<add> if (!self.poolDetails.value) {
<add> return;
<add> }
<add>
<ide> self.postAndReload(self.poolDetails.value.controllers.rebalance.uri,
<ide> {knownNodes: _.pluck(... | |
Java | apache-2.0 | 594abcfd0a92efaf2712958b75a29d00f130fce0 | 0 | frekele/elasticsearch-mapping-builder,frekele/elasticsearch-mapping-builder | package org.frekele.elasticsearch;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.xcontent.XContentFactory;
import org.frekele.elasticsearch.annotations.ElasticDocument;
import org.frekele.elasticsearch.annotations.ElasticField;
import org.frekele.elasticsearch.exceptions.Inv... | src/main/java/org/frekele/elasticsearch/MappingBuilder.java | package org.frekele.elasticsearch;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.xcontent.XContentFactory;
import org.frekele.elasticsearch.annotations.ElasticDocument;
import org.frekele.elasticsearch.exceptions.InvalidDocumentClassException;
import java.io.IOException;
im... | implementing the build process.
| src/main/java/org/frekele/elasticsearch/MappingBuilder.java | implementing the build process. | <ide><path>rc/main/java/org/frekele/elasticsearch/MappingBuilder.java
<ide> import org.elasticsearch.common.xcontent.XContentBuilder;
<ide> import org.elasticsearch.common.xcontent.XContentFactory;
<ide> import org.frekele.elasticsearch.annotations.ElasticDocument;
<add>import org.frekele.elasticsearch.annotations.Elas... | |
JavaScript | mit | 9db9ffb094f888f69d2d2e01c3d5f738f20a7aa6 | 0 | finagin/Gulpfile.js,finagin/Gulpfile.js | "use strict";
var fs = require("fs"),
gulp = require("gulp"),
csso = require("gulp-csso"),
file = require('gulp-file'),
rimraf = require("gulp-rimraf"),
uglify = require("gulp-uglify"),
stylus = require("gulp-stylus"),
concat = require("gulp-concat"),
browserSync = require("browser-sync... | Gulpfile.js | "use strict";
var fs = require("fs"),
gulp = require("gulp"),
csso = require("gulp-csso"),
file = require('gulp-file'),
rimraf = require("gulp-rimraf"),
uglify = require("gulp-uglify"),
stylus = require("gulp-stylus"),
concat = require("gulp-concat"),
browserSync = require("browser-sync... | Gitignore settings
| Gulpfile.js | Gitignore settings | <ide><path>ulpfile.js
<ide> "proxy": {
<ide> "path": "localhost",
<ide> "port": 8888
<del> }
<add> },
<add> "gitignore": true
<ide> }
<ide> ),
<ide> path = {
<ide> exclude: function exclude() {
<ide> return ... | |
JavaScript | mit | d980db60bc1675c3000cf2ced5c8fe127d45797a | 0 | andreash92/andreasBot,andreash92/andreasBot,andreash92/andreasBot | // Commands:
// `github login`
// `github repos`
// `github open|closed|all issues of repo <repo_name>`
// `github commits of repo <repo_name>`
// `github issues of repo <repo_name>`
// `github issue <issue_num>` - get the the commit of the last repo lookup
// `github repo <repo_name> issue <issue_num> comments... | scripts/github-integration.js | // Commands:
// `github login`
// `github repos`
// `github open|closed|all issues of repo <repo_name>`
// `github commits of repo <repo_name>`
// `github issues of repo <repo_name>`
// `github issue <issue_num>` - get the the commit of the last repo lookup
// `github repo <repo_name> issue <issue_num> comments... | sunday work
| scripts/github-integration.js | sunday work | <ide><path>cripts/github-integration.js
<ide> if (issue.body) {
<ide> attachment.fields.push({
<ide> title: '',
<del> value: '```'+issue.body+'```',
<add> value: issue.body,
<ide> short: false
<ide> })
<ide> } | |
JavaScript | mit | 5890c4c2f50b3da6d2189f42e77563eea05658c0 | 0 | RyanGosden/react-poll,leo60228/HouseRuler,jamesrf/weddingwebsite,willchertoff/planner,kriasoft/react-static-boilerplate,srossross-tableau/hackathon,kriasoft/react-static-boilerplate,willchertoff/planner,jamesrf/weddingwebsite,lifeiscontent/OpenPoGoUI,kyoyadmoon/fuzzy-hw1,raffidil/garnanain,kyoyadmoon/fuzzy-hw1,koistya/... | /**
* React Static Boilerplate
* https://github.com/kriasoft/react-static-boilerplate
*
* Copyright © 2015-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React, { PropTypes }... | components/Button/Button.js | /**
* React Static Boilerplate
* https://github.com/kriasoft/react-static-boilerplate
*
* Copyright © 2015-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React, { PropTypes }... | Fix ESLint warnings in the Button component
| components/Button/Button.js | Fix ESLint warnings in the Button component | <ide><path>omponents/Button/Button.js
<ide> PropTypes.func,
<ide> ]),
<ide> type: PropTypes.oneOf(['raised', 'fab', 'mini-fab', 'icon']),
<add> to: PropTypes.oneOf([PropTypes.string, PropTypes.object]),
<add> href: PropTypes.string,
<ide> className: PropTypes.string,
<ide> colored: PropTypes... | |
Java | mit | 79f0a1ba3f0351d1b546ef065cdf56f8f6308029 | 0 | JGerdes/Schauburgr | package com.jonasgerdes.schauburgr.model.schauburg.parsing;
import android.text.Html;
import com.jonasgerdes.schauburgr.model.schauburg.entity.Movie;
import com.jonasgerdes.schauburgr.util.StringUtil;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import j... | app/src/main/java/com/jonasgerdes/schauburgr/model/schauburg/parsing/MovieParser.java | package com.jonasgerdes.schauburgr.model.schauburg.parsing;
import android.text.Html;
import com.jonasgerdes.schauburgr.model.schauburg.entity.Movie;
import com.jonasgerdes.schauburgr.util.StringUtil;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import j... | Improve parsing cast from description
| app/src/main/java/com/jonasgerdes/schauburgr/model/schauburg/parsing/MovieParser.java | Improve parsing cast from description | <ide><path>pp/src/main/java/com/jonasgerdes/schauburgr/model/schauburg/parsing/MovieParser.java
<ide> private static final String REGEX_STUB = "'.*?'";
<ide>
<ide> //description content patterns
<del> private static final String REGEX_DESCRIPTION_GENRE = "Genre:? (.*?)<br>";
<add> //find all "Genre: ... ... | |
JavaScript | mit | e8f821b16afbee5043c75212f6b5507cf66d09b6 | 0 | mathieumg/eslint-plugin-babel,zaygraveyard/eslint-plugin-babel | helpers.js | var _parse = require('babel-core').parse;
module.exports = {
parse: function(code){
var ast = null
try {
ast = _parse(code, { locations: true, ranges: true }).body[0] //unwrap body
}
catch (err){
console.warn(err)
}
return ast
}
} | remove helpers.js, which is unused
| helpers.js | remove helpers.js, which is unused | <ide><path>elpers.js
<del>var _parse = require('babel-core').parse;
<del>
<del>module.exports = {
<del> parse: function(code){
<del> var ast = null
<del> try {
<del> ast = _parse(code, { locations: true, ranges: true }).body[0] //unwrap body
<del> }
<del> catch (err){
<del> console.warn(err)
<del... | ||
Java | apache-2.0 | 89478966db1d9be013cd7a8bf0700bb0894f3ea6 | 0 | rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,rcordovano/autopsy,rcordovano/autopsy,wschaeferB/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,rcordovano/autopsy,esaunders/autopsy,wschaeferB/autopsy,esaunders/autopsy,esaunders/autopsy,rcordovano/autopsy,wschaeferB/autopsy | /*
* Autopsy Forensic Browser
*
* Copyright 2017-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionFileIngestModule.java | /*
* Autopsy Forensic Browser
*
* Copyright 2017-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | 4297 silence io, bufferunderflow, and indexoutofbounds exceptions from jackcess DatabaseBuilder.open
| Core/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionFileIngestModule.java | 4297 silence io, bufferunderflow, and indexoutofbounds exceptions from jackcess DatabaseBuilder.open | <ide><path>ore/src/org/sleuthkit/autopsy/modules/encryptiondetection/EncryptionDetectionFileIngestModule.java
<ide> import org.sleuthkit.datamodel.ReadContentInputStream;
<ide> import java.io.BufferedInputStream;
<ide> import java.io.InputStream;
<add>import java.nio.BufferUnderflowException;
<ide> import org.apache.ti... | |
Java | apache-2.0 | efaf68409bf98efcd4c880d6cd55be7632b65362 | 0 | apache/isis,apache/isis,apache/isis,apache/isis,apache/isis,apache/isis | /*
* 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")... | viewers/restfulobjects/rendering/src/main/java/org/apache/isis/viewer/restfulobjects/rendering/domainobjects/JsonValueEncoder_Converters.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")... | ISIS-3127: fixes prev. commit | viewers/restfulobjects/rendering/src/main/java/org/apache/isis/viewer/restfulobjects/rendering/domainobjects/JsonValueEncoder_Converters.java | ISIS-3127: fixes prev. commit | <ide><path>iewers/restfulobjects/rendering/src/main/java/org/apache/isis/viewer/restfulobjects/rendering/domainobjects/JsonValueEncoder_Converters.java
<ide> final JsonRepresentation repr, final boolean suppressExtensions) {
<ide> final Object obj = unwrapAsObjectElseNullNode(objectA... | |
Java | apache-2.0 | error: pathspec 'src/main/java/net/hamnaberg/json/extension/Errors.java' did not match any file(s) known to git
| 26c4e9684f17ba90ad2d7fda10c82c22632c21e2 | 1 | rayrc/json-collection,collection-json/collection-json.java,hamnis/json-collection | package net.hamnaberg.json.extension;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.A... | src/main/java/net/hamnaberg/json/extension/Errors.java | Errors extension.
| src/main/java/net/hamnaberg/json/extension/Errors.java | Errors extension. | <ide><path>rc/main/java/net/hamnaberg/json/extension/Errors.java
<add>package net.hamnaberg.json.extension;
<add>
<add>import java.util.ArrayList;
<add>import java.util.Collections;
<add>import java.util.HashMap;
<add>import java.util.Iterator;
<add>import java.util.LinkedHashMap;
<add>import java.util.List;
<add>impor... | |
Java | apache-2.0 | ae06d36a7382c58f8b5b775efd9e58559cbfe7bb | 0 | ivan-fedorov/intellij-community,Lekanich/intellij-community,adedayo/intellij-community,muntasirsyed/intellij-community,slisson/intellij-community,ThiagoGarciaAlves/intellij-community,muntasirsyed/intellij-community,youdonghai/intellij-community,ivan-fedorov/intellij-community,alphafoobar/intellij-community,blademainer/... | /*
* Copyright 2000-2014 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/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.java | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Cleanup (formatting)
| platform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.java | Cleanup (formatting) | <ide><path>latform/core-impl/src/com/intellij/ide/plugins/PluginManagerCore.java
<ide> descriptor = loadDescriptorFromDir(file, fileName);
<ide>
<ide> if (descriptor == null) {
<del> File libDir = new File(file, "lib");
<del> if (!libDir.isDirectory()) {
<del> return null;
<del> }... | |
Java | apache-2.0 | f09cfa2b66f02c3a735e02e72faab49b07534fe3 | 0 | rupertlssmith/lojix,rupertlssmith/lojix,rupertlssmith/lojix | /*
* Copyright The Sett Ltd, 2005 to 2014.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/machine/WAMResolvingJavaMachine.java | /*
* Copyright The Sett Ltd, 2005 to 2014.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | Added a guard onto tidy trail, so tidying only occurs when moving back to a previous choice point, not when discarding the last one.
| lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/machine/WAMResolvingJavaMachine.java | Added a guard onto tidy trail, so tidying only occurs when moving back to a previous choice point, not when discarding the last one. | <ide><path>ojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/machine/WAMResolvingJavaMachine.java
<ide> }
<ide> }
<ide>
<add> /**
<add> * Tidies trail when a choice point is being discarded, and a previous choice point it being made the current one.
<add> *
<add> * <p/>Copies trail bin... | |
Java | mit | 13c28ef03442e1a04b695553a6f4481d3656a208 | 0 | DeludedFruitcakesAnonymous/VelocityAngles | package ga.deluded_fruitcakes_anonymous.velocityangles;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.view.MotionEvent;
import android.view.View;
import ... | app/src/main/java/ga/deluded_fruitcakes_anonymous/velocityangles/GameView.java | package ga.deluded_fruitcakes_anonymous.velocityangles;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.view.MotionEvent;
import android.view.View;
import ... | FAT MAN
FAT MEN | app/src/main/java/ga/deluded_fruitcakes_anonymous/velocityangles/GameView.java | FAT MAN | <ide><path>pp/src/main/java/ga/deluded_fruitcakes_anonymous/velocityangles/GameView.java
<ide> String Message = "hello";
<ide> DrawableObject drawableObject;
<ide> PhysicalObject physicalObject;
<add> float x2;
<add> float y2;
<ide> Bitmap bitmapBase = BitmapFactory.decodeResource(getResources(), ... | |
Java | lgpl-2.1 | 3b6cff07f8335ca25d7bef7e155f855ea9b6130d | 0 | EnFlexIT/AgentWorkbench,EnFlexIT/AgentWorkbench,EnFlexIT/AgentWorkbench,EnFlexIT/AgentWorkbench | /**
* ***************************************************************
* Agent.GUI is a framework to develop Multi-agent based simulation
* applications based on the JADE - Framework in compliance with the
* FIPA specifications.
* Copyright (C) 2010 Christian Derksen and DAWIS
* http://www.dawis.wiwi.uni-due.de... | eclipseProjects/org.agentgui/bundles/org.agentgui.core/src/agentgui/envModel/graph/controller/ui/BasicGraphGui.java | /**
* ***************************************************************
* Agent.GUI is a framework to develop Multi-agent based simulation
* applications based on the JADE - Framework in compliance with the
* FIPA specifications.
* Copyright (C) 2010 Christian Derksen and DAWIS
* http://www.dawis.wiwi.uni-due.de... | Fixed strange color comparison problem | eclipseProjects/org.agentgui/bundles/org.agentgui.core/src/agentgui/envModel/graph/controller/ui/BasicGraphGui.java | Fixed strange color comparison problem | <ide><path>clipseProjects/org.agentgui/bundles/org.agentgui.core/src/agentgui/envModel/graph/controller/ui/BasicGraphGui.java
<ide> import java.awt.geom.Rectangle2D;
<ide> import java.awt.image.BufferedImage;
<ide> import java.io.File;
<add>import java.io.IOException;
<ide> import java.net.MalformedURLException;
<ide> ... | |
JavaScript | bsd-3-clause | a88c71cd5319c3523ce602a742e62dc5dc90d45a | 0 | rgrempel/core,alexiamcdonald/elm-core,isaacsanders/core,simonh1000/core,rick68/core,laszlopandy/core,Dandandan/core,suryagaddipati/core,bradurani/core,Pisys/core,vilterp/core,colinmccabe/core,colinmccabe/core,vilterp/core,rgrempel/core,ThomasWeiser/core,ThomasWeiser/core,simonh1000/core,Dandandan/core,laszlopandy/core,... | Elm.Native.Task = {};
Elm.Native.Task.make = function(localRuntime) {
localRuntime.Native = localRuntime.Native || {};
localRuntime.Native.Task = localRuntime.Native.Task || {};
if (localRuntime.Native.Task.values)
{
return localRuntime.Native.Task.values;
}
var Result = Elm.Result.make(localRuntime);
var Si... | src/Native/Task.js | Elm.Native.Task = {};
Elm.Native.Task.make = function(localRuntime) {
localRuntime.Native = localRuntime.Native || {};
localRuntime.Native.Task = localRuntime.Native.Task || {};
if (localRuntime.Native.Task.values)
{
return localRuntime.Native.Task.values;
}
var Result = Elm.Result.make(localRuntime);
var Si... | Fix undefined variable, wrong name
| src/Native/Task.js | Fix undefined variable, wrong name | <ide><path>rc/Native/Task.js
<ide> {
<ide> Signal = Elm.Native.Signal.make(localRuntime);
<ide> }
<del> Signal.output('perform-tasks-' + name, register, stream);
<add> Signal.output('perform-tasks-' + name, register, signal);
<ide>
<ide> return signal;
<ide> } | |
Java | mit | a6aa228378ef760de2dddf6e3f1dff9808d8b7f7 | 0 | DemigodsRPG/Demigods3 | package com.censoredsoftware.Demigods.Engine.Object.Player;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.bukkit.inventory.ItemStack;
import redis.clients.johm.*;
import com.censoredsoftware.Demigods.Engine.Demigods;
import com.censoredsoftware.Demigods.Engine.Object.Ability.Devot... | src/main/java/com/censoredsoftware/Demigods/Engine/Object/Player/PlayerCharacterMeta.java | package com.censoredsoftware.Demigods.Engine.Object.Player;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.bukkit.inventory.ItemStack;
import redis.clients.johm.*;
import com.censoredsoftware.Demigods.Engine.Demigods;
import com.censoredsoftware.Demigods.Engine.Object.Ability.Devot... | Not sure why that was there.
| src/main/java/com/censoredsoftware/Demigods/Engine/Object/Player/PlayerCharacterMeta.java | Not sure why that was there. | <ide><path>rc/main/java/com/censoredsoftware/Demigods/Engine/Object/Player/PlayerCharacterMeta.java
<ide> for(long bindId : this.bindingData.values())
<ide> {
<ide> DemigodsItemStack bind = DemigodsItemStack.load(bindId);
<del> if(item.getItemMeta().getLore().get(item.getItemMeta().getLore().size()).contains(b... | |
Java | apache-2.0 | dd167e1f716b265f056d7c6653c767f5bfd26eaf | 0 | apache/commons-bsf,apache/commons-bsf,apache/commons-bsf | /*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source c... | src/org/apache/bsf/engines/javascript/JavaScriptEngine.java | /*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source c... | Fix a build break in the Rhino engine; The EvaluatorException constructor
using a string argument only is now class protected, which means that we
must use the public constuctor. However, the public constructor requires
source and line number information...which makes no sense inside of a
call(). Punting for now...
g... | src/org/apache/bsf/engines/javascript/JavaScriptEngine.java | Fix a build break in the Rhino engine; The EvaluatorException constructor using a string argument only is now class protected, which means that we must use the public constuctor. However, the public constructor requires source and line number information...which makes no sense inside of a call(). Punting for now... | <ide><path>rc/org/apache/bsf/engines/javascript/JavaScriptEngine.java
<ide> // REMIND: convert arg list Vectors here?
<ide>
<ide> Object fun = global.get(method, global);
<add> // NOTE: Source and line arguments are nonsense in a call().
<add> // Any way to make thes... | |
Java | mit | error: pathspec 'src/main/java/dtprogrammer/github/io/common/TreeNode.java' did not match any file(s) known to git
| b5f6aab68554214802bcb629c61d83007699791e | 1 | dtprogrammer/leetcode-solutions | package dtprogrammer.github.io.common;
/**
* Leetcode TreeNode class for testing and dedbugging
*/
public class TreeNode {
public final int val;
public TreeNode left;
public TreeNode right;
public TreeNode(int val) {
this.val = val;
}
}
| src/main/java/dtprogrammer/github/io/common/TreeNode.java | Add TreeNode class
| src/main/java/dtprogrammer/github/io/common/TreeNode.java | Add TreeNode class | <ide><path>rc/main/java/dtprogrammer/github/io/common/TreeNode.java
<add>package dtprogrammer.github.io.common;
<add>
<add>/**
<add> * Leetcode TreeNode class for testing and dedbugging
<add> */
<add>public class TreeNode {
<add> public final int val;
<add> public TreeNode left;
<add> public TreeNode right;
<a... | |
Java | apache-2.0 | fbe277ac1fae4b03711b537ae35ae8a80b465053 | 0 | gabe-alex/ComputerAdaptiveTesting,gabe-alex/ComputerAdaptiveTesting | package com.policat.cat.services;
import com.policat.cat.entities.Answer;
import com.policat.cat.entities.Question;
import com.policat.cat.entities.Quiz;
import com.policat.cat.repositories.QuestionRepository;
import com.policat.cat.repositories.QuizRepository;
import com.policat.cat.temp_containers.OngoingQuiz;
impor... | src/main/java/com/policat/cat/services/QuizService.java | package com.policat.cat.services;
import com.policat.cat.entities.Answer;
import com.policat.cat.entities.Question;
import com.policat.cat.entities.Quiz;
import com.policat.cat.repositories.QuestionRepository;
import com.policat.cat.repositories.QuizRepository;
import com.policat.cat.temp_containers.OngoingQuiz;
impor... | Improved scoring algorithm
| src/main/java/com/policat/cat/services/QuizService.java | Improved scoring algorithm | <ide><path>rc/main/java/com/policat/cat/services/QuizService.java
<ide> public static final int MAX_QUESTION_SCORE = 5;
<ide> public static final int MIN_QUESTION_SCORE = 1;
<ide>
<add> public static final int START_QUESTION_SCORE = 3;
<add> public static final int NUM_SETUP_QUESTIONS = 2;
<add>
<ide> ... | |
Java | mit | 56ef64fb0384184fa8f81adeb93333c9ab971e87 | 0 | dscrobonia/appsensor,sanjaygouri/appsensor,jtmelton/appsensor,ProZachJ/appsensor,dscrobonia/appsensor,mahmoodm2/appsensor,mahmoodm2/appsensor,ashishmgupta/appsensor,jtmelton/appsensor,sanjaygouri/appsensor,mahmoodm2/appsensor,ProZachJ/appsensor,dscrobonia/appsensor,ProZachJ/appsensor,ashishmgupta/appsensor,jtmelton/app... | package org.owasp.appsensor.handler;
import java.util.Collection;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.core.Context;
im... | appsensor-ws-rest-server/src/main/java/org/owasp/appsensor/handler/RestRequestHandler.java | package org.owasp.appsensor.handler;
import java.util.Collection;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaTy... | use access control helper - clean up api usage | appsensor-ws-rest-server/src/main/java/org/owasp/appsensor/handler/RestRequestHandler.java | use access control helper - clean up api usage | <ide><path>ppsensor-ws-rest-server/src/main/java/org/owasp/appsensor/handler/RestRequestHandler.java
<ide>
<ide> import java.util.Collection;
<ide>
<add>import javax.ws.rs.Consumes;
<ide> import javax.ws.rs.GET;
<ide> import javax.ws.rs.POST;
<ide> import javax.ws.rs.Path;
<ide>
<ide> import org.owasp.appsensor.AppS... | |
JavaScript | mit | adc01f8c54bfd617a6359a3b9080f93a50d981f6 | 0 | apentu/apentu.github.io,apentu/apentu.github.io,apentu/apentu.github.io | "use strict";
if (!Array.from) {
Array.from = (function () {
var toStr = Object.prototype.toString;
var isCallable = function (fn) {
return typeof fn === 'function' || toStr.call(fn) === '[object Function]';
};
var toInteger = function (value) {
var number = Number(value);
if (isNaN... | assets/js/app.js | "use strict";
if (!Array.from) {
Array.from = (function () {
var toStr = Object.prototype.toString;
var isCallable = function (fn) {
return typeof fn === 'function' || toStr.call(fn) === '[object Function]';
};
var toInteger = function (value) {
var number = Number(value);
if (isNaN... | window height edit
| assets/js/app.js | window height edit | <ide><path>ssets/js/app.js
<ide>
<ide> var messages = Array.from(document.querySelectorAll('.messages li'));
<ide> var viewportHeight = window.innerHeight;
<add>console.log("Height = " + viewportHeight);
<ide>
<ide> var showHideMessage = function showHideMessage(scrollPosition) {
<ide> console.log("function ran"); | |
Java | mit | 6d397c7bddf31574ec254be2fbaf2b8e5db914bd | 0 | WatchBeam/interactive-minecraft | package pro.beam.minecraft.action;
import pro.beam.interactive.net.packet.Protocol;
public class TactileInput implements Input {
protected final int code;
protected final double threshold;
public TactileInput(int code, double threshold) {
this.code = code;
this.threshold = threshold;
... | src/main/java/pro/beam/minecraft/action/TactileInput.java | package pro.beam.minecraft.action;
import pro.beam.interactive.net.packet.Protocol;
public class TactileInput implements Input {
protected final int code;
protected final double threshold;
public TactileInput(int code, double threshold) {
this.code = code;
this.threshold = threshold;
... | Use PressFrequency analysis
| src/main/java/pro/beam/minecraft/action/TactileInput.java | Use PressFrequency analysis | <ide><path>rc/main/java/pro/beam/minecraft/action/TactileInput.java
<ide> @Override
<ide> public boolean isMet(Protocol.Report report) {
<ide> for (Protocol.Report.TactileInfo info : report.getTactileList()) {
<del> double holding = info.getHolding() / report.getUsers().getActive();
<del> ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.