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 | 742a66e1565b5fc7caa161edaef758cf39d1aa62 | 0 | prakashraja89/Gooru-Conversion-API | /*******************************************************************************
* ConversionServiceImpl.java
* conversion-app
* Created by Gooru on 2014
* Copyright (c) 2014 Gooru. All rights reserved.
* http://www.goorulearning.org/
*
* Permission is hereby granted, free of charge, to any
* pers... | conversion-app/src/main/java/org/ednovo/gooru/converter/service/ConversionServiceImpl.java | /*******************************************************************************
* ConversionServiceImpl.java
* conversion-app
* Created by Gooru on 2014
* Copyright (c) 2014 Gooru. All rights reserved.
* http://www.goorulearning.org/
*
* Permission is hereby granted, free of charge, to any
* pers... | Resolved in file move another directory
| conversion-app/src/main/java/org/ednovo/gooru/converter/service/ConversionServiceImpl.java | Resolved in file move another directory | <ide><path>onversion-app/src/main/java/org/ednovo/gooru/converter/service/ConversionServiceImpl.java
<ide> try {
<ide> data = new JSONObject(new JSONSerializer().serialize(conversion));
<ide> data.put("eventName", "convert.docToPdf");
<add>
<ide> try {
<ide> if (conversion != null) {
<ide> OfficeMan... | |
Java | apache-2.0 | fda567b4e2a36b5f537b73835aaa4c87c21acf02 | 0 | vibur/vibur-dbcp | /**
* Copyright 2013 Simeon Malchev
*
* 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 ... | src/main/java/org/vibur/dbcp/ViburDBCPDataSource.java | /**
* Copyright 2013 Simeon Malchev
*
* 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 ... | fixing issue #5, configureFromProperties throws Exception when configured as JNDI resource.
| src/main/java/org/vibur/dbcp/ViburDBCPDataSource.java | fixing issue #5, configureFromProperties throws Exception when configured as JNDI resource. | <ide><path>rc/main/java/org/vibur/dbcp/ViburDBCPDataSource.java
<ide> import java.sql.Connection;
<ide> import java.sql.SQLException;
<ide> import java.sql.SQLFeatureNotSupportedException;
<del>import java.util.Map;
<del>import java.util.Properties;
<add>import java.util.*;
<ide> import java.util.logging.Logger;
<ide> ... | |
JavaScript | bsd-3-clause | 22a7a9cb368ad5d6132115f85f5ce1bf8f134110 | 0 | kitsonk/delite,Sam-Cummins/delite,Sam-Cummins/delite,harbalk/delite,kitsonk/delite,harbalk/delite | dojo.provide("dijit._base.manager");
dojo.declare("dijit.WidgetSet", null, {
// summary:
// A set of widgets indexed by id. A default instance of this class is
// available as `dijit.registry`
//
// example:
// Create a small list of widgets:
// | var ws = new dijit.WidgetSet();
// | ws.add(dijit.byId("on... | _base/manager.js | dojo.provide("dijit._base.manager");
dojo.declare("dijit.WidgetSet", null, {
// summary:
// A set of widgets indexed by id. A default instance of this class is
// available as `dijit.registry`
//
// example:
// Create a small list of widgets:
// | var ws = new dijit.WidgetSet();
// | ws.add(dijit.byId("on... | More performance tweaks for manager.js, fixes #9915 !strict.
Needed to tweak robot too so that dijit.byId() in the robot test files will still find widgets w/in the iframe (that loads the URL).
git-svn-id: 674a2d6b1e32e53f607eb824547723f32280967e@20981 560b804f-0ae3-0310-86f3-f6aa0a117693
| _base/manager.js | More performance tweaks for manager.js, fixes #9915 !strict. | <ide><path>base/manager.js
<ide>
<ide> });
<ide>
<del>/*=====
<del>dijit.registry = {
<del> // summary:
<del> // A list of widgets on a page.
<del> // description:
<del> // Is an instance of `dijit.WidgetSet`
<del>};
<del>=====*/
<del>dijit.registry= new dijit.WidgetSet();
<del>
<del>dijit._widgetTypeCtr = {};
<del... | |
Java | apache-2.0 | 165ded8ac6d1e544f3254d531e91f2c19265f5d0 | 0 | GoogleCloudPlatform/appengine-java-standard,GoogleCloudPlatform/appengine-java-standard,GoogleCloudPlatform/appengine-java-standard,GoogleCloudPlatform/appengine-java-standard | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | api_dev/src/main/java/com/google/appengine/tools/development/StreamHandlerFactory.java | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Internal change
PiperOrigin-RevId: 473134154
Change-Id: I53279c9206e5f0149fae7b79354b9c2afcc45461
| api_dev/src/main/java/com/google/appengine/tools/development/StreamHandlerFactory.java | Internal change | <ide><path>pi_dev/src/main/java/com/google/appengine/tools/development/StreamHandlerFactory.java
<ide>
<ide> package com.google.appengine.tools.development;
<ide>
<add>import java.lang.reflect.AccessibleObject;
<ide> import java.lang.reflect.Field;
<ide> import java.lang.reflect.InvocationTargetException;
<ide> impor... | |
Java | mit | f41dc700328c752bfed345c2a4aeedb11b19e27e | 0 | pgentile/zucchini-ui,jeremiemarc/zucchini-ui,pgentile/zucchini-ui,jeremiemarc/zucchini-ui,pgentile/zucchini-ui,pgentile/zucchini-ui,pgentile/tests-cucumber,jeremiemarc/zucchini-ui,pgentile/tests-cucumber,pgentile/tests-cucumber,jeremiemarc/zucchini-ui,pgentile/tests-cucumber,pgentile/zucchini-ui | package io.testscucumber.capsule;
import io.dropwizard.Application;
import io.dropwizard.assets.AssetsBundle;
import io.dropwizard.server.AbstractServerFactory;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import io.testscucumber.backend.BackendBundle;
import io.testscucumber.backend.s... | tests-cucumber-capsule/src/main/java/io/testscucumber/capsule/TestsCucumberApplication.java | package io.testscucumber.capsule;
import io.dropwizard.Application;
import io.dropwizard.assets.AssetsBundle;
import io.dropwizard.server.AbstractServerFactory;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import io.testscucumber.backend.BackendBundle;
import io.testscucumber.backend.s... | Redirect to "/ui/" when calling "/ui"
| tests-cucumber-capsule/src/main/java/io/testscucumber/capsule/TestsCucumberApplication.java | Redirect to "/ui/" when calling "/ui" | <ide><path>ests-cucumber-capsule/src/main/java/io/testscucumber/capsule/TestsCucumberApplication.java
<ide> // Redirect to UI
<ide> final ServletHolder redirectServletHolder = new ServletHolder(new RedirectServlet("/ui/"));
<ide> environment.getApplicationContext().addServlet(redirectServletHold... | |
JavaScript | apache-2.0 | a6c972d1ebd4db0464963b2bfd32863fcac985ed | 0 | implydata/laborer,implydata/laborer | 'use strict';
var fs = require('fs');
var path = require('path');
var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
var autoprefixer = require('autoprefixer');
var merge = require('merge-stream');
var del = require('del');
var typescript = require('typescript');
var tsLintConfig = require('./tsl... | laborer.js | 'use strict';
var fs = require('fs');
var path = require('path');
var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
var autoprefixer = require('autoprefixer');
var merge = require('merge-stream');
var del = require('del');
var typescript = require('typescript');
var tsLintConfig = require('./tsl... | Fixed missing $
| laborer.js | Fixed missing $ | <ide><path>aborer.js
<ide> return function() {
<ide> return gulp.src('./build/utils/**/*.mocha.js', {read: false})
<ide> // gulp-mocha needs filepaths so you can't have any plugins before it
<del> .pipe(mocha(mochaParams));
<add> .pipe($.mocha(mochaParams));
<ide> };
<ide> };
<ide>
<ide> retu... | |
Java | apache-2.0 | 0a3c2e19db7e6b6dd33fcbbcb6c3c10096907691 | 0 | hjwylde/whiley-compiler,hjwylde/whiley-compiler,hjwylde/whiley-compiler,Whiley/WhileyCompiler,hjwylde/whiley-compiler,hjwylde/whiley-compiler | // Copyright (c) 2011, David J. Pearce (David J. Pearce@ecs.vuw.ac.nz)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyrig... | src/wyil/lang/Code.java | // Copyright (c) 2011, David J. Pearce (djp@ecs.vuw.ac.nz)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// ... | A little more documentation.
| src/wyil/lang/Code.java | A little more documentation. | <ide><path>rc/wyil/lang/Code.java
<del>// Copyright (c) 2011, David J. Pearce (djp@ecs.vuw.ac.nz)
<add>// Copyright (c) 2011, David J. Pearce (David J. Pearce@ecs.vuw.ac.nz)
<ide> // All rights reserved.
<ide> //
<ide> // Redistribution and use in source and binary forms, with or without
<ide> * </p>
<ide> *
<ide>... | |
Java | apache-2.0 | 6426bf10871060f1112548e21bf297a0ad9e0294 | 0 | webanno/webanno,webanno/webanno,webanno/webanno,webanno/webanno | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | webanno-webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/dialog/OpenModalWindowPanel.java | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | #141 - github - When a project is changed, clear the default annotation
layer | webanno-webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/dialog/OpenModalWindowPanel.java | #141 - github - When a project is changed, clear the default annotation layer | <ide><path>ebanno-webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/dialog/OpenModalWindowPanel.java
<ide> // Dialog is for annotation or curation
<ide>
<ide> private final Mode mode;
<del> private final BratAnnotatorModel bratAnnotatorModel;
<add> private final BratAnnotatorModel bModel;
<id... | |
Java | mit | 6b4d95cb795a57287d6fcc9a09637824a5429325 | 0 | aJanuary/argparse4j,aJanuary/argparse4j,aJanuary/argparse4j,aJanuary/argparse4j | /*
* 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/main/java/net/sourceforge/argparse4j/internal/TerminalWidth.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 ... | fix for NPE if there is no PATH env var
| src/main/java/net/sourceforge/argparse4j/internal/TerminalWidth.java | fix for NPE if there is no PATH env var | <ide><path>rc/main/java/net/sourceforge/argparse4j/internal/TerminalWidth.java
<ide>
<ide> private File which(String cmd) throws IOException {
<ide> String path = System.getenv("PATH");
<del> for (String dir : path.split(Pattern.quote(File.pathSeparator))) {
<del> File command = new File(... | |
JavaScript | apache-2.0 | ed0b9f2c4cbc50296f41e7446343ce708b658771 | 0 | TanayParikh/foam2,TanayParikh/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,TanayParikh/foam2,TanayParikh/foam2,foam-framework/foam2,foam-framework/foam2 | /**
* @license
* Copyright 2016 Google 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 requir... | test/src/lib/dao.js | /**
* @license
* Copyright 2016 Google 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 requir... | Final DAO related __context__ removals in tests
| test/src/lib/dao.js | Final DAO related __context__ removals in tests | <ide><path>est/src/lib/dao.js
<ide> var sink = foam.dao.PredicatedSink.create({
<ide> predicate: fakePredicate,
<ide> delegate: foam.dao.ArraySink.create()
<del> }, foam.__context__);
<add> });
<ide>
<ide> var a = test.CompA.create({ id: 0, a: 3 }, foam.__context__);
<ide> var b = test.Co... | |
Java | apache-2.0 | ea20d67545facb2080fcd771bab7399827713ae3 | 0 | datazup/dzupper-expression | package base;
import junit.framework.Assert;
import org.datazup.utils.DateTimeUtils;
import org.datazup.utils.JsonUtils;
import org.joda.time.DateTime;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
/**
* Created by ninel on 11/30/16.
*/
public class OtherTest {
@Test
public void d... | src/test/java/base/OtherTest.java | package base;
import junit.framework.Assert;
import org.datazup.utils.DateTimeUtils;
import org.joda.time.DateTime;
import org.junit.Test;
/**
* Created by ninel on 11/30/16.
*/
public class OtherTest {
@Test
public void dateTimeTwitterFormatTest(){
Object twitterCreatedAt = "Wed Aug 27 13:08:45 +0... | small test for other types
| src/test/java/base/OtherTest.java | small test for other types | <ide><path>rc/test/java/base/OtherTest.java
<ide>
<ide> import junit.framework.Assert;
<ide> import org.datazup.utils.DateTimeUtils;
<add>import org.datazup.utils.JsonUtils;
<ide> import org.joda.time.DateTime;
<ide> import org.junit.Test;
<add>
<add>import java.util.HashMap;
<add>import java.util.Map;
<ide>
<ide> /*... | |
Java | lgpl-2.1 | 51902180143966446edcb60deda1f48a861a92fa | 0 | cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl | package org.cytoscape.search.internal.util;
/*
* #%L
* Cytoscape Search Impl (search-impl)
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2006 - 2013 The Cytoscape Consortium
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as... | search-impl/src/main/java/org/cytoscape/search/internal/util/EnhancedSearchUtils.java | package org.cytoscape.search.internal.util;
/*
* #%L
* Cytoscape Search Impl (search-impl)
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2006 - 2013 The Cytoscape Consortium
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as... | switched code to use StringBuilder which is more efficient
| search-impl/src/main/java/org/cytoscape/search/internal/util/EnhancedSearchUtils.java | switched code to use StringBuilder which is more efficient | <ide><path>earch-impl/src/main/java/org/cytoscape/search/internal/util/EnhancedSearchUtils.java
<ide> * Replaces whitespace characters with underline. Method: Search for
<ide> * SEARCH_STRING, replace with REPLACE_STRING.
<ide> */
<del> public static String replaceWhitespace(String searchTerm) {
<del> String rep... | |
Java | apache-2.0 | d0b4bdb24e77a08181e07f13d7c5794d39c6203c | 0 | tweise/apex-core,mattqzhang/apex-core,deepak-narkhede/apex-core,vrozov/apex-core,mattqzhang/apex-core,deepak-narkhede/apex-core,devtagare/incubator-apex-core,brightchen/incubator-apex-core,devtagare/incubator-apex-core,brightchen/apex-core,sandeshh/apex-core,PramodSSImmaneni/incubator-apex-core,chinmaykolhatkar/incubat... | /**
* 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... | engine/src/main/java/com/datatorrent/stram/plan/physical/PhysicalPlan.java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | Fix rawtype warnings.
| engine/src/main/java/com/datatorrent/stram/plan/physical/PhysicalPlan.java | Fix rawtype warnings. | <ide><path>ngine/src/main/java/com/datatorrent/stram/plan/physical/PhysicalPlan.java
<ide> p.statsListeners = this.statsHandlers;
<ide> }
<ide>
<add> /**
<add> * Return all partitions and unifiers, except MxN unifiers
<add> * @return
<add> */
<ide> private Collection<PTOperator> getAllOper... | |
JavaScript | apache-2.0 | d03724fd498bf1a9806b4626efa94036767ee33d | 0 | odf/webGavrog,odf/webGavrog | 'use strict';
var I = require('immutable');
var isElement = function isElement(dsImpl, D) {
return typeof D == 'number' && D >= 1 && D <= dsImpl.size;
};
var elements = function elements(dsImpl) {
return I.Range(1, dsImpl.size+1);
};
var isIndex = function isIndex(dsImpl, i) {
return typeof i == 'number' && ... | src/dsymbol.js | 'use strict';
var I = require('immutable');
var isElement = function isElement(dsImpl, D) {
return typeof D == 'number' && D >= 1 && D <= dsImpl.size;
};
var elements = function elements(dsImpl) {
return I.Range(1, dsImpl.size+1);
};
var isIndex = function isIndex(dsImpl, i) {
return typeof i == 'number' && ... | fix the size function and export more things
| src/dsymbol.js | fix the size function and export more things | <ide><path>rc/dsymbol.js
<ide>
<ide>
<ide> var size = function size(ds) {
<del> return ds.elements().size - 1;
<add> return ds.elements().size;
<ide> };
<ide>
<ide>
<ide>
<ide> module.exports = {
<ide> fromData : fromData,
<del> fromString: fromString
<add> fromString: fromString,
<add>
<add> isElement : f... | |
Java | apache-2.0 | e7a9feeab2ffd07644f6bc83e164552c05be0880 | 0 | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | /**
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* T... | javav2/example_code/lambda/src/main/java/com/example/lambda/DeleteFunction.java | /**
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* T... | Update DeleteFunction.java | javav2/example_code/lambda/src/main/java/com/example/lambda/DeleteFunction.java | Update DeleteFunction.java | <ide><path>avav2/example_code/lambda/src/main/java/com/example/lambda/DeleteFunction.java
<ide> // snippet-sourceauthor:[AWS-scmacdon]
<ide>
<ide>
<del>// snippet-start:[lambda.Java.DeleteFunction.complete]
<add>// snippet-start:[lambda.java2.DeleteFunction.complete]
<ide> package com.example.lambda;
<ide>
<ide> // ... | |
JavaScript | apache-2.0 | 201a9d761aae3b12fafb7e683c1c5eeda5f427f8 | 0 | cbeust/cedCube,cbeust/cedCube,cbeust/cedCube,cbeust/cedCube | /**
* Created by cedricbeust on 2/19/17.
*/
var cubitSize = 90;
TransparentCube = function(passedWidth, passedHeight, startString, nodeId) {
this.width = passedWidth;
this.height = passedHeight;
this.isAnimated = false;
var mapping = [
{x: -1, y: 1, z: 1, front: 0, top: 42, left: 29},
... | js/TransparentCube.js | /**
* Created by cedricbeust on 2/19/17.
*/
var cubitSize = 90;
TransparentCube = function(passedWidth, passedHeight, startString, nodeId) {
this.width = passedWidth;
this.height = passedHeight;
this.isAnimated = false;
var mapping = [
{x: -1, y: 1, z: 1, front: 0, top: 42, left: 29},
... | Turn on antialias.
| js/TransparentCube.js | Turn on antialias. | <ide><path>s/TransparentCube.js
<ide> };
<ide>
<ide> this.init = function() {
<del> this.renderer = new THREE.WebGLRenderer();
<ide> this.scene = new THREE.Scene();
<ide>
<ide> // camera
<ide> // this.camera.position.z = 540;
<ide> this.camera.lookAt(new THREE.Vector3(0,... | |
Java | bsd-3-clause | bc740f3f97544db1bf16816658c8d0b143b94c17 | 0 | tcoxon/metazelda,Ryan1729/metazelda | package net.bytten.metazelda;
public class Room {
public Condition precond;
public final Coords coords;
protected Symbol item;
protected Edge[] edges; // index with Direction.{N,E,S,W}
public Room(Coords coords, Symbol item, Condition precond) {
this.coords = coords;
this.item... | src/net/bytten/metazelda/Room.java | package net.bytten.metazelda;
import java.util.Random;
public class Room {
public Condition precond;
public final Coords coords;
protected Symbol item;
protected Edge[] edges; // index with Direction.{N,E,S,W}
public Room(Coords coords, Symbol item, Condition precond) {
this.coords =... | Remove unused method on Room.
| src/net/bytten/metazelda/Room.java | Remove unused method on Room. | <ide><path>rc/net/bytten/metazelda/Room.java
<ide> package net.bytten.metazelda;
<del>
<del>import java.util.Random;
<ide>
<ide> public class Room {
<ide>
<ide> return item != null && item.isGoal();
<ide> }
<ide>
<del> public Integer getRandomFreeEdgeDirection(Random rand) {
<del> // Return... | |
Java | agpl-3.0 | 837dfd5917a6e3d0f40cf2cc938c5437e8b55077 | 0 | roidelapluie/Gadgetbridge,rosenpin/Gadgetbridge,roidelapluie/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,ivanovlev/Gadgetbridge,rosenpin/Gadgetbridge,ivanovlev/Gadgetbridge,rosenpin/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,roidelapluie/Gadgetbridge,ivanovlev/Gadgetbr... | package nodomain.freeyourgadget.gadgetbridge.activities.appmanager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.supp... | app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/appmanager/AbstractAppManagerFragment.java | package nodomain.freeyourgadget.gadgetbridge.activities.appmanager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.supp... | Pebble: fix Pebble Health vanishing when deactivating
| app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/appmanager/AbstractAppManagerFragment.java | Pebble: fix Pebble Health vanishing when deactivating | <ide><path>pp/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/appmanager/AbstractAppManagerFragment.java
<ide>
<ide> public boolean onContextItemSelected(MenuItem item, GBDeviceApp selectedApp) {
<ide> switch (item.getItemId()) {
<del> case R.id.appmanager_health_deactivate:
<ide> ... | |
JavaScript | mit | 43e84b7e0f80ec767e404e27fc4ebef5927afe94 | 0 | arik-le/A-Home-For-Every-Child,arik-le/A-Home-For-Every-Child | var usersManagement = function()
{
const FAIL = -1;
const ADDPAGE = 1;
const EDITPAGE = 2;
const OS_TYPE = 3;
var clubhousesInfo = []; // key and name
var page;
var addPrevType;
var AddSectionClubName;
var EditSectionClubName;
var clubIndex_Edit;
var socialPrevCH_edit=[];
var userToEdit;
//-----------... | app/public/js/Management/usersManagement.js | var usersManagement = function()
{
const FAIL = -1;
const ADDPAGE = 1;
const EDITPAGE = 2;
const OS_TYPE = 3;
var clubhousesInfo = []; // key and name
var page;
var addPrevType;
var AddSectionClubName;
var EditSectionClubName;
var clubIndex_Edit;
var userToEdit;
//--------------------------------------... | social worker edit update - remain small bug after push
| app/public/js/Management/usersManagement.js | social worker edit update - remain small bug after push | <ide><path>pp/public/js/Management/usersManagement.js
<ide> var AddSectionClubName;
<ide> var EditSectionClubName;
<ide> var clubIndex_Edit;
<add> var socialPrevCH_edit=[];
<ide> var userToEdit;
<ide> //-------------------------------------------------------------------------------------------------
<ide> var... | |
JavaScript | isc | 2d5c0320909d611be407ea5205c41481d425d6a3 | 0 | qubz/qubz.github.io | // Constants
var w = 600;
var h = 600;
var padding = 60;
var radius = 15;
// Global vars
var data = []; // the datajoin object for d3
var tags; // Tag wieghts for sliders
var users; // user data (index corresponds to that of points.json)
var points; // points (index corresponds to the users from user_data.json)
// F... | scripts/visualisation_io.js | // Constants
var w = 600;
var h = 600;
var padding = 60;
var radius = 15;
// Global vars
var data = []; // the datajoin object for d3
var tags; // Tag wieghts for sliders
var users; // user data (index corresponds to that of points.json)
var points; // points (index corresponds to the users from user_data.json)
// F... | Updated io script to new CSS
| scripts/visualisation_io.js | Updated io script to new CSS | <ide><path>cripts/visualisation_io.js
<ide>
<ide> // ~~~~~~~~~~~~~~~~~~~~~~~~~~d3 stuff~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<ide>
<del> var svg = d3.select("#plot")
<add> var svg = d3.select("#map")
<ide> .append("svg")
<ide> .attr("width", w)
<ide> .attr("height", h); | |
Java | apache-2.0 | e54c4ca6e911418051d19f6100296e9a8bdb5f63 | 0 | blademainer/intellij-community,allotria/intellij-community,vvv1559/intellij-community,ryano144/intellij-community,suncycheng/intellij-community,nicolargo/intellij-community,fitermay/intellij-community,hurricup/intellij-community,ernestp/consulo,petteyg/intellij-community,holmes/intellij-community,ftomassetti/intellij-c... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/LibraryRootsComponent.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 'attach from repository' button restored
| java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/LibraryRootsComponent.java | 'attach from repository' button restored | <ide><path>ava/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/LibraryRootsComponent.java
<ide>
<ide> myRemoveButton.addActionListener(new RemoveAction());
<ide> final LibraryTableAttachHandler[] handlers = LibraryTableAttachHandler.EP_NAME.getExtensions();
<del> if (handlers.length ==... | |
Java | mit | d0b5fa8d0779244c9903fcf12033ce92df941ad4 | 0 | json-iterator/java | package com.jsoniter;
import com.jsoniter.any.Any;
import com.jsoniter.spi.JsonException;
import com.jsoniter.spi.Slice;
import java.io.IOException;
class IterImplForStreaming {
public static final int readObjectFieldAsHash(JsonIterator iter) throws IOException {
if (nextToken(iter) != '"') {
... | src/main/java/com/jsoniter/IterImplForStreaming.java | package com.jsoniter;
import com.jsoniter.any.Any;
import com.jsoniter.spi.JsonException;
import com.jsoniter.spi.Slice;
import java.io.IOException;
class IterImplForStreaming {
public static final int readObjectFieldAsHash(JsonIterator iter) throws IOException {
if (nextToken(iter) != '"') {
... | Rewrote part of keepSkippedBytesThenRead function to get rid of duplicity and while keeping exactly same semantics.
| src/main/java/com/jsoniter/IterImplForStreaming.java | Rewrote part of keepSkippedBytesThenRead function to get rid of duplicity and while keeping exactly same semantics. | <ide><path>rc/main/java/com/jsoniter/IterImplForStreaming.java
<ide> }
<ide>
<ide> private static boolean keepSkippedBytesThenRead(JsonIterator iter) throws IOException {
<del> int n;
<del> int offset;
<add> int offset = iter.tail - iter.skipStartedAt;
<add> byte[] srcBuffer = iter.... | |
Java | apache-2.0 | dc246d2c4f9923d45f1e747cb95cdef2cc43b4a6 | 0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core | package info.u_team.u_team_core.util;
import java.util.Random;
import net.minecraft.util.math.Vec3d;
public class MathUtil {
public static final Random RANDOM = new Random();
public static Vec3d rotateVectorAroundYCC(Vec3d vec, double angle) {
return rotateVectorCC(vec, new Vec3d(0, 1, 0), angle);... | src/main/java/info/u_team/u_team_core/util/MathUtil.java | package info.u_team.u_team_core.util;
import java.util.Random;
import net.minecraft.util.math.Vec3d;
public class MathUtil {
public static final Random RANDOM = new Random();
public static Vec3d rotateVectorAroundYCC(Vec3d vec, double angle) {
return rotateVectorCC(vec, new Vec3d(0, 1, 0), angle);... | Change method name of the randomNumerInRange and remove get | src/main/java/info/u_team/u_team_core/util/MathUtil.java | Change method name of the randomNumerInRange and remove get | <ide><path>rc/main/java/info/u_team/u_team_core/util/MathUtil.java
<ide> return random.nextDouble() * (max - min) + min;
<ide> }
<ide>
<add> ///
<add> public static int randomNumberInRange(int min, int max) {
<add> return randomNumberInRange(RANDOM, min, max);
<add> }
<add>
<add> public static int randomNumberIn... | |
Java | mit | b5a74e69c9661f55afc219b7cd4704663919bf6a | 0 | spartan55/teste3Travis | public class Bubble implements SortElements {
@Override
public void sortItems(Integer[] elementos) {
Integer aux;
for (Integer i = 0; i < elementos.length - 1; i++) {
for (Integer j = 0; j < elementos.length - 1; j++) {
if (elementos[j].compareTo(elementos[j + 1]) ==... | src/cc/engeld/Bubble.java | package cc.engeld;
public class Bubble implements SortElements {
@Override
public void sortItems(Integer[] elementos) {
Integer aux;
for (Integer i = 0; i < elementos.length - 1; i++) {
for (Integer j = 0; j < elementos.length - 1; j++) {
if (elementos[j].compareTo(... | Update Bubble.java | src/cc/engeld/Bubble.java | Update Bubble.java | <ide><path>rc/cc/engeld/Bubble.java
<del>package cc.engeld;
<del>
<ide> public class Bubble implements SortElements {
<ide>
<ide> @Override | |
Java | apache-2.0 | c86116ff3f1f94a61dbc56b66a4603d840df8fb4 | 0 | takahashikzn/indolently,takahashikzn/indolently | // Copyright 2014 takahashikzn
//
// 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 wri... | src/main/java/jp/root42/indolently/Scol.java | // Copyright 2014 takahashikzn
//
// 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 wri... | javadoc | src/main/java/jp/root42/indolently/Scol.java | javadoc | <ide><path>rc/main/java/jp/root42/indolently/Scol.java
<ide> *
<ide> * @param f function
<ide> * @return result value
<del> * @throws NoSuchElementException the collection size is less than two
<add> * @throws NoSuchElementException this collection is empty
<add> * @see #mapred(Function, BiFu... | |
Java | agpl-3.0 | 310bb378e933de6d299da0325b6e6dc4d16a24d9 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | 11a249a4-2e62-11e5-9284-b827eb9e62be | hello.java | 119c90b8-2e62-11e5-9284-b827eb9e62be | 11a249a4-2e62-11e5-9284-b827eb9e62be | hello.java | 11a249a4-2e62-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>119c90b8-2e62-11e5-9284-b827eb9e62be
<add>11a249a4-2e62-11e5-9284-b827eb9e62be | |
Java | unlicense | error: pathspec 'src/model/ChaveAcesso.java' did not match any file(s) known to git
| 1a96dd497ab4f15c5a5706a56dcbf19b76d743c9 | 1 | crisstanza/Replacer,crisstanza/Replacer,crisstanza/Replacer | package model;
public final class ChaveAcesso {
}
| src/model/ChaveAcesso.java | One more model. | src/model/ChaveAcesso.java | One more model. | <ide><path>rc/model/ChaveAcesso.java
<add>package model;
<add>
<add>public final class ChaveAcesso {
<add>
<add>} | |
Java | mit | 974f68d85f492a70fdb6224fd057cee6b3d07778 | 0 | uiucGSLIS/ir-tools,uiucGSLIS/ir-tools | package edu.gslis.textrepresentation;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import lemurproject.indri.DocumentVector;
import lemurproject.indri.ParsedDocument;
import lemurproject.indri.QueryEnvironment;
import edu.gslis.utils.Stopper;
/**
* Basic class for handling interactions... | src/main/java/edu/gslis/textrepresentation/IndriDocument.java | package edu.gslis.textrepresentation;
import java.util.HashMap;
import java.util.Map;
import lemurproject.indri.DocumentVector;
import lemurproject.indri.ParsedDocument;
import lemurproject.indri.QueryEnvironment;
import edu.gslis.utils.Stopper;
/**
* Basic class for handling interactions with an indri index pert... | Changed term positions from map to list | src/main/java/edu/gslis/textrepresentation/IndriDocument.java | Changed term positions from map to list | <ide><path>rc/main/java/edu/gslis/textrepresentation/IndriDocument.java
<ide> package edu.gslis.textrepresentation;
<ide>
<del>import java.util.HashMap;
<add>import java.util.ArrayList;
<add>import java.util.List;
<ide> import java.util.Map;
<ide>
<ide> import lemurproject.indri.DocumentVector;
<ide> }
<ide>
<ide>... | |
Java | epl-1.0 | 710ea04a3fa3d4285af498f0c805674eeea97961 | 0 | usethesource/rascal-value | package io.usethesource.vallang.util;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentLinkedDeque;
public class WeakWriteLockingHashConsingMap<T> implements HashConsingMap<T> {
... | src/main/java/io/usethesource/vallang/util/WeakWriteLockingHashConsingMap.java | package io.usethesource.vallang.util;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentLinkedDeque;
public class WeakWriteLockingHashConsingMap<T> implements HashConsingMap<T> {
... | Optimized equals method inside wrapped containers
| src/main/java/io/usethesource/vallang/util/WeakWriteLockingHashConsingMap.java | Optimized equals method inside wrapped containers | <ide><path>rc/main/java/io/usethesource/vallang/util/WeakWriteLockingHashConsingMap.java
<ide> public int hashCode() {
<ide> return hash;
<ide> }
<add>
<ide> @SuppressWarnings("unchecked")
<ide> @Override
<ide> public boolean equals(Object obj) {
<del> if (... | |
Java | apache-2.0 | 62f076f1396250260a91a803f29d09d16ebd13d6 | 0 | prestodb/presto,prestodb/presto,prestodb/presto,prestodb/presto,prestodb/presto,prestodb/presto | /*
* 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-router/src/test/java/com/facebook/presto/router/TestClusterManager.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... | Disable Presto router's flaky test
| presto-router/src/test/java/com/facebook/presto/router/TestClusterManager.java | Disable Presto router's flaky test | <ide><path>resto-router/src/test/java/com/facebook/presto/router/TestClusterManager.java
<ide> lifeCycleManager.stop();
<ide> }
<ide>
<del> @Test
<add> @Test(enabled = false)
<ide> public void testQuery()
<ide> throws Exception
<ide> { | |
Java | apache-2.0 | a764864a1d5c03e35422feb480417e9b4e13c2d5 | 0 | wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia | package org.wikipedia.page.bottomcontent;
import android.app.Activity;
import android.content.Context;
import android.graphics.Paint;
import android.net.Uri;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
import android.util.AttributeSet;
import android.view.View;
import android.view.Vie... | app/src/main/java/org/wikipedia/page/bottomcontent/BottomContentView.java | package org.wikipedia.page.bottomcontent;
import android.app.Activity;
import android.content.Context;
import android.graphics.Paint;
import android.net.Uri;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
import android.util.AttributeSet;
import android.view.View;
import android.view.Vie... | Checkstyle linting
| app/src/main/java/org/wikipedia/page/bottomcontent/BottomContentView.java | Checkstyle linting | <ide><path>pp/src/main/java/org/wikipedia/page/bottomcontent/BottomContentView.java
<ide> import android.view.ViewGroup;
<ide> import android.webkit.WebView;
<ide> import android.widget.BaseAdapter;
<del>import android.widget.ImageView;
<ide> import android.widget.ListView;
<ide> import android.widget.TextView;
<ide> | |
Java | apache-2.0 | 2455ed30c55c248c0c57c9a77742975249b53fcf | 0 | nikita36078/J2ME-Loader,nikita36078/J2ME-Loader,nikita36078/J2ME-Loader,nikita36078/J2ME-Loader | /*
* Copyright 2012 Kulikov Dmitriy
* Copyright 2017-2018 Nikita Shakarun
* Copyright 2021 Yury Kharchenko
*
* 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.o... | app/src/main/java/javax/microedition/lcdui/keyboard/VirtualKeyboard.java | /*
* Copyright 2012 Kulikov Dmitriy
* Copyright 2017-2018 Nikita Shakarun
* Copyright 2021 Yury Kharchenko
*
* 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.o... | Fix DualKey hashcodes
| app/src/main/java/javax/microedition/lcdui/keyboard/VirtualKeyboard.java | Fix DualKey hashcodes | <ide><path>pp/src/main/java/javax/microedition/lcdui/keyboard/VirtualKeyboard.java
<ide> public boolean keyPressed(int keyCode) {
<ide> int hashCode = 31 * (31 + keyCode);
<ide> for (VirtualKey key : keypad) {
<del> if (key.hashCode == hashCode) {
<add> if (key.hashCode() == hashCode) {
<ide> key.selected ... | |
Java | apache-2.0 | 4bccb8cb04eb64698e2ad224a7135a27f794a164 | 0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core | package info.u_team.u_team_test.screen;
import org.apache.logging.log4j.*;
import com.mojang.blaze3d.matrix.MatrixStack;
import info.u_team.u_team_core.gui.elements.*;
import info.u_team.u_team_core.gui.renderer.*;
import info.u_team.u_team_core.util.RGBA;
import info.u_team.u_team_test.TestMod;
import net.minecraft... | src/test/java/info/u_team/u_team_test/screen/ButtonTestScreen.java | package info.u_team.u_team_test.screen;
import org.apache.logging.log4j.*;
import com.mojang.blaze3d.matrix.MatrixStack;
import info.u_team.u_team_core.gui.elements.*;
import info.u_team.u_team_core.gui.renderer.*;
import info.u_team.u_team_core.util.RGBA;
import info.u_team.u_team_test.TestMod;
import net.minecraft... | Add all buttons again | src/test/java/info/u_team/u_team_test/screen/ButtonTestScreen.java | Add all buttons again | <ide><path>rc/test/java/info/u_team/u_team_test/screen/ButtonTestScreen.java
<ide> });
<ide>
<ide> // Image Activatable Button Test
<del> final ImageActivatableButton imageActivatableButton = addButton(new ImageActivatableButton(10, 90, 20, 20, TEXTURE1, false, new RGBA(0x006442FF)));
<add> final ImageActivata... | |
Java | mit | 8dff8c411f03bb1de222500208c11dcdf4f808f7 | 0 | gfneto/Hive2Hive,Hive2Hive/Hive2Hive | package org.hive2hive.core.network.data.vdht;
import java.io.IOException;
import java.security.KeyPair;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.NavigableMap;
import java.util.Random;
import java.util.Set;
import java.util.TreeMap;
impor... | org.hive2hive.core/src/main/java/org/hive2hive/core/network/data/vdht/VersionManager.java | package org.hive2hive.core.network.data.vdht;
import java.io.IOException;
import java.security.KeyPair;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.NavigableMap;
import java.util.Random;
import java.util.Set;
import java.util.TreeMap;
impor... | Swap order of static and final | org.hive2hive.core/src/main/java/org/hive2hive/core/network/data/vdht/VersionManager.java | Swap order of static and final | <ide><path>rg.hive2hive.core/src/main/java/org/hive2hive/core/network/data/vdht/VersionManager.java
<ide> private final Random random = new Random();
<ide>
<ide> // limit constants
<del> private final static int getFailedLimit = 2;
<del> private final static int forkAfterGetLimit = 2;
<del> private final static int ... | |
Java | apache-2.0 | e620177d07f93c0af07e56afc93509e777accd9c | 0 | apache/groovy,apache/groovy,paulk-asert/groovy,apache/groovy,apache/incubator-groovy,apache/groovy,apache/incubator-groovy,apache/incubator-groovy,apache/incubator-groovy,paulk-asert/groovy,paulk-asert/groovy,paulk-asert/groovy | /*
* 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")... | src/main/java/groovy/lang/NumberRange.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")... | GROOVY-9649: Fixed NumberRange.get not throwing at certain conditions
With ranges like 0G<..<1G, the get method would erroneously return 1G
instead of throwing an exception. This commit fixes that by directly
incrementing the current value in the iterator instead of next() call.
| src/main/java/groovy/lang/NumberRange.java | GROOVY-9649: Fixed NumberRange.get not throwing at certain conditions | <ide><path>rc/main/java/groovy/lang/NumberRange.java
<ide> // make the first fetch lazy too
<ide> next = isAscending ? range.getFrom() : range.getTo();
<ide> if (!range.inclusiveLeft) {
<del> next = next();
<add> n... | |
JavaScript | lgpl-2.1 | 842de7302f33f28b55fcb592028c3f3cfff56a90 | 0 | christinedt/p5.js,sakshamsaxena/p5.js,wufengyi/p5.js,charneykaye/p5.js,indefinit/p5.js,limzykenneth/p5.js,shiffman/p5.js,johnpasquarello/p5.js,spasmsaps/p5.js,Real-Currents/p5.js,therewasaguy/p5.js,Mohammed90/p5.js,dieface/p5.js,plural/p5.js,workergnome/p5.js,workergnome/p5.js,RomainRouphael/p5.js,kennethdmiller3/p5.js... | (function(exports) {
//////////////////////////////////////
////
//// CURRENT PROCESSING API
////
//////////////////////////////////////
//////////////////////////////////////
//// STRUCTURE
//////////////////////////////////////
exports.draw; // needed?
exports.setup; // needed?
function noLoo... | lib/pjs.js | (function(exports) {
//////////////////////////////////////
////
//// CURRENT PROCESSING API
////
//////////////////////////////////////
//////////////////////////////////////
//// STRUCTURE
//////////////////////////////////////
exports.draw; // needed?
exports.setup; // needed?
function noLoo... | changing createImage (for dom elt) to createDOMImage to avoid overlap with canvas / PGraphics createImage
| lib/pjs.js | changing createImage (for dom elt) to createDOMImage to avoid overlap with canvas / PGraphics createImage | <ide><path>ib/pjs.js
<ide> //////////////////////////////////////
<ide>
<ide> //// TEXT AREA ///////////////////////
<del>
<add> exports.print = function(s) {
<add> console.log(s);
<add> }
<ide> exports.println = function(s) {
<ide> console.log(s);
<ide> }
<ide> this.pixels = [];
<ide> this.up... | |
Java | apache-2.0 | 04adea3e049cdef9da9c0e70a801833b2850ffc2 | 0 | thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck | /*
* Copyright (C) 2003 EBI, GRL
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
*
* This library is dist... | src/org/ensembl/healthcheck/testcase/generic/ComparePreviousVersionBase.java | /*
* Copyright (C) 2003 EBI, GRL
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
*
* This library is dist... | no need to report every single region which did not change in a relevant fashion
| src/org/ensembl/healthcheck/testcase/generic/ComparePreviousVersionBase.java | no need to report every single region which did not change in a relevant fashion | <ide><path>rc/org/ensembl/healthcheck/testcase/generic/ComparePreviousVersionBase.java
<ide> (((double) currentCount / (double) secondaryCount)) > (1 / threshold())) {
<ide> ReportManager.problem(this, dbre.getConnection(), sec.getName() + " only has " + secondaryCount + " " + entityDescription() + " " + key... | |
Java | bsd-3-clause | 811cb6706e4e316a01cf635c48393bf9ad529a59 | 0 | edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon | /*
Copyright (c) 2000-2012 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitat... | plugins/test/src/org/lockss/plugin/igiglobal/TestIgiGlobalArticleIteratorFactory.java | /*
Copyright (c) 2000-2012 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitat... | Add files to test, insert text to scrape, use iterator for articles to test
pdf filename scraping code
git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@30188 4f837ed2-42f5-46e7-a7a5-fa17313484d4
| plugins/test/src/org/lockss/plugin/igiglobal/TestIgiGlobalArticleIteratorFactory.java | Add files to test, insert text to scrape, use iterator for articles to test pdf filename scraping code | <ide><path>lugins/test/src/org/lockss/plugin/igiglobal/TestIgiGlobalArticleIteratorFactory.java
<ide>
<ide> package org.lockss.plugin.igiglobal;
<ide>
<add>import java.io.ByteArrayInputStream;
<ide> import java.util.Iterator;
<ide> import java.util.Stack;
<ide> import java.util.regex.Pattern;
<ide> import org.lockss.... | |
Java | agpl-3.0 | 3eff78ff3879ed231bf81b8d05950d7b999802aa | 0 | cinquin/mutinack,cinquin/mutinack,cinquin/mutinack,cinquin/mutinack,cinquin/mutinack | /**
* Mutinack mutation detection program.
* Copyright (C) 2014-2016 Olivier Cinquin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3.
*
* This program is distributed i... | src/uk/org/cinquin/mutinack/SubAnalyzer.java | /**
* Mutinack mutation detection program.
* Copyright (C) 2014-2016 Olivier Cinquin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3.
*
* This program is distributed i... | Silence warning.
| src/uk/org/cinquin/mutinack/SubAnalyzer.java | Silence warning. | <ide><path>rc/uk/org/cinquin/mutinack/SubAnalyzer.java
<ide> //stats.nVariableBarcodeCandidateExaminations.increment(location);
<ide>
<ide> boolean forceGrouping = false;
<del> if (duplex.allRecords.detect(drRec -> drRec.record.getReadName().equals(r.getReadName())) != null) {
<add> if (Util.nullableify(dupl... | |
Java | apache-2.0 | d1df20e8b815d231fdb8411296506cd669b8791f | 0 | akosyakov/intellij-community,izonder/intellij-community,pwoodworth/intellij-community,dslomov/intellij-community,diorcety/intellij-community,xfournet/intellij-community,salguarnieri/intellij-community,signed/intellij-community,dslomov/intellij-community,ibinti/intellij-community,asedunov/intellij-community,ol-loginov/i... | package com.intellij.psi.impl.source.xml;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.PsiRecursiveElementVisitor;
import com.intellij.psi.PsiReferenceExpression;
import com.intell... | source/com/intellij/psi/impl/source/xml/XmlDocumentImpl.java | package com.intellij.psi.impl.source.xml;
import com.intellij.ant.impl.dom.xmlBridge.AntDOMNSDescriptor;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.fileTypes.StdFileTypes;
import com.intellij.psi.*;
import com.intellij.psi.impl.meta.MetaRegistry;
import com.intellij.psi.impl.source.tree... | XmlDocument changes now send XML events
| source/com/intellij/psi/impl/source/xml/XmlDocumentImpl.java | XmlDocument changes now send XML events | <ide><path>ource/com/intellij/psi/impl/source/xml/XmlDocumentImpl.java
<ide> package com.intellij.psi.impl.source.xml;
<ide>
<del>import com.intellij.ant.impl.dom.xmlBridge.AntDOMNSDescriptor;
<add>import com.intellij.lang.ASTNode;
<ide> import com.intellij.openapi.diagnostic.Logger;
<del>import com.intellij.openapi.f... | |
JavaScript | isc | a91ab18ebde2357170a69f2e6cd06445ece56453 | 0 | bhj/karaoke-forever,bhj/karaoke-forever | import React, { PropTypes } from 'react'
import SongItem from '../SongItem'
class SongList extends React.Component {
static propTypes = {
fetchSongs: PropTypes.func.isRequired,
songs: PropTypes.array,
isFetching: PropTypes.bool.isRequired
}
render () {
if (!this.props.songs || this.props.isFetch... | src/routes/Library/routes/Songs/components/SongList/SongList.js | import React, { PropTypes } from 'react'
import SongItem from '../SongItem'
class SongList extends React.Component {
static propTypes = {
fetchSongs: PropTypes.func.isRequired,
songs: PropTypes.object,
isFetching: PropTypes.bool.isRequired
}
render () {
if (!this.props.songs || this.props.isFetc... | Fix propType
| src/routes/Library/routes/Songs/components/SongList/SongList.js | Fix propType | <ide><path>rc/routes/Library/routes/Songs/components/SongList/SongList.js
<ide> class SongList extends React.Component {
<ide> static propTypes = {
<ide> fetchSongs: PropTypes.func.isRequired,
<del> songs: PropTypes.object,
<add> songs: PropTypes.array,
<ide> isFetching: PropTypes.bool.isRequired
<ide> ... | |
Java | apache-2.0 | error: pathspec 'jmeter-parallel-http/src/test/java/com/blazemeter/jmeter/http/ParallelHTTPSamplerMock.java' did not match any file(s) known to git
| 1fd64300aa444d044033fb001e8a018ac2e14a3a | 1 | Blazemeter/jmeter-bzm-plugins,Blazemeter/jmeter-bzm-plugins | package com.blazemeter.jmeter.http;
import org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl;
import org.apache.jmeter.protocol.http.sampler.HTTPSampleResult;
import org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase;
import java.net.URL;
public class ParallelHTTPSamplerMock extends ParallelHTTPSampler {... | jmeter-parallel-http/src/test/java/com/blazemeter/jmeter/http/ParallelHTTPSamplerMock.java | add mock file
| jmeter-parallel-http/src/test/java/com/blazemeter/jmeter/http/ParallelHTTPSamplerMock.java | add mock file | <ide><path>meter-parallel-http/src/test/java/com/blazemeter/jmeter/http/ParallelHTTPSamplerMock.java
<add>package com.blazemeter.jmeter.http;
<add>
<add>import org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl;
<add>import org.apache.jmeter.protocol.http.sampler.HTTPSampleResult;
<add>import org.apache.jmeter.pr... | |
Java | apache-2.0 | a5a5d9690e92294720e5fdd8ed1d930af5f2cd3c | 0 | wuwen5/mybatis-3,shurun19851206/mybaties,yankee42/mybatis-3,fangjz/mybatis-3,gdarmont/mybatis-3,harawata/mybatis-3,jeasonyoung/mybatis-3,gigold/mybatis-3,harawata/mybatis-3,huitutu/mybatis-3,mway08/mybatis-3,jackgao2016/mybatis-3_site,open-source-explore/mybatis-3,hazendaz/mybatis-3,fengsmith/mybatis-3,jingyuzhu/mybati... | /*
* Copyright 2009-2012 The MyBatis 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 requ... | src/test/java/org/apache/ibatis/binding/BindingTest.java | /*
* Copyright 2009-2012 The MyBatis 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 requ... | Forgot to commit the test, related to http://code.google.com/p/mybatis/issues/detail?id=734
| src/test/java/org/apache/ibatis/binding/BindingTest.java | Forgot to commit the test, related to http://code.google.com/p/mybatis/issues/detail?id=734 | <ide><path>rc/test/java/org/apache/ibatis/binding/BindingTest.java
<ide> import static org.junit.Assert.assertFalse;
<ide> import static org.junit.Assert.assertNotNull;
<ide> import static org.junit.Assert.assertTrue;
<add>import static org.junit.Assert.assertNotSame;
<ide> import static org.junit.Assert.assertSame;
<i... | |
JavaScript | mit | 5685d48efffe68b6fa6efe88b33058f67dbb275a | 0 | juice-project/juice,juice-project/juice,juice-project/juice,juice-project/juice | function talis_prism_metadef(){
juice.findMeta("isbns",".item #details .table .ISBN",juice.stringToAlphnumAray);
juice.findMeta("isbn",".item #details .table .ISBN");
juice.findMeta("author",".item .summary .author .author");
juice.findMeta("title",".item .summary .title");
juice.findMeta("shelfmark","#availabil... | metadefs/talis_prism_metadef.js | function talis_prism_metadef(){
juice.findMeta("isbns",".item > #details .table .ISBN",juice.stringToAlphnumAray);
juice.findMeta("isbn",".item > #details .table .ISBN");
juice.findMeta("author",".item > .summary .author > .author");
juice.findMeta("title",".item > .summary > .title");
juice.findMeta("shelfmark","... | updated Prism 3 metadefs to work with page reworking | metadefs/talis_prism_metadef.js | updated Prism 3 metadefs to work with page reworking | <ide><path>etadefs/talis_prism_metadef.js
<ide> function talis_prism_metadef(){
<del> juice.findMeta("isbns",".item > #details .table .ISBN",juice.stringToAlphnumAray);
<del> juice.findMeta("isbn",".item > #details .table .ISBN");
<del> juice.findMeta("author",".item > .summary .author > .author");
<del> juice.findMeta... | |
Java | mit | 2d75298f4382bd8763d8aaef5af3f1ec9b99f7f1 | 0 | sk89q/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper | package com.laytonsmith.PureUtilities.ClassLoading.ClassMirror;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import com.laytonsmith.PureUtilities.Common.StringUtils;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.ClassVisitor;
import or... | src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/ClassMirrorVisitor.java | package com.laytonsmith.PureUtilities.ClassLoading.ClassMirror;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import com.google.common.base.Preconditions;
import com.laytonsmith.PureUtilities.Common.StringUtils;
import org.objectweb.asm.AnnotationVisitor;
imp... | Remove random dependency on Guava
| src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/ClassMirrorVisitor.java | Remove random dependency on Guava | <ide><path>rc/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/ClassMirrorVisitor.java
<ide> import java.util.List;
<ide> import java.util.regex.Pattern;
<ide>
<del>import com.google.common.base.Preconditions;
<ide> import com.laytonsmith.PureUtilities.Common.StringUtils;
<ide>
<ide> import org.object... | |
Java | apache-2.0 | c71e125ca297798785598f3234ba9ff28b84a54e | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.log;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Attachment;
import com.intellij.openapi.diagnostic.Logger;
import com.intelli... | plugins/git4idea/src/git4idea/log/GitLogProvider.java | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.log;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Attachment;
import com.intellij.openapi.diagnostic.Logger;
import com.intelli... | [git] cleanup: use ContainerUtil.map
| plugins/git4idea/src/git4idea/log/GitLogProvider.java | [git] cleanup: use ContainerUtil.map | <ide><path>lugins/git4idea/src/git4idea/log/GitLogProvider.java
<ide> filterParameters.add(prepareParameter("author", StringUtil.join(authors, "|")));
<ide> }
<ide> else {
<del> filterParameters.addAll(authors.stream().map(a -> prepareParameter("author", a)).collect(Collectors.toList(... | |
Java | mit | 07ff9343eb092e7422fa93bef36b7d61e1f81e2a | 0 | alx77-demo/demo |
public class DemoApp {
public static void main(String[] args) {
OutputManager om = new OutputManager();
om.echo();
// TODO Auto-generated method stub
System.out.println("Hi there!");
System.out.println("doorsfan912873192387");
System.out.println("One more time");
System.out.println(... | DemoApp/src/DemoApp.java |
public class DemoApp {
public static void main(String[] args) {
OutputManager om = new OutputManager();
om.echo();
// TODO Auto-generated method stub
System.out.println("Hi there!");
System.out.println("912873192387");
System.out.println("One more time");
System.out.println("d00rsfa... | mycomm | DemoApp/src/DemoApp.java | mycomm | <ide><path>emoApp/src/DemoApp.java
<ide> om.echo();
<ide> // TODO Auto-generated method stub
<ide> System.out.println("Hi there!");
<del> System.out.println("912873192387");
<add> System.out.println("doorsfan912873192387");
<ide> System.out.println("One more time");
<ide>
<ide> | |
Java | apache-2.0 | 4abd0bac0d3bda5ce21128da3b55406fd06ea55b | 0 | apache/manifoldcf,cogfor/mcf-cogfor,gladyscarrizales/manifoldcf,apache/manifoldcf,gladyscarrizales/manifoldcf,gladyscarrizales/manifoldcf,gladyscarrizales/manifoldcf,gladyscarrizales/manifoldcf,gladyscarrizales/manifoldcf,cogfor/mcf-cogfor,cogfor/mcf-cogfor,kishorejangid/manifoldcf,apache/manifoldcf,apache/manifoldcf,a... | /**
* 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 not u... | connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/OpenSearchServerConnector.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 not u... | UI error due to NPE; broken as part of CONNECTORS-335, fixed now.
git-svn-id: 0503cfb7d358eaa9bd718f348f448f10022ea703@1225560 13f79535-47bb-0310-9956-ffa450edef68
| connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/OpenSearchServerConnector.java | UI error due to NPE; broken as part of CONNECTORS-335, fixed now. | <ide><path>onnectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/OpenSearchServerConnector.java
<ide> */
<ide> private static void outputResource(String resName, IHTTPOutput out,
<ide> Locale locale, OpenSearchServerParam params) throws ManifoldCFException {
... | |
Java | apache-2.0 | 39ed7bdf558cd8286e62492f6c91d2af73f807aa | 0 | apache/commons-beanutils,mohanaraosv/commons-beanutils,apache/commons-beanutils,apache/commons-beanutils,mohanaraosv/commons-beanutils,mohanaraosv/commons-beanutils | /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java,v 1.4 2001/05/21 04:20:21 craigmcc Exp $
* $Revision: 1.4 $
* $Date: 2001/05/21 04:20:21 $
*
* ===================================================================... | src/java/org/apache/commons/beanutils/BeanUtils.java | /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java,v 1.3 2001/04/16 16:30:12 craigmcc Exp $
* $Revision: 1.3 $
* $Date: 2001/04/16 16:30:12 $
*
* ===================================================================... | Collections.EMPTY_MAP was added in JDK 1.3. Replace it with something
that will compile in JDK 1.2 environments.
Submitted by: Kelvin Ho <Kelvin_Ho@cgu.com.au>
git-svn-id: 695e8515a9258845e6163903654874b217615ba0@128478 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/commons/beanutils/BeanUtils.java | Collections.EMPTY_MAP was added in JDK 1.3. Replace it with something that will compile in JDK 1.2 environments. Submitted by: Kelvin Ho <Kelvin_Ho@cgu.com.au> | <ide><path>rc/java/org/apache/commons/beanutils/BeanUtils.java
<ide> /*
<del> * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java,v 1.3 2001/04/16 16:30:12 craigmcc Exp $
<del> * $Revision: 1.3 $
<del> * $Date: 2001/04/16 ... | |
Java | apache-2.0 | 45a6a3505cb6da87c316abac5a294b4a4aaf9089 | 0 | KouChengjian/acg12-android | package com.acg12.lib.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewStub;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressB... | acg12/lib_common/src/main/java/com/acg12/lib/widget/TipLayoutView.java | package com.acg12.lib.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewStub;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressB... | fix:修改占位布局
| acg12/lib_common/src/main/java/com/acg12/lib/widget/TipLayoutView.java | fix:修改占位布局 | <ide><path>cg12/lib_common/src/main/java/com/acg12/lib/widget/TipLayoutView.java
<ide> }
<ide>
<ide> /**
<del> * 显示没有网络
<add> * 显示加载失败
<ide> */
<ide> public void showLoginError() {
<ide> resetStatus();
<ide> }
<ide>
<ide> /**
<add> * 显示空数据且存在刷新按钮
<add> */
<add> publ... | |
JavaScript | apache-2.0 | a7eff4d520f70533d2534a796b8249ac47cc951e | 0 | DuoSoftware/DVP-Apps,DuoSoftware/DVP-Apps | /**
* Created by Pawan on 1/14/2016.
*/
(function () {
var Userobj;
var dbservice = function ($http,$mdDialog,$mdMedia){
var getUserList = function () {
return $http({
method: 'GET',
url: "http://clusterconfig.104.131.67.21.xip.io/DVP/API/1.0.0.0/CloudConfiguration/CloudEndUsers",
... | DVP-CloudEnduserManager/scripts/services/DBservice.js | /**
* Created by Pawan on 1/14/2016.
*/
(function () {
var Userobj;
var dbservice = function ($http,$mdDialog,$mdMedia){
var getUserList = function () {
return $http({
method: 'GET',
url: "http://clusterconfig.104.131.67.21.xip.io/DVP/API/1.0.0.0/CloudConfiguration/CloudEndUsers",
... | updated
| DVP-CloudEnduserManager/scripts/services/DBservice.js | updated | <ide><path>VP-CloudEnduserManager/scripts/services/DBservice.js
<ide> data:user
<ide> }).then(function(response)
<ide> {
<del> response.id=user;
<ide> return response;
<ide> });
<ide> | |
JavaScript | mit | dd51e9b6dce8d2ec9e603355032405ab1c2f2cdd | 0 | GGAlanSmithee/Entities,GGAlanSmithee/Entities | import EntityManager from './Entity';
export default class EventHandler {
constructor() {
this.events = new Map();
}
emptyPromise() {
return new Promise(function(resolve, reject) {
resolve();
});
}
promise(callback, context, args, timeout) {
if ... | src/core/Event.js | import EntityManager from './Entity';
export default class EventHandler {
constructor() {
this.events = new Map();
}
emptyPromise() {
return new Promise(function(resolve, reject) {
resolve();
});
}
promise(callback, context, args, timeout) {
if ... | removes left over console.log
| src/core/Event.js | removes left over console.log | <ide><path>rc/core/Event.js
<ide> let event = Array.prototype.splice.call(args, 0, 1)[0];
<ide> let timeout = Array.prototype.splice.call(args, 0, 1)[0];
<ide>
<del> console.log(event, timeout);
<del>
<ide> let self = this instanceof EntityManager ? this.eventHandler :... | |
Java | apache-2.0 | ba728b2a2b0d70cf526a0a54fbcdc7ce889b36b3 | 0 | MuirDH/Miwok | package com.example.android.miwok;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.widget.LinearLayout;
import android.widget.TextView;
import java.util.ArrayList;
import static com.example.android.miwok.R.id.rootView;
public class ... | app/src/main/java/com/example/android/miwok/NumbersActivity.java | package com.example.android.miwok;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.widget.LinearLayout;
import android.widget.TextView;
import java.util.ArrayList;
public class NumbersActivity extends AppCompatActivity {
@Overri... | Pull out the ArrayList and for loop into its own method
| app/src/main/java/com/example/android/miwok/NumbersActivity.java | Pull out the ArrayList and for loop into its own method | <ide><path>pp/src/main/java/com/example/android/miwok/NumbersActivity.java
<ide>
<ide> import java.util.ArrayList;
<ide>
<add>import static com.example.android.miwok.R.id.rootView;
<add>
<ide> public class NumbersActivity extends AppCompatActivity {
<ide>
<ide> @Override
<ide> setContentView(R.layout.act... | |
JavaScript | mit | f3e0dc9cefc18e2b0c9f12cd06551534d59a96bf | 0 | plaid/plaid-node,hellodigit/plaid-node-1 | var _ = require('underscore')
, async = require('async')
, request = require('request')
, qs = require('querystring')
, defaults = require('./defaults')
, forms = require('forms')
, fields = forms.fields;
/*
TODO
Getting options from multiple functions
Handle MFA
have testi... | lib/client.js | var _ = require('underscore')
, async = require('async')
, request = require('request')
, qs = require('querystring')
, defaults = require('./defaults')
, forms = require('forms')
, fields = forms.fields;
/*
TODO
Getting options from multiple functions
Handle MFA
have testi... | fix mfa response
| lib/client.js | fix mfa response | <ide><path>ib/client.js
<ide> uri += "?"+qs.stringify(query);
<ide>
<ide> var self = this;
<del>
<add>
<ide> request(
<ide> { method: this.config.endpoint[method].method
<ide> , uri: uri
<ide>
<ide> if(this.body.status === 'MFA')
<ide> return this._handleMFA(callback);
<del>
<del> return call... | |
Java | apache-2.0 | 51a205920f241eb5fa91d5f220e3ee0a7a573190 | 0 | ChunPIG/sigar,abhinavmishra14/sigar,monicasarbu/sigar,scouter-project/sigar,OlegYch/sigar,monicasarbu/sigar,hyperic/sigar,scouter-project/sigar,hyperic/sigar,ruleless/sigar,monicasarbu/sigar,ruleless/sigar,ruleless/sigar,racker/sigar,hyperic/sigar,formicary/sigar,hyperic/sigar,kaustavha/sigar,monicasarbu/sigar,lsjeng/s... | /*
* Copyright (C) [2004, 2005, 2006], Hyperic, Inc.
* This file is part of SIGAR.
*
* SIGAR is free software; you can redistribute it and/or modify
* it under the terms version 2 of the GNU General Public License as
* published by the Free Software Foundation. This program is distributed
* in the hope that it ... | bindings/java/src/org/hyperic/sigar/test/TestMem.java | /*
* Copyright (C) [2004, 2005, 2006], Hyperic, Inc.
* This file is part of SIGAR.
*
* SIGAR is free software; you can redistribute it and/or modify
* it under the terms version 2 of the GNU General Public License as
* published by the Free Software Foundation. This program is distributed
* in the hope that it ... | add assertions
| bindings/java/src/org/hyperic/sigar/test/TestMem.java | add assertions | <ide><path>indings/java/src/org/hyperic/sigar/test/TestMem.java
<ide> assertGtZeroTrace("Used", mem.getUsed());
<ide>
<ide> traceln("UsedPercent=" + mem.getUsedPercent());
<add> assertGtZeroTrace("(long)UsedPercent", (long)mem.getUsedPercent());
<add>
<add> assertTrue(mem.getUsedPercent()... | |
Java | apache-2.0 | error: pathspec 'src/com/xnx3/LocationUtil.java' did not match any file(s) known to git
| 5155eae345d3b864098d3299e64f43bd5c746ee8 | 1 | xnx3/xnx3 | package com.xnx3;
/**
* 位置、定位相关
* @author 管雷鸣
*/
public class LocationUtil {
private static double EARTH_RADIUS = 6378.137;
private static double rad(double d) {
return d * Math.PI / 180.0;
}
/**
* 通过经纬度获取距离(单位:米)
* @param lat1
* @param lng1
... | src/com/xnx3/LocationUtil.java | xnx3
add LocationUtil
| src/com/xnx3/LocationUtil.java | xnx3 | <ide><path>rc/com/xnx3/LocationUtil.java
<add>package com.xnx3;
<add>
<add>/**
<add> * 位置、定位相关
<add> * @author 管雷鸣
<add> */
<add>public class LocationUtil {
<add> private static double EARTH_RADIUS = 6378.137;
<add>
<add> private static double rad(double d) {
<add> return d * Math.PI / 180.0;
... | |
Java | agpl-3.0 | fde60cbfb700324be1f9a2b634b318f8dae94bb2 | 0 | quikkian-ua-devops/kfs,ua-eas/kfs,bhutchinson/kfs,bhutchinson/kfs,bhutchinson/kfs,smith750/kfs,ua-eas/kfs-devops-automation-fork,kkronenb/kfs,quikkian-ua-devops/will-financials,ua-eas/kfs,kuali/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,ua-eas... | /*
* Copyright 2005-2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless required b... | work/src/org/kuali/kfs/gl/batch/service/impl/PostEncumbrance.java | /*
* Copyright 2005-2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless required b... | update for error message
| work/src/org/kuali/kfs/gl/batch/service/impl/PostEncumbrance.java | update for error message | <ide><path>ork/src/org/kuali/kfs/gl/batch/service/impl/PostEncumbrance.java
<ide> import org.kuali.kfs.gl.businessobject.Transaction;
<ide> import org.kuali.kfs.gl.dataaccess.EncumbranceDao;
<ide> import org.kuali.kfs.sys.KFSConstants;
<add>import org.kuali.kfs.sys.Message;
<ide> import org.kuali.rice.kns.service.DateT... | |
Java | apache-2.0 | 8562915cffdc2540ce48b86c49e57da27de8bf9f | 0 | codeaudit/OG-Platform,jeorme/OG-Platform,McLeodMoores/starling,jeorme/OG-Platform,nssales/OG-Platform,nssales/OG-Platform,jerome79/OG-Platform,jeorme/OG-Platform,ChinaQuants/OG-Platform,jerome79/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,jeorme/OG-Platform,jerome79/OG-Plat... | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.credit.underlyingpool.definition;
import com.opengamma.analytics.financial.credit.CreditSpreadTenors;
import com.opengamma.analytics.finan... | projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/credit/underlyingpool/definition/UnderlyingPool.java | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.credit.underlyingpool.definition;
import com.opengamma.analytics.financial.credit.CreditSpreadTenors;
import com.opengamma.analytics.finan... | Added calculation of descriptive statistics for UnderlyinPool class e.g. average T year credit spread
| projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/credit/underlyingpool/definition/UnderlyingPool.java | Added calculation of descriptive statistics for UnderlyinPool class e.g. average T year credit spread | <ide><path>rojects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/credit/underlyingpool/definition/UnderlyingPool.java
<ide> import com.opengamma.analytics.financial.credit.RestructuringClause;
<ide> import com.opengamma.analytics.financial.credit.obligormodel.definition.Obligor;
<ide> import com.opengamm... | |
Java | apache-2.0 | 7277785834de485ae6f4d2c2959f91055ce8d76f | 0 | hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak | package com.sequenceiq.it.cloudbreak.testcase.mock;
import static com.sequenceiq.freeipa.api.v1.freeipa.stack.model.common.Status.AVAILABLE;
import java.util.Collections;
import javax.inject.Inject;
import org.testng.annotations.Test;
import com.sequenceiq.environment.api.v1.environment.model.response.EnvironmentS... | integration-test/src/main/java/com/sequenceiq/it/cloudbreak/testcase/mock/EnvironmentStartStopTest.java | package com.sequenceiq.it.cloudbreak.testcase.mock;
import static com.sequenceiq.freeipa.api.v1.freeipa.stack.model.common.Status.AVAILABLE;
import java.util.Collections;
import javax.inject.Inject;
import org.testng.annotations.Test;
import com.sequenceiq.environment.api.v1.environment.model.response.EnvironmentS... | CB-4966 set freeipa response in it
| integration-test/src/main/java/com/sequenceiq/it/cloudbreak/testcase/mock/EnvironmentStartStopTest.java | CB-4966 set freeipa response in it | <ide><path>ntegration-test/src/main/java/com/sequenceiq/it/cloudbreak/testcase/mock/EnvironmentStartStopTest.java
<ide> .when(environmentTestClient.start())
<ide> .await(EnvironmentStatus.AVAILABLE)
<ide> .validate();
<add> getFreeIpaRouteHandler().updateResponse("... | |
Java | apache-2.0 | 090bdd0c56d1466586857d344dd41f65b5a01817 | 0 | uoa-group-applications/hooks-its | // Copyright (C) 2013 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterChangeState.java | // Copyright (C) 2013 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | added support for changeset status (new, draft, etc)
| hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterChangeState.java | added support for changeset status (new, draft, etc) | <ide><path>ooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilterChangeState.java
<ide> import java.util.List;
<ide> import java.util.Set;
<ide>
<add>import com.google.gerrit.reviewdb.client.Change;
<ide> import com.google.gerrit.server.data.AccountAttribute;
<ide> import com.google.ger... | |
Java | apache-2.0 | 7f462bb89bb96bd9a8dc33a1fa1ca04fe27376de | 0 | samthor/intellij-community,Distrotech/intellij-community,kool79/intellij-community,diorcety/intellij-community,adedayo/intellij-community,amith01994/intellij-community,ivan-fedorov/intellij-community,xfournet/intellij-community,ryano144/intellij-community,fnouama/intellij-community,ftomassetti/intellij-community,amith0... | package com.theoryinpractice.testng.util;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.progress.ProgressIndicator... | plugins/testng/src/com/theoryinpractice/testng/util/TestNGUtil.java | package com.theoryinpractice.testng.util;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.progress.ProgressIndicator... | Fix method popup if we have a class level @Test: Don't include private methods and don't include methods with @Test(enabled = false) | plugins/testng/src/com/theoryinpractice/testng/util/TestNGUtil.java | Fix method popup if we have a class level @Test: Don't include private methods and don't include methods with @Test(enabled = false) | <ide><path>lugins/testng/src/com/theoryinpractice/testng/util/TestNGUtil.java
<ide> public static boolean hasTest(PsiModifierListOwner element) {
<ide> //LanguageLevel effectiveLanguageLevel = element.getManager().getEffectiveLanguageLevel();
<ide> //boolean is15 = effectiveLanguageLevel != Language... | |
Java | mit | cd2b89eb6b84e23f70859d5783f5f8c82e7eff5c | 0 | opentdc/users-service-opencrx | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Arbalo AG
*
* 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, c... | src/java/org/opentdc/users/opencrx/OpencrxServiceProvider.java | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Arbalo AG
*
* 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, c... | switched from NotAllowedException to ValidationException (on client-side: BAD_REQUEST/400)
| src/java/org/opentdc/users/opencrx/OpencrxServiceProvider.java | switched from NotAllowedException to ValidationException (on client-side: BAD_REQUEST/400) | <ide><path>rc/java/org/opentdc/users/opencrx/OpencrxServiceProvider.java
<ide> public UserModel update(
<ide> String id,
<ide> UserModel user)
<del> throws NotFoundException, NotAllowedException {
<add> throws NotFoundException, ValidationException {
<ide> // TODO Auto-generated method stub
<ide> retur... | |
Java | apache-2.0 | ff275ac9fb0ddba7f45d20db0ac7976aa0c26c42 | 0 | ieb/sling,awadheshv/sling,mmanski/sling,wimsymons/sling,anchela/sling,ieb/sling,headwirecom/sling,mcdan/sling,labertasch/sling,mmanski/sling,cleliameneghin/sling,roele/sling,Nimco/sling,trekawek/sling,roele/sling,vladbailescu/sling,awadheshv/sling,Nimco/sling,tyge68/sling,Nimco/sling,cleliameneghin/sling,ieb/sling,trek... | /*
* 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 ... | launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.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 ... | SLING-5463 - that bug exposed another bug in this test...fixed.
git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1727949 13f79535-47bb-0310-9956-ffa450edef68
| launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.java | SLING-5463 - that bug exposed another bug in this test...fixed. | <ide><path>aunchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletOutputContentTypeTest.java
<ide>
<ide> // Perform a POST that fails: invalid PostServlet operation
<ide> // with Accept header set to JSON
<del> final String url = HTTP_BASE... | |
Java | bsd-3-clause | 055c70b4552724bcc7c8ed88234825d780c98a66 | 0 | bluerover/6lbr,bluerover/6lbr,bluerover/6lbr,arurke/contiki,arurke/contiki,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,MohamedSeliem/contiki,b... | /*
* Copyright (c) 2006, 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 notice,
*... | tools/cooja/java/org/contikios/cooja/Cooja.java | /*
* Copyright (c) 2006, 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 notice,
*... | [cooja] Set location of newly created plugins relative to second last activated plugin.
Setting the position based on the number
of total inner frames was very inflexible
and caused pad positioning for larger number
of frames.
Setting the location of new plugin frames
to the second last activated one tries to
meet tw... | tools/cooja/java/org/contikios/cooja/Cooja.java | [cooja] Set location of newly created plugins relative to second last activated plugin. | <ide><path>ools/cooja/java/org/contikios/cooja/Cooja.java
<ide> return false;
<ide> }
<ide>
<del> int nrFrames = myDesktopPane.getAllFrames().length;
<ide> myDesktopPane.add(pluginFrame);
<ide>
<ide> /* Set size if not already specified by plugin */
<ide> pluginFrame... | |
Java | epl-1.0 | 9ec5bbaf41d0bdfa789c5de24df467564e18c18c | 0 | theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief | /*
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2014, PlanetMayo Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.... | org.mwc.cmap.legacy/src/MWC/GUI/JFreeChart/DateAxisEditor.java | /*
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2014, PlanetMayo Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.... | Introduce new formatter, to handle showing DATE at 0000
| org.mwc.cmap.legacy/src/MWC/GUI/JFreeChart/DateAxisEditor.java | Introduce new formatter, to handle showing DATE at 0000 | <ide><path>rg.mwc.cmap.legacy/src/MWC/GUI/JFreeChart/DateAxisEditor.java
<ide> package MWC.GUI.JFreeChart;
<ide>
<ide> import java.text.DateFormat;
<add>import java.text.DecimalFormat;
<add>import java.text.FieldPosition;
<ide> import java.text.SimpleDateFormat;
<ide> import java.util.ArrayList;
<ide> import java.util... | |
Java | mit | 50d7de38390befef09ee7a9d02011314ed4bae3f | 0 | bladecoder/blade-ink | package com.bladecoder.ink.runtime;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map.Entry;
import java.util.Random;
import java.util.Stack;
import com.bladecoder.ink.runtime.CallStack.Element;
/**
* A Story is ... | src/main/java/com/bladecoder/ink/runtime/Story.java | package com.bladecoder.ink.runtime;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map.Entry;
import java.util.Random;
import java.util.Stack;
import com.bladecoder.ink.runtime.CallStack.Element;
/**
* A Story is ... | C# ref. commit: Try to produce more useful runtime error message if you
don’t have access to line numbers | src/main/java/com/bladecoder/ink/runtime/Story.java | C# ref. commit: Try to produce more useful runtime error message if you don’t have access to line numbers | <ide><path>rc/main/java/com/bladecoder/ink/runtime/Story.java
<ide> if (dm != null) {
<ide> int lineNum = useEndLineNumber ? dm.endLineNumber : dm.startLineNumber;
<ide> message = String.format("RUNTIME ERROR: '%s' line %d: %s", dm.fileName, lineNum, message);
<add> } else if( state.getCurrentPath() != null )... | |
JavaScript | mit | 7343661f33dc8fb6e8a99291632ab7d484a3b3b5 | 0 | Intendit/bolt,joshuan/bolt,marcin-piela/bolt,pygillier/bolt,Raistlfiren/bolt,GawainLynch/bolt,Intendit/bolt,tekjava/bolt,bolt/bolt,marcin-piela/bolt,nantunes/bolt,codesman/bolt,rossriley/bolt,GawainLynch/bolt,rossriley/bolt,nikgo/bolt,one988/cm,nantunes/bolt,lenvanessen/bolt,electrolinux/bolt,Eiskis/bolt-base,richardhi... | /* global module */
/*
* BOOTLINT: HTML linter for Bootstrap projects
*/
module.exports = function (grunt, options) {
var conf = {
relaxerror: ['W005'],
showallerrors: false,
stoponerror: false,
stoponwarning: false
};
// Override settings
require('deep-extend')(conf, ... | app/src/grunt/bootlint.js | /* global module */
/*
* BOOTLINT: HTML linter for Bootstrap projects
*/
module.exports = function (grunt, options) {
var conf = {
relaxerror: [],
showallerrors: false,
stoponerror: false,
stoponwarning: false
};
// Override settings
require('deep-extend')(conf, option... | Relax bootlint on 'W005' as it can't find jquery inside lib.js | app/src/grunt/bootlint.js | Relax bootlint on 'W005' as it can't find jquery inside lib.js | <ide><path>pp/src/grunt/bootlint.js
<ide> */
<ide> module.exports = function (grunt, options) {
<ide> var conf = {
<del> relaxerror: [],
<add> relaxerror: ['W005'],
<ide> showallerrors: false,
<ide> stoponerror: false,
<ide> stoponwarning: false | |
Java | apache-2.0 | 7b791b0ae1ee30f50011776a17b353a3a8f35d4e | 0 | cherryhill/collectionspace-services,cherryhill/collectionspace-services | /**
* This document is a part of the source code and related artifacts
* for CollectionSpace, an open source collections management system
* for museums and related institutions:
*
* http://www.collectionspace.org
* http://wiki.collectionspace.org
*
* Copyright (c)) 2009 Regents of the University of California
... | services/vocabulary/client/src/main/java/org/collectionspace/services/client/import/VocabularyBaseImport.java | /**
* This document is a part of the source code and related artifacts
* for CollectionSpace, an open source collections management system
* for museums and related institutions:
*
* http://www.collectionspace.org
* http://wiki.collectionspace.org
*
* Copyright (c)) 2009 Regents of the University of California
... | NOJIRA - Fixed logging init in main().
| services/vocabulary/client/src/main/java/org/collectionspace/services/client/import/VocabularyBaseImport.java | NOJIRA - Fixed logging init in main(). | <ide><path>ervices/vocabulary/client/src/main/java/org/collectionspace/services/client/import/VocabularyBaseImport.java
<ide> import javax.ws.rs.core.MultivaluedMap;
<ide> import javax.ws.rs.core.Response;
<ide>
<add>import org.apache.log4j.BasicConfigurator;
<ide> import org.collectionspace.services.client.Vocabulary... | |
JavaScript | agpl-3.0 | d591d2000ace1127246bee953b3604ae1d0c5b0d | 0 | fabian247/wifi-watcher,fabian247/wifi-watcher,fabian247/wifi-watcher | const dns = require('dns')
const localIP = '192.168.178.0'
// TODO: make local IP a variable or in config file
function getRoutesFromPacketArray (packetArray) {
var routesArray = []
for (var packet in packetArray) {
try {
routesArray.push(getRouteFromPacket(packet))
} catch (except... | lib/expose_websites.js | const dns = require('dns')
const localIP = '192.168.178.0'
// TODO: make local IP a variable or in config file
function getRoutesFromPacketArray (packetArray) {
var routesArray = []
for (var packet in packetArray) {
try {
routesArray.push(getRouteFromPacket(packet))
} catch (except... | Remove surplus exports
| lib/expose_websites.js | Remove surplus exports | <ide><path>ib/expose_websites.js
<ide> switch (packet.payload.ethertype) {
<ide> case 0x800:
<ide> // console.log('Ipv4')
<del> // use module.exports.function for testability
<del> return module.exports.handleIPv4Packet(packet.payload.payload)
<add> return handle... | |
JavaScript | apache-2.0 | e980a45955ad8e470da422d4c71f50489a5abe41 | 0 | Brightspace/valence-ui-typography,BrightspaceUI/typography,Brightspace/valence-ui-typography | /* eslint no-invalid-this: 0 */
'use strict';
var browsers = {
phantomjs: new LocalBrowserFactory({
browser: 'phantomjs'
}),
chromeWindows: new SauceBrowserFactory({
browser: 'Chrome',
platform: 'WIN10'
}),
firefoxWindows: new SauceBrowserFactory({
browser: 'Firefox',
platform: 'WIN10'
}),
ie11Windows... | typography.test.js | /* eslint no-invalid-this: 0 */
'use strict';
var browsers = {
phantomjs: new LocalBrowserFactory({
browser: 'phantomjs'
}),
chromeWindows: new SauceBrowserFactory({
browser: 'Chrome',
platform: 'WIN10'
}),
firefoxWindows: new SauceBrowserFactory({
browser: 'Firefox',
platform: 'WIN10'
}),
ie11Windows... | removing IE10 from Sauce tests
| typography.test.js | removing IE10 from Sauce tests | <ide><path>ypography.test.js
<ide> browser: 'internet explorer',
<ide> version: '11',
<ide> platform: 'WIN10'
<del> }),
<del> ie10Windows: new SauceBrowserFactory({
<del> browser: 'internet explorer',
<del> version: '10',
<del> platform: 'WIN8'
<ide> }),
<ide> edgeWindows: new SauceBrowserFactory({
<ide> b... | |
Java | bsd-2-clause | b81d127198edd1c279575731dd225c8560b61799 | 0 | clementval/claw-compiler,clementval/claw-compiler | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.translator.transformation.claw.parallelize;
import cx2x.translator.ClawTranslator;
import cx2x.translator.common.Utility;
import cx2x.translator.language.base.ClawLanguage;
import cx2x.translator.language.... | omni-cx2x/src/cx2x/translator/transformation/claw/parallelize/Parallelize.java | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.translator.transformation.claw.parallelize;
import cx2x.translator.ClawTranslator;
import cx2x.translator.common.Utility;
import cx2x.translator.language.base.ClawLanguage;
import cx2x.translator.language.... | Remove dead code + add comment
| omni-cx2x/src/cx2x/translator/transformation/claw/parallelize/Parallelize.java | Remove dead code + add comment | <ide><path>mni-cx2x/src/cx2x/translator/transformation/claw/parallelize/Parallelize.java
<ide> Xnode parallelRegionEnd = AcceleratorHelper.findParallelRegionEnd(
<ide> _claw.getAcceleratorGenerator(), _fctDef, null);
<ide>
<add> // Define a hook from where we can insert the new do statement
<ide> ... | |
JavaScript | mit | bcf6b2cb9858c54ad95eab1aa8dd823d842dae45 | 0 | HyphnKnight/js13k-2017,HyphnKnight/js13k-2017 | export const child = `\uD83D\uDC69\uD83C\uDFFC\u200D\uD83C\uDF3E`;
export const protector = `\uD83D\uDC6E\uD83C\uDFFF\u200D\u2640\uFE0F`;
export const persecutor = `\uD83D\uDD75\uD83C\uDFFD`;
export const avenger = `\uD83D\uDC69\uD83C\uDFFB\u200D\uD83C\uDFA4`;
export const demon = `\uD83D\uDC79`;
export const tree = `\... | src/emoji.js | export const child = `\uD83D\uDC69\uD83C\uDFFC\u200D\uD83C\uDF3E`;
export const protector = `\uD83D\uDC6E\uD83C\uDFFF\u200D\u2640\uFE0F`;
export const persecutor = `\uD83D\uDD75\uD83C\uDFFD`;
export const avenger = `\uD83D\uDC69\uD83C\uDFFB\u200D\uD83C\uDFA4`;
export const demon = `\uD83D\uDC79`;
export const tree = `\... | add heart emoji
| src/emoji.js | add heart emoji | <ide><path>rc/emoji.js
<ide> export const ghost = `\uD83D\uDC7B`;
<ide> export const pool = `\uD83C\uDF75`;
<ide> export const gem = `\uD83D\uDC8E`;
<add>export const blackHeart = `\uD83D\uDDA4`;
<add>export const heart = `\u2764\uFE0F`; | |
Java | mit | 927cb8039a5f9283a476c7f701bb4a40aaac6342 | 0 | codeka/wwmmo,codeka/wwmmo,codeka/wwmmo,codeka/wwmmo,codeka/wwmmo,codeka/wwmmo | package au.com.codeka.warworlds.server.admin.handlers;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLEncoder;
import java.text.DecimalFormat;
import java.util.Collection;
import java.util.Locale;... | server/src/main/java/au/com/codeka/warworlds/server/admin/handlers/AdminHandler.java | package au.com.codeka.warworlds.server.admin.handlers;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLEncoder;
import java.text.DecimalFormat;
import java.util.Collection;
import java.util.Locale;... | Add a log.
| server/src/main/java/au/com/codeka/warworlds/server/admin/handlers/AdminHandler.java | Add a log. | <ide><path>erver/src/main/java/au/com/codeka/warworlds/server/admin/handlers/AdminHandler.java
<ide> }
<ide> if (!inRoles) {
<ide> // you're not in a required role.
<add> log.warning("User '%s' is not in any required role: %s",
<add> session.getEmail(), requiredRoles);
<i... | |
Java | apache-2.0 | f0a46983b512689b2c8b6aba368c52688c2f05f8 | 0 | robovm/robovm-studio,allotria/intellij-community,allotria/intellij-community,orekyuu/intellij-community,pwoodworth/intellij-community,petteyg/intellij-community,ibinti/intellij-community,slisson/intellij-community,izonder/intellij-community,TangHao1987/intellij-community,fitermay/intellij-community,akosyakov/intellij-c... | /*
* Copyright 2000-2006 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... | dom/openapi/src/com/intellij/util/xml/DomResolveConverter.java | /*
* Copyright 2000-2006 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... | IDEADEV-22149
| dom/openapi/src/com/intellij/util/xml/DomResolveConverter.java | IDEADEV-22149 | <ide><path>om/openapi/src/com/intellij/util/xml/DomResolveConverter.java
<ide> final DomElement element = context.getInvocationElement();
<ide> final GenericDomValue value = ((GenericDomValue)element).createStableCopy();
<ide> final String newName = value.getStringValue();
<del> assert newName != null;
<... | |
Java | mit | 7da63e0c95322ed8a22805087e0c78e7efbe3e65 | 0 | richard-roberts/SOMns,smarr/SOMns,MetaConc/SOMns,richard-roberts/SOMns,richard-roberts/SOMns,smarr/SOMns,VAISHALI-DHANOA/SOMns,smarr/SOMns,smarr/SOMns,richard-roberts/SOMns,VAISHALI-DHANOA/SOMns,MetaConc/SOMns,richard-roberts/SOMns,richard-roberts/SOMns,smarr/SOMns,richard-roberts/SOMns,smarr/SOMns,smarr/SOMns,VAISHALI... | package som.interpreter.nodes;
import som.interpreter.SArguments;
import som.interpreter.TruffleCompiler;
import som.interpreter.TypesGen;
import som.interpreter.nodes.dispatch.AbstractDispatchNode;
import som.interpreter.nodes.dispatch.GenericDispatchNode;
import som.interpreter.nodes.dispatch.SuperDispatchNode;
impo... | src/som/interpreter/nodes/MessageSendNode.java | package som.interpreter.nodes;
import som.interpreter.SArguments;
import som.interpreter.TruffleCompiler;
import som.interpreter.TypesGen;
import som.interpreter.nodes.dispatch.AbstractDispatchNode;
import som.interpreter.nodes.dispatch.GenericDispatchNode;
import som.interpreter.nodes.dispatch.SuperDispatchNode;
impo... | Something is really broken in Tower :(
Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
| src/som/interpreter/nodes/MessageSendNode.java | Something is really broken in Tower :( | <ide><path>rc/som/interpreter/nodes/MessageSendNode.java
<ide> }
<ide> return makeGenericSend();
<ide> }
<add>
<add> private PreevaluatedExpression specializeQuaternary(final Object receiver,
<add> final Object[] arguments) {
<add> switch (selector.getString()) {
<add> case "to... | |
JavaScript | mit | 11309201d219465e41b741bd507736343bdf6587 | 0 | elvinyung/epsilon-delta | var utils = require('./utils');
var epsilonDelta = function (configs) {
configs = configs || {};
configs.db = configs.db || require('./memoryDB')();
configs.userKey = configs.userKey || 'connection.remoteAddress';
configs.capacity = configs.capacity || 200;
configs.expire = configs.expire || 360000;
config... | lib/limiter.js | var utils = require('./utils');
var epsilonDelta = function (configs) {
configs = configs || {};
configs.db = configs.db || require('./memoryDB')();
configs.userKey = configs.userKey || 'connection.remoteAddress';
configs.capacity = configs.capacity || 200;
configs.expire = configs.expire || 360000;
config... | redis type casting fix
| lib/limiter.js | redis type casting fix | <ide><path>ib/limiter.js
<ide> var rate = function (userKey, cb) {
<ide> db.hgetall(userKey, function(err, data) {
<ide> var now = Date.now();
<del> data = data || {
<del> capacity: configs.capacity,
<del> expire: now + configs.expire
<del> };
<add> data = (data ?
<add> ... | |
Java | apache-2.0 | 887616a9e2f071b35ebc975d21e5461ae9b604f2 | 0 | esaunders/autopsy,rcordovano/autopsy,APriestman/autopsy,esaunders/autopsy,esaunders/autopsy,wschaeferB/autopsy,rcordovano/autopsy,APriestman/autopsy,millmanorama/autopsy,esaunders/autopsy,APriestman/autopsy,APriestman/autopsy,millmanorama/autopsy,millmanorama/autopsy,wschaeferB/autopsy,APriestman/autopsy,rcordovano/aut... | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2017 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/datamodel/FileTypesByExtension.java | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2017 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... | Addressed review comments.
| Core/src/org/sleuthkit/autopsy/datamodel/FileTypesByExtension.java | Addressed review comments. | <ide><path>ore/src/org/sleuthkit/autopsy/datamodel/FileTypesByExtension.java
<ide> import java.util.Observable;
<ide> import java.util.Observer;
<ide> import java.util.logging.Level;
<add>import java.util.stream.Collectors;
<ide> import org.apache.commons.lang.StringUtils;
<ide> import org.openide.nodes.ChildFactory;
<... | |
Java | apache-2.0 | 95568bd4275e10b49a30064d013865ead1ab5135 | 0 | manovotn/core,antoinesd/weld-core,manovotn/core,antoinesd/weld-core,antoinesd/weld-core,weld/core,weld/core,manovotn/core | /*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | impl/src/main/java/org/jboss/weld/ejb/SessionBeanInterceptor.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | WELD-1476 Eliminate Container.instance() usage
| impl/src/main/java/org/jboss/weld/ejb/SessionBeanInterceptor.java | WELD-1476 Eliminate Container.instance() usage | <ide><path>mpl/src/main/java/org/jboss/weld/ejb/SessionBeanInterceptor.java
<ide> import java.io.ObjectStreamException;
<ide> import java.io.Serializable;
<ide>
<add>import javax.interceptor.InvocationContext;
<add>
<ide> import org.jboss.weld.Container;
<add>import org.jboss.weld.bootstrap.api.helpers.RegistrySinglet... | |
Java | apache-2.0 | 8ce2ebbb0437fbd1b502ff0d44528ac4b902cc4e | 0 | escowles/fcrepo4,lsitu/fcrepo4,peichman-umd/fcrepo4,lsitu/fcrepo4,sprater/fcrepo4,whikloj/fcrepo4,mohideen/fcrepo4,nianma/fcrepo4,ychouloute/fcrepo4,whikloj/fcrepo4,dbernstein/fcrepo4,whikloj/fcrepo4,medusa-project/fcrepo4,medusa-project/fcrepo4,bseeger/fcrepo4,emetsger/fcrepo4,ruebot/fcrepo4,bbranan/fcrepo4,peichman-u... | package org.fcrepo.utils;
import static com.google.common.base.Preconditions.checkArgument;
import static org.fcrepo.utils.FedoraJcrTypes.FCR_CONTENT;
import static org.slf4j.LoggerFactory.getLogger;
import java.util.Set;
import javax.jcr.Node;
import javax.jcr.Property;
import javax.jcr.PropertyType;
import javax.j... | fcrepo-kernel/src/main/java/org/fcrepo/utils/JcrRdfTools.java | package org.fcrepo.utils;
import static com.google.common.base.Preconditions.checkArgument;
import static org.fcrepo.utils.FedoraJcrTypes.FCR_CONTENT;
import static org.slf4j.LoggerFactory.getLogger;
import java.util.Set;
import javax.jcr.Node;
import javax.jcr.Property;
import javax.jcr.PropertyType;
import javax.j... | exclude internal nodes from the numberOfChildren count
| fcrepo-kernel/src/main/java/org/fcrepo/utils/JcrRdfTools.java | exclude internal nodes from the numberOfChildren count | <ide><path>crepo-kernel/src/main/java/org/fcrepo/utils/JcrRdfTools.java
<ide> final Node childNode = nodeIterator.nextNode();
<ide>
<ide> if (FedoraTypesUtils.isInternalNode.apply(childNode)) {
<add> excludedNodes += 1;
<ide> continue;
<ide> }
<ide> | |
Java | apache-2.0 | 2843df57a6658a65d3197a93d7fbac5c67cf46de | 0 | ksw2599/torquebox,torquebox/torquebox-release,mje113/torquebox,vaskoz/torquebox,torquebox/torquebox,torquebox/torquebox,torquebox/torquebox-release,ksw2599/torquebox,torquebox/torquebox,samwgoldman/torquebox,mje113/torquebox,mje113/torquebox,vaskoz/torquebox,torquebox/torquebox,torquebox/torquebox-release,ksw2599/torqu... | /*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the term... | components/rails/rails-int/src/main/java/org/torquebox/rails/deployers/RailsLogFileDeployer.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the term... | Refs TORQUE-137. We now ignore any log dir in an archive and mount the jboss log dir instead.
| components/rails/rails-int/src/main/java/org/torquebox/rails/deployers/RailsLogFileDeployer.java | Refs TORQUE-137. We now ignore any log dir in an archive and mount the jboss log dir instead. | <ide><path>omponents/rails/rails-int/src/main/java/org/torquebox/rails/deployers/RailsLogFileDeployer.java
<ide> public void deploy(VFSDeploymentUnit unit) throws DeploymentException {
<ide> VirtualFile logDir = unit.getRoot().getChild( "log" );
<ide> try {
<del> if ( ! ( logDir.exists() ... | |
JavaScript | mit | 2ffac3a53ba5ded238cd85141cd688c19142eaf7 | 0 | anutron/behavior | /*
---
name: Delegator
description: Allows for the registration of delegated events on a container.
requires: [Core/Element.Delegation, Core/Options, Core/Events, /Event.Mock, /Behavior]
provides: [Delegator]
...
*/
(function(){
var spaceOrCommaRegex = /\s*,\s*|\s+/g;
var checkEvent = function(trigger, element, eve... | Source/Delegator.js | /*
---
name: Delegator
description: Allows for the registration of delegated events on a container.
requires: [Core/Element.Delegation, Core/Options, Core/Events, /Event.Mock, /Behavior]
provides: [Delegator]
...
*/
(function(){
var spaceOrCommaRegex = /\s*,\s*|\s+/g;
var checkEvent = function(trigger, element, eve... | fixing logging in Delegator, too
| Source/Delegator.js | fixing logging in Delegator, too | <ide><path>ource/Delegator.js
<ide> try {
<ide> result = this._trigger(trigger, element, e);
<ide> } catch(error) {
<del> this.fireEvent('error', ['Could not apply the trigger', name, error]);
<add> this.fireEvent('error', ['Could not apply the trigger', name, error.message]);
<ide> }
<id... | |
Java | apache-2.0 | b9e4d8c47368faafe788fa319d67fcdf1c8e6702 | 0 | PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr | package org.apache.lucene.index;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Versi... | lucene/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java | package org.apache.lucene.index;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Versi... | remove accidental System.out.println
git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@953634 13f79535-47bb-0310-9956-ffa450edef68
| lucene/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java | remove accidental System.out.println | <ide><path>ucene/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
<ide> /** Called when an exception is hit in a background merge
<ide> * thread */
<ide> protected void handleMergeException(Throwable exc) {
<del> System.out.println("HANDLE " + exc);
<ide> try {
<ide> // When an except... | |
Java | bsd-3-clause | b145fe20143e7884714df04fce94ba5340ecc0e3 | 0 | Ryan1729/metazelda,tcoxon/metazelda | package net.bytten.metazelda;
/**
* Links two {@link Room}s.
* <p>
* The attached {@link Symbol} is a condition that must be satisfied for the
* player to pass from one of the linked Rooms to the other via this Edge. It is
* implemented as a {@link Symbol} rather than a {@link Condition} to simplify
* the interf... | src/net/bytten/metazelda/Edge.java | package net.bytten.metazelda;
/**
* Links two {@link Room}s.
* <p>
* The attached {@link Symbol} is a condition that must be satisfied for the
* player to pass from one of the linked Rooms to the other via this Edge. It is
* implemented as a {@link Symbol} rather than a {@link Condition} to simplify
* the interf... | Allow modification of Edges' symbols.
| src/net/bytten/metazelda/Edge.java | Allow modification of Edges' symbols. | <ide><path>rc/net/bytten/metazelda/Edge.java
<ide> return symbol;
<ide> }
<ide>
<add> public void setSymbol(Symbol symbol) {
<add> this.symbol = symbol;
<add> }
<add>
<ide> @Override
<ide> public boolean equals(Object other) {
<ide> if (other instanceof Edge) { | |
Java | apache-2.0 | d753be20ec7ae58aba868def976422294fe4ee2c | 0 | shahrzadmn/vaadin,udayinfy/vaadin,fireflyc/vaadin,peterl1084/framework,cbmeeks/vaadin,travisfw/vaadin,udayinfy/vaadin,sitexa/vaadin,asashour/framework,sitexa/vaadin,magi42/vaadin,Scarlethue/vaadin,mittop/vaadin,udayinfy/vaadin,mstahv/framework,asashour/framework,Peppe/vaadin,oalles/vaadin,Flamenco/vaadin,mittop/vaadin,... | /*
@ITMillApache2LicenseForJavaFiles@
*/
package com.itmill.toolkit.terminal.gwt.client.ui.richtextarea;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.ui.ChangeListener;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.c... | src/com/itmill/toolkit/terminal/gwt/client/ui/richtextarea/IRichTextArea.java | /*
@ITMillApache2LicenseForJavaFiles@
*/
package com.itmill.toolkit.terminal.gwt.client.ui.richtextarea;
import com.google.gwt.user.client.ui.ChangeListener;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.FocusListener;
import com... | Fixed RichTextArea dimensions
svn changeset:5953/svn branch:trunk
| src/com/itmill/toolkit/terminal/gwt/client/ui/richtextarea/IRichTextArea.java | Fixed RichTextArea dimensions | <ide><path>rc/com/itmill/toolkit/terminal/gwt/client/ui/richtextarea/IRichTextArea.java
<ide>
<ide> package com.itmill.toolkit.terminal.gwt.client.ui.richtextarea;
<ide>
<add>import com.google.gwt.user.client.DOM;
<add>import com.google.gwt.user.client.Element;
<ide> import com.google.gwt.user.client.ui.ChangeListene... | |
Java | epl-1.0 | fcad69634019a60d1ae20600dbb8899e801453c8 | 0 | rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse | package com.redhat.ceylon.eclipse.code.propose;
import static com.redhat.ceylon.eclipse.code.hover.CeylonHover.getDocumentationFor;
import static com.redhat.ceylon.eclipse.code.propose.CompletionProcessor.NO_COMPLETIONS;
import static com.redhat.ceylon.eclipse.code.propose.ParameterContextValidator.findCharCount;
impo... | plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/propose/DeclarationCompletionProposal.java | package com.redhat.ceylon.eclipse.code.propose;
import static com.redhat.ceylon.eclipse.code.hover.CeylonHover.getDocumentationFor;
import static com.redhat.ceylon.eclipse.code.propose.CompletionProcessor.NO_COMPLETIONS;
import static com.redhat.ceylon.eclipse.code.propose.ParameterContextValidator.findCharCount;
impo... | linked mode completion for named args
| plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/propose/DeclarationCompletionProposal.java | linked mode completion for named args | <ide><path>lugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/propose/DeclarationCompletionProposal.java
<ide> .getBoolean(CeylonSourceViewerConfiguration.LINKED_MODE)) {
<ide> if (declaration instanceof Generic) {
<ide> ParameterList paramList = null;
<del> if (declaration instanceof ... | |
Java | unlicense | 1f01ac316ad70735c7b73e476f3365d4739e58a5 | 0 | JamesHealey94/Breakout | package com.gmail.jameshealey1994.breakout;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
/**... | Breakout/src/com/gmail/jameshealey1994/breakout/MainMenuGUI.java | package com.gmail.jameshealey1994.breakout;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
/**... | Add Scores button to Main Menu GUI, waiting on scores JFrame or JPanel. | Breakout/src/com/gmail/jameshealey1994/breakout/MainMenuGUI.java | Add Scores button to Main Menu GUI, waiting on scores JFrame or JPanel. | <ide><path>reakout/src/com/gmail/jameshealey1994/breakout/MainMenuGUI.java
<ide> this.setLayout(new BorderLayout());
<ide>
<ide> final JPanel buttonPanel = new JPanel(new GridLayout(2, 1));
<add> buttonPanel.setVisible(true);
<add> this.add(buttonPanel);
<add>
<ide> final JButton ... | |
JavaScript | apache-2.0 | bb2e434c76e2aa1f1b97d87b78ed9927818a611b | 0 | digitalfruit/limejs,GeorgeMe/limejs,saulpw/nucleotron,ZzCalvinzZ/ludumdare26,sjamog/Lime-Projects,runawaygo/Saver2012,sjamog/Lime-Projects,saulpw/nucleotron,oleg-kipling/limejs,ZzCalvinzZ/ludumdare26,wikieswan/limejs,squallyan/limejs,wikieswan/limejs,sjamog/Lime-Projects,wikieswan/limejs,runawaygo/Saver2012,Diaosir/lim... | goog.provide('lime.Director');
goog.require('lime');
goog.require('lime.Node');
goog.require('lime.events.EventDispatcher');
goog.require('lime.helper.PauseScene');
goog.require('lime.scheduleManager');
goog.require('lime.transitions.Transition');
goog.require('goog.array');
goog.require('goog.dom');
goog.require('go... | lime/src/director.js | goog.provide('lime.Director');
goog.require('lime');
goog.require('lime.Node');
goog.require('lime.events.EventDispatcher');
goog.require('lime.helper.PauseScene');
goog.require('lime.scheduleManager');
goog.require('lime.transitions.Transition');
goog.require('goog.array');
goog.require('goog.dom');
goog.require('go... | Limit densityDpi to only Android devices | lime/src/director.js | Limit densityDpi to only Android devices | <ide><path>ime/src/director.js
<ide>
<ide> var meta=document.createElement('meta');
<ide> meta.name='viewport';
<del> meta.content='width=device-width,initial-scale=1.0,minimum-scale=1,maximum-scale=1.0,user-scalable=no,target-densityDpi=device-dpi';
<add> var content = 'width=dev... | |
Java | apache-2.0 | e7bcc31885c2f6958ae1944a8d7ed0e7664af3e6 | 0 | kdbanman/nodes | package nodes;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.NodeIterator;
import com.hp.hpl.jena.rdf.model.RDFNode;
import com.hp.hpl.jena.rdf.model.ResIterator;
import com.hp.hpl.jena.rdf.model.Resource;
import nodes.Modifier.ModifierType;
import nodes.controllers.ModifiersListBox;
impor... | src/nodes/ControlPanel.java | package nodes;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.RDFNode;
import nodes.Modifier.ModifierType;
import nodes.controllers.ModifiersListBox;
import org.apache.jena.riot.RiotException;
import controlP5.Button;
import controlP5.CallbackEvent;
import controlP5.CallbackListener;
impor... | add file selector and sorted dropdown
| src/nodes/ControlPanel.java | add file selector and sorted dropdown | <ide><path>rc/nodes/ControlPanel.java
<ide> package nodes;
<ide>
<ide> import com.hp.hpl.jena.rdf.model.Model;
<add>import com.hp.hpl.jena.rdf.model.NodeIterator;
<ide> import com.hp.hpl.jena.rdf.model.RDFNode;
<add>import com.hp.hpl.jena.rdf.model.ResIterator;
<add>import com.hp.hpl.jena.rdf.model.Resource;
<ide>
<i... | |
Java | bsd-3-clause | 39865466bd75c71ee119efee721b2e2f9f6195e2 | 0 | arnoldlankamp/parser | package gtd;
import gtd.generator.ParserStructure;
import gtd.result.AbstractContainerNode;
import gtd.result.AbstractNode;
import gtd.result.ListContainerNode;
import gtd.result.SortContainerNode;
import gtd.result.struct.Link;
import gtd.stack.AbstractExpandableStackNode;
import gtd.stack.AbstractStackNode;
import g... | src/main/java/gtd/Parser.java | package gtd;
import gtd.generator.ParserStructure;
import gtd.result.AbstractContainerNode;
import gtd.result.AbstractNode;
import gtd.result.ListContainerNode;
import gtd.result.SortContainerNode;
import gtd.result.struct.Link;
import gtd.stack.AbstractExpandableStackNode;
import gtd.stack.AbstractStackNode;
import g... | -Removed unnecessary RuntimeException.
| src/main/java/gtd/Parser.java | -Removed unnecessary RuntimeException. | <ide><path>rc/main/java/gtd/Parser.java
<ide> }
<ide>
<ide> private void addTodo(AbstractStackNode node, int length, AbstractNode result){
<del> if(result == null) throw new RuntimeException();
<ide> int queueDepth = todoLists.length;
<ide> if(length >= queueDepth){
<ide> DoubleStack<AbstractStackNode, Abst... | |
Java | apache-2.0 | e97d5db3f0f30d577aded22520ecc4d4e008b313 | 0 | eFaps/eFaps-Kernel-Install,eFaps/eFaps-Kernel-Install | /*
* Copyright 2003 - 2013 The eFaps 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 applicable law or ... | src/main/efaps/ESJP/org/efaps/esjp/admin/access/SimpleAccessCheckOnType_Base.java | /*
* Copyright 2003 - 2013 The eFaps 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 applicable law or ... | - Issue #38: The check for simple access does return wrong value if not status dependend
closes #38
| src/main/efaps/ESJP/org/efaps/esjp/admin/access/SimpleAccessCheckOnType_Base.java | - Issue #38: The check for simple access does return wrong value if not status dependend | <ide><path>rc/main/efaps/ESJP/org/efaps/esjp/admin/access/SimpleAccessCheckOnType_Base.java
<ide> final Set<Role> localRoles = new HashSet<Role>();
<ide> final StringBuilder cmd = new StringBuilder();
<ide> cmd.append("select ").append(type.getMainTable().getSqlTable()).append(".ID "... | |
JavaScript | apache-2.0 | 5e5410ea1ddd4d9357d8cf65dc925a403e7f0eea | 0 | Kurento/kurento-utils-js,Kurento/kurento-utils-js,Kurento/kurento-utils-js | /*
* (C) Copyright 2014-2015 Kurento (http://kurento.org/)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/... | lib/WebRtcPeer.js | /*
* (C) Copyright 2014-2015 Kurento (http://kurento.org/)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/... | Don't use offerToReceive(Audio|Video) on createAnswer()
Change-Id: I72845fae896911762e892c7ed6461e1c4ef7191b
| lib/WebRtcPeer.js | Don't use offerToReceive(Audio|Video) on createAnswer() | <ide><path>ib/WebRtcPeer.js
<ide> // Generate answer
<ide>
<ide> var constraints = recursive({
<del> offerToReceiveAudio: (mode !== 'sendonly'),
<del> offerToReceiveVideo: (mode !== 'sendonly')
<add> // offerToReceiveAudio: (mode !== 'sendonly'),
<add> // ... | |
Java | apache-2.0 | 23789171ab4702d68235d5a6fc2a28a1ea2209cc | 0 | mureinik/commons-lang,rikles/commons-lang,mureinik/commons-lang,rikles/commons-lang,rikles/commons-lang,mureinik/commons-lang,anzhdanov/seeding-realistic-concurrency-bugs,anzhdanov/seeding-realistic-concurrency-bugs,anzhdanov/seeding-realistic-concurrency-bugs | /*
* Copyright 2002-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | src/test/org/apache/commons/lang/AllLangTestSuite.java | /*
* Copyright 2002-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | Add text package tests back into commons-lang
git-svn-id: d201ecbade8cc7da50e7bffa1d709f7a0d92be7d@219114 13f79535-47bb-0310-9956-ffa450edef68
| src/test/org/apache/commons/lang/AllLangTestSuite.java | Add text package tests back into commons-lang | <ide><path>rc/test/org/apache/commons/lang/AllLangTestSuite.java
<ide> import org.apache.commons.lang.exception.ExceptionTestSuite;
<ide> import org.apache.commons.lang.math.MathTestSuite;
<ide> import org.apache.commons.lang.mutable.MutableTestSuite;
<del>//import org.apache.commons.lang.text.TextTestSuite;
<add>impor... | |
JavaScript | unlicense | e203235a1730cc9a15f049ce5e94f9f266010f87 | 0 | twolfson/google-music.js | // Load in dependencies
var expect = require('chai').expect;
var browserUtils = require('./utils/browser');
var browserMusicUtils = require('./utils/browser-music');
// Start our tests
describe('A Google Music instance playing no music', function () {
browserUtils.openMusic({
killBrowser: false,
url: 'https:... | test/track-info.js | // Load in dependencies
var expect = require('chai').expect;
var browserUtils = require('./utils/browser');
var browserMusicUtils = require('./utils/browser-music');
// Start our tests
describe('A Google Music instance playing no music', function () {
browserUtils.openMusic({
killBrowser: false,
url: 'https:... | Fixed up test to green
| test/track-info.js | Fixed up test to green | <ide><path>est/track-info.js
<ide> });
<ide>
<ide> describe('when we are playing music', function () {
<del> browserUtils.execute(function setupPlaybackWatcher () {
<add> browserUtils.execute(function setupSongWatcher () {
<ide> window.GoogleMusicApp = {
<del> playbackChanged: function saveSong ... | |
Java | apache-2.0 | d3256db8e842c0f9dd0d5e838552fc5e80706836 | 0 | Erudika/para,Erudika/para | /*
* Copyright 2013-2022 Erudika. https://erudika.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | para-core/src/main/java/com/erudika/para/core/utils/Config.java | /*
* Copyright 2013-2022 Erudika. https://erudika.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | fixed configuration rendenring methods
| para-core/src/main/java/com/erudika/para/core/utils/Config.java | fixed configuration rendenring methods | <ide><path>ara-core/src/main/java/com/erudika/para/core/utils/Config.java
<ide> import java.util.LinkedHashMap;
<ide> import java.util.List;
<ide> import java.util.Map;
<add>import java.util.Optional;
<ide> import java.util.Set;
<ide> import java.util.stream.Collectors;
<ide> import org.apache.commons.lang3.StringUtils... | |
Java | apache-2.0 | 52288b2be4ef4127782b6d634286bc7b24ef425b | 0 | airlift/aircompressor,dain/aircompressor | /*
* 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... | src/test/java/io/airlift/compress/DecompressBenchmark.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... | Separate benchmark verify from prepare
| src/test/java/io/airlift/compress/DecompressBenchmark.java | Separate benchmark verify from prepare | <ide><path>rc/test/java/io/airlift/compress/DecompressBenchmark.java
<ide>
<ide> blockCompressedSnappy = compressBlockSnappy(data);
<ide>
<del> Arrays.fill(uncompressedBytes, (byte) 0);
<del> blockAirliftSnappy(new BytesCounter());
<del> if (!Arrays.equals(data, uncompressedBytes)) {
<del... | |
Java | mit | b858f08485b28460f262b32d74aa4a37fa471057 | 0 | ljfa-ag/TNTUtils | package ljfa.tntutils;
import java.io.File;
import java.util.HashSet;
import java.util.Set;
import ljfa.tntutils.exception.InvalidConfigValueException;
import ljfa.tntutils.util.LogHelper;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraftforge.common.config.Configuration;
import... | src/main/java/ljfa/tntutils/Config.java | package ljfa.tntutils;
import java.io.File;
import java.util.HashSet;
import java.util.Set;
import ljfa.tntutils.exception.InvalidConfigValueException;
import ljfa.tntutils.util.LogHelper;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraftforge.common.config.Configuration;
import... | Comment out this config option for now
| src/main/java/ljfa/tntutils/Config.java | Comment out this config option for now | <ide><path>rc/main/java/ljfa/tntutils/Config.java
<ide> public static void loadValues() {
<ide> explosionCommand = conf.get(CAT_GENERAL, "addExplosionCommand", true, "Adds the \"/explosion\" command").setRequiresMcRestart(true).getBoolean();
<ide> sizeMultiplier = (float)conf.get(CAT_GENERAL, "sizeM... | |
Java | apache-2.0 | 57d3259437bc91491569685f5ab298938d5ef613 | 0 | spring-cloud/spring-cloud-release-tools,spring-cloud/spring-cloud-release-tools,spring-cloud/spring-cloud-release-tools,spring-cloud/spring-cloud-release-tools,spring-cloud/spring-cloud-release-tools,spring-cloud/spring-cloud-release-tools | /*
* Copyright 2013-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-cloud-release-tools-core/src/main/java/org/springframework/cloud/release/internal/project/ProjectCommandExecutor.java | /*
* Copyright 2013-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Debug for command executor
| spring-cloud-release-tools-core/src/main/java/org/springframework/cloud/release/internal/project/ProjectCommandExecutor.java | Debug for command executor | <ide><path>pring-cloud-release-tools-core/src/main/java/org/springframework/cloud/release/internal/project/ProjectCommandExecutor.java
<ide> try {
<ide> String workingDir = this.workingDir;
<ide> log.info(
<del> "Will run the command from [{}] via {} and wait for result for [{}] minutes",
<del> workingD... | |
Java | mit | 8f12a58ccee6bbd16286e76dec91e8fc725f482c | 0 | evgenyneu/walk-to-circle-android | package com.evgenii.walktocircle.WalkWalk;
import java.util.HashSet;
import java.util.Set;
import java.util.Vector;
public class WalkRandomQuote {
// Random number generator used to pick a random quote.
// The property is null normally but in the unit test it is set with a fake random number generator.
pu... | app/src/main/java/com/evgenii/walktocircle/WalkWalk/WalkRandomQuote.java | package com.evgenii.walktocircle.WalkWalk;
import java.util.Set;
import java.util.Vector;
public class WalkRandomQuote {
// Random number generator used to pick a random quote.
// The property is null normally but in the unit test it is set with a fake random number generator.
public static WalkRandomQuot... | Walk screen
| app/src/main/java/com/evgenii/walktocircle/WalkWalk/WalkRandomQuote.java | Walk screen | <ide><path>pp/src/main/java/com/evgenii/walktocircle/WalkWalk/WalkRandomQuote.java
<ide> package com.evgenii.walktocircle.WalkWalk;
<ide>
<add>import java.util.HashSet;
<ide> import java.util.Set;
<ide> import java.util.Vector;
<ide>
<ide> result.quoteToShow = pickRandom(newQuotes);
<ide>
<ide> // Ad... | |
Java | apache-2.0 | d71a8b14aaf8c6318a4226713fd83dbfb2d25f3a | 0 | jabbrwcky/selenium,davehunt/selenium,joshbruning/selenium,titusfortner/selenium,asashour/selenium,titusfortner/selenium,chrisblock/selenium,carlosroh/selenium,juangj/selenium,joshmgrant/selenium,jabbrwcky/selenium,carlosroh/selenium,jabbrwcky/selenium,HtmlUnit/selenium,mach6/selenium,joshmgrant/selenium,joshbruning/sel... | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | java/server/src/org/openqa/selenium/remote/server/handler/internal/ArgumentConverter.java | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | Convert RemoteWebElements decoded from JSON to "known elements".
As of commit e32b83dc4321b05ecf9c7a9bbe21722a06b046ad, the decoded JSON parameters may include a WebElement. It's necessary to convert the element when a RemoteWebElement is passed as the "id" param to SwitchToFrame.
Fixes #4083.
| java/server/src/org/openqa/selenium/remote/server/handler/internal/ArgumentConverter.java | Convert RemoteWebElements decoded from JSON to "known elements". | <ide><path>ava/server/src/org/openqa/selenium/remote/server/handler/internal/ArgumentConverter.java
<ide> import com.google.common.collect.Lists;
<ide> import com.google.common.collect.Maps;
<ide>
<add>import org.openqa.selenium.remote.RemoteWebElement;
<ide> import org.openqa.selenium.remote.server.KnownElements;
<id... | |
Java | apache-2.0 | 0d41211747b9e8628ca8b7674b94d7334533f5db | 0 | prnncl/Reminiscence,nicofromspace/Reminiscence | package it.unitn.vanguard.reminiscence;
import it.unitn.vanguard.reminiscence.utils.FinalFunctionsUtilities;
import java.util.Calendar;
import java.util.Locale;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bund... | src/it/unitn/vanguard/reminiscence/DataNascitaActivity.java | package it.unitn.vanguard.reminiscence;
import it.unitn.vanguard.reminiscence.utils.FinalFunctionsUtilities;
import java.util.Calendar;
import java.util.Locale;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bund... | mi ero dimenticato di cancellare una roba
| src/it/unitn/vanguard/reminiscence/DataNascitaActivity.java | mi ero dimenticato di cancellare una roba | <ide><path>rc/it/unitn/vanguard/reminiscence/DataNascitaActivity.java
<ide>
<ide> private Context context;
<ide>
<del> private String name, surname, mail, day, month, year;
<add> private String day, month, year;
<ide>
<ide> // Date values
<ide> private int dayValue = 1, monthValue = 0, yearValue = 1940; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.