lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | agpl-3.0 | e0d27688e27bfa82209b6629a3fb0ca4e4ee52d5 | 0 | rabblerouser/core,rabblerouser/core,rabblerouser/core | src/lib/memberValidator.js | 'use strict';
const validator = require('validator');
const moment = require('moment');
const _ = require('lodash');
function isValidVerificationHash(theHash) {
return validator.isUUID(theHash, '4');
}
var containsSpecialCharacters = (theString, restricted) => {
return restricted.test(theString);
};
var isVali... | Remove shared validator as FE and BE have diverged
| src/lib/memberValidator.js | Remove shared validator as FE and BE have diverged | <ide><path>rc/lib/memberValidator.js
<del>'use strict';
<del>const validator = require('validator');
<del>const moment = require('moment');
<del>const _ = require('lodash');
<del>
<del>function isValidVerificationHash(theHash) {
<del> return validator.isUUID(theHash, '4');
<del>}
<del>
<del>var containsSpecialCharacte... | ||
Java | apache-2.0 | c61751ed17178d5cbe7465d3a436895d60b0efb2 | 0 | balarj/rmend-commons | package com.brajagopal.rmend.exception;
import com.brajagopal.rmend.exception.beans.DSErrorBean;
import com.google.api.services.datastore.client.DatastoreException;
import org.json.JSONObject;
import org.json.JSONTokener;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger... | src/main/java/com/brajagopal/rmend/exception/DatastoreExceptionManager.java | package com.brajagopal.rmend.exception;
import com.brajagopal.rmend.exception.beans.DSErrorBean;
import com.google.api.services.datastore.client.DatastoreException;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
import java.util.HashMap;
import java.util.Map;
import java.util.... | Updated the DatastoreExceptionManager to handle non-json formatted exceptions.
| src/main/java/com/brajagopal/rmend/exception/DatastoreExceptionManager.java | Updated the DatastoreExceptionManager to handle non-json formatted exceptions. | <ide><path>rc/main/java/com/brajagopal/rmend/exception/DatastoreExceptionManager.java
<ide>
<ide> import com.brajagopal.rmend.exception.beans.DSErrorBean;
<ide> import com.google.api.services.datastore.client.DatastoreException;
<del>import org.json.JSONException;
<ide> import org.json.JSONObject;
<ide> import org.jso... | |
Java | bsd-3-clause | cf122968a74cf485ee2e800539fdd5140aad2cd3 | 0 | leok7v/android-benchApp,leok7v/android-benchApp | /* Copyright (c) 2014, Leo Kuznetsov <Leo.Kuznetsov@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... | src/com/benchapp/Act.java | /* Copyright (c) 2014, Leo Kuznetsov <Leo.Kuznetsov@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... | better spacing
| src/com/benchapp/Act.java | better spacing | <ide><path>rc/com/benchapp/Act.java
<ide> super.onCreate(savedInstanceState);
<ide> cv = new Splash(this);
<ide> setContentView(cv);
<del>
<ide> }
<ide>
<ide> @SuppressLint("SetJavaScriptEnabled")
<ide> wv.getSettings().setAppCacheEnabled(true);
<ide> wv.getSettings().se... | |
Java | apache-2.0 | error: pathspec 'sli/dashboard/src/main/java/org/slc/sli/dashboard/web/controller/MiscellaneousController.java' did not match any file(s) known to git
| 8737cff4ca45df365daa99942134124ad56180a0 | 1 | inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service | /*
* Copyright 2012 Shared Learning Collaborative, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | sli/dashboard/src/main/java/org/slc/sli/dashboard/web/controller/MiscellaneousController.java | added miscellaneous controller, with methods to get header and footer
| sli/dashboard/src/main/java/org/slc/sli/dashboard/web/controller/MiscellaneousController.java | added miscellaneous controller, with methods to get header and footer | <ide><path>li/dashboard/src/main/java/org/slc/sli/dashboard/web/controller/MiscellaneousController.java
<add>/*
<add> * Copyright 2012 Shared Learning Collaborative, LLC
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the Licens... | |
Java | apache-2.0 | 05d22432ec9629da2b2534151f68473fd4026828 | 0 | AxonFramework/AxonFramework | /*
* Copyright (c) 2010-2020. Axon Framework
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | messaging/src/main/java/org/axonframework/eventhandling/scheduling/quartz/QuartzEventScheduler.java | /*
* Copyright (c) 2010-2020. Axon Framework
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | Delay the defaulting of the EventJobDataBinder to `QuartzEventScheduler(Builder)` to allow alternatives to be set using the builder, and thus removing the XStream hard dependency.
| messaging/src/main/java/org/axonframework/eventhandling/scheduling/quartz/QuartzEventScheduler.java | Delay the defaulting of the EventJobDataBinder to `QuartzEventScheduler(Builder)` to allow alternatives to be set using the builder, and thus removing the XStream hard dependency. | <ide><path>essaging/src/main/java/org/axonframework/eventhandling/scheduling/quartz/QuartzEventScheduler.java
<ide> /**
<ide> * Instantiate a {@link QuartzEventScheduler} based on the fields contained in the {@link Builder}.
<ide> * <p>
<del> * Will assert that the {@link Scheduler}, {@link EventBus},... | |
Java | apache-2.0 | 882132739ebf6b0da969144e0e849648016d2620 | 0 | RanjithKumar5550/RanMifos,Vishwa1311/incubator-fineract,Vishwa1311/incubator-fineract,RanjithKumar5550/RanMifos,Vishwa1311/incubator-fineract,RanjithKumar5550/RanMifos | /**
* 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 m... | fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/LoanReschedulingWithinCenterTest.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 m... | Second Disbursement date was hard coded, due to this 1 test case was failing
| fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/LoanReschedulingWithinCenterTest.java | Second Disbursement date was hard coded, due to this 1 test case was failing | <ide><path>ineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/LoanReschedulingWithinCenterTest.java
<ide> LoanProductTestBuilder.INTEREST_APPLICABLE_STRATEGY_ON_PRE_CLOSE_DATE, null, isMultiTrancheLoan,
<ide> null, null);
<ide>
<add> Calendar seondTra... | |
Java | agpl-3.0 | f235c3ddb928eba2c584e8ba4b92f4ce445dfb64 | 0 | brewingagile/backoffice.brewingagile.org,brewingagile/backoffice.brewingagile.org,brewingagile/backoffice.brewingagile.org,brewingagile/backoffice.brewingagile.org | package org.brewingagile.backoffice.rest.gui;
import argo.jdom.JsonNode;
import argo.jdom.JsonRootNode;
import argo.saj.InvalidSyntaxException;
import fj.Monoid;
import fj.P2;
import fj.P3;
import fj.data.Collectors;
import fj.data.List;
import fj.data.TreeMap;
import org.brewingagile.backoffice.auth.AuthService;
impo... | application/src/main/java/org/brewingagile/backoffice/rest/gui/BudgetJaxRs.java | package org.brewingagile.backoffice.rest.gui;
import argo.jdom.JsonNode;
import argo.jdom.JsonRootNode;
import argo.saj.InvalidSyntaxException;
import fj.Monoid;
import fj.P2;
import fj.P3;
import fj.data.Collectors;
import fj.data.List;
import fj.data.TreeMap;
import org.brewingagile.backoffice.auth.AuthService;
impo... | Updated cost for lanyards.
| application/src/main/java/org/brewingagile/backoffice/rest/gui/BudgetJaxRs.java | Updated cost for lanyards. | <ide><path>pplication/src/main/java/org/brewingagile/backoffice/rest/gui/BudgetJaxRs.java
<ide> t("Video Production", 1, 24000),
<ide> t("Audio Technician", 1, 4500),
<ide> t("Supplies for Open Spaces", 1, 1000),
<del> t("Lanyards", 1, 1500)
<add> t("Lanyards", 1, 1450)
<ide> );
<ide>
<ide> Lis... | |
Java | mit | 331c039a190d9f4b594e0d077d1de77598bb4ae9 | 0 | andreas-eberle/settlers-remake,andreas-eberle/settlers-remake,andreasb242/settlers-remake,andreasb242/settlers-remake,phirschbeck/settlers-remake,andreas-eberle/settlers-remake,Peter-Maximilian/settlers-remake,phirschbeck/settlers-remake,jsettlers/settlers-remake,jsettlers/settlers-remake,phirschbeck/settlers-remake,an... | package jsettlers.lookandfeel.ui;
import jsettlers.graphics.map.draw.ImageProvider;
import jsettlers.lookandfeel.DrawHelper;
import javax.swing.*;
import javax.swing.plaf.basic.BasicButtonUI;
import java.awt.*;
import java.awt.image.BufferedImage;
/**
* Button UI Implementation
*
* @author Andreas Butti
*/
publi... | jsettlers.main.swing/src/jsettlers/lookandfeel/ui/ButtonUIStone.java | package jsettlers.lookandfeel.ui;
import jsettlers.graphics.map.draw.ImageProvider;
import jsettlers.lookandfeel.DrawHelper;
import javax.swing.*;
import javax.swing.plaf.basic.BasicButtonUI;
import java.awt.*;
import java.awt.image.BufferedImage;
/**
* Button UI Implementation
*
* @author Andreas Butti
*/
publ... | fix hidden buttons
| jsettlers.main.swing/src/jsettlers/lookandfeel/ui/ButtonUIStone.java | fix hidden buttons | <ide><path>settlers.main.swing/src/jsettlers/lookandfeel/ui/ButtonUIStone.java
<ide>
<ide> /**
<ide> * Button UI Implementation
<del> *
<add> *
<ide> * @author Andreas Butti
<ide> */
<ide> public class ButtonUIStone extends BasicButtonUI {
<ide> public void installDefaults(AbstractButton b) {
<ide> b.setFont(UI... | |
Java | apache-2.0 | 99647e9580729ecadfae20e0ba435d53e99f6479 | 0 | dain/presto,electrum/presto,smartnews/presto,dain/presto,electrum/presto,electrum/presto,electrum/presto,dain/presto,11xor6/presto,11xor6/presto,ebyhr/presto,erichwang/presto,Praveen2112/presto,11xor6/presto,Praveen2112/presto,dain/presto,losipiuk/presto,losipiuk/presto,ebyhr/presto,11xor6/presto,Praveen2112/presto,los... | /*
* 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-testing/src/main/java/io/prestosql/testing/AbstractTestQueryFramework.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... | Wait for final QueryInfo before using in test
| presto-testing/src/main/java/io/prestosql/testing/AbstractTestQueryFramework.java | Wait for final QueryInfo before using in test | <ide><path>resto-testing/src/main/java/io/prestosql/testing/AbstractTestQueryFramework.java
<ide> import io.prestosql.cost.CostCalculatorWithEstimatedExchanges;
<ide> import io.prestosql.cost.CostComparator;
<ide> import io.prestosql.cost.TaskCountEstimator;
<add>import io.prestosql.execution.QueryInfo;
<ide> import io... | |
Java | mit | e676059cdd85a0fb80e50848ee9d1264815aee74 | 0 | nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations | package algorithms.imageProcessing.matching;
import algorithms.imageProcessing.ColorHistogram;
import algorithms.imageProcessing.Image;
import algorithms.imageProcessing.ImageProcessor;
import algorithms.imageProcessing.MiscellaneousCurveHelper;
import algorithms.imageProcessing.SIGMA;
import algorithms.imageProcessin... | src/algorithms/imageProcessing/matching/ShapeFinder.java | package algorithms.imageProcessing.matching;
import algorithms.imageProcessing.ColorHistogram;
import algorithms.imageProcessing.Image;
import algorithms.imageProcessing.ImageProcessor;
import algorithms.imageProcessing.MiscellaneousCurveHelper;
import algorithms.imageProcessing.SIGMA;
import algorithms.imageProcessin... | adding a note to ShapeFinder and skeleton for a faster search method
| src/algorithms/imageProcessing/matching/ShapeFinder.java | adding a note to ShapeFinder and skeleton for a faster search method | <ide><path>rc/algorithms/imageProcessing/matching/ShapeFinder.java
<ide> or above and to the right.
<ide>
<ide> this is the part that is changing.
<del> -- made an impl of Floyd Warshals all pairs
<add> -- made an impl of Floyd Warshals all pairs.
<ide> ... | |
Java | apache-2.0 | error: pathspec 'src/main/java/org/apache/commons/configuration/builder/DatabaseBuilderProperties.java' did not match any file(s) known to git
| 93ccbb1c37e8ddde4fb008ddda42c367bf29cd3d | 1 | mohanaraosv/commons-configuration,apache/commons-configuration,apache/commons-configuration,mohanaraosv/commons-configuration,mohanaraosv/commons-configuration,apache/commons-configuration | /*
* 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/org/apache/commons/configuration/builder/DatabaseBuilderProperties.java | Added a new properties interface for the parameters of a DatabaseConfiguration instance.
git-svn-id: 0d31da9e303333003508381311333cf78a25d41b@1465755 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/configuration/builder/DatabaseBuilderProperties.java | Added a new properties interface for the parameters of a DatabaseConfiguration instance. | <ide><path>rc/main/java/org/apache/commons/configuration/builder/DatabaseBuilderProperties.java
<add>/*
<add> * Licensed to the Apache Software Foundation (ASF) under one or more
<add> * contributor license agreements. See the NOTICE file distributed with
<add> * this work for additional information regarding copyrigh... | |
JavaScript | mit | 1d8c37d9b5634cdcd7782a010ecc3b2a3be4fe27 | 0 | uzura8/flockbird,uzura8/flockbird,uzura8/flockbird,uzura8/flockbird | function get_url(uri)
{
var isMediaUri = (arguments.length > 1) ? arguments[1] : false;
var isReturnPath = (arguments.length > 2) ? arguments[2] : true;
var isReturnCurrentProtocol = (arguments.length > 3) ? arguments[3] : true;
if (isMediaUri && get_config('mediaBaseUrl')) return get_config('mediaBaseUrl') + uri;... | public/assets/js/site/util.js | function get_url(uri)
{
var isMediaUri = (arguments.length > 1) ? arguments[1] : false;
var isReturnPath = (arguments.length > 2) ? arguments[2] : true;
var isReturnCurrentProtocol = (arguments.length > 3) ? arguments[3] : true;
if (isMediaUri && get_config('mediaBaseUrl')) return get_config('mediaBaseUrl') + uri;... | Fixed type on js
| public/assets/js/site/util.js | Fixed type on js | <ide><path>ublic/assets/js/site/util.js
<ide>
<ide> var terms = '';
<ide> $.each(keys, function(i, key) {
<del> if (term.length && delimitter) terms += delimitter;
<add> if (terms.length && delimitter) terms += delimitter;
<ide> terms += getTerm(key);
<ide> });
<ide> return terms; | |
Java | epl-1.0 | f2a48691ab08afeb6bf5630328d66c84a9481912 | 0 | mischwarz/Weasis,mischwarz/Weasis | /*******************************************************************************
* Copyright (c) 2010 Nicolas Roduit.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
... | weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/display/PresetWindowLevel.java | /*******************************************************************************
* Copyright (c) 2010 Nicolas Roduit.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
... | Fix preset issue | weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/display/PresetWindowLevel.java | Fix preset issue | <ide><path>easis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/display/PresetWindowLevel.java
<ide> LOGGER.error("DICOM preset '{}' is not valid. It is not added to the preset list", explanation);
<ide> continue;
<ide> }
<add> // Lev... | |
Java | bsd-3-clause | ddb06de3436ccc253ed9d4adacc6f0e1b5aa5f8e | 0 | dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk | /*
* Copyright (c) 2017, University of Oslo
*
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of condition... | core/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramEndpointCallMockIntegrationShould.java | /*
* Copyright (c) 2017, University of Oslo
*
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of condition... | [ANDROSDK-428] Add legend test in ProgramEndpointCallMockIntegrationShould
| core/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramEndpointCallMockIntegrationShould.java | [ANDROSDK-428] Add legend test in ProgramEndpointCallMockIntegrationShould | <ide><path>ore/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramEndpointCallMockIntegrationShould.java
<ide> import org.hisp.dhis.android.core.data.database.AbsStoreTestCase;
<ide> import org.hisp.dhis.android.core.data.file.AssetsFileReader;
<ide> import org.hisp.dhis.android.core.data.server.Dhis2MockSe... | |
Java | mit | 99350a50c678c8e7b463e92e72d91fb9e2f83b77 | 0 | camporter/mha-android | package com.teamacra.myhomeaudio.http;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.cl... | src/com/teamacra/myhomeaudio/http/HttpStream.java | package com.teamacra.myhomeaudio.http;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.cl... | Change HttpStream to be more useful
| src/com/teamacra/myhomeaudio/http/HttpStream.java | Change HttpStream to be more useful | <ide><path>rc/com/teamacra/myhomeaudio/http/HttpStream.java
<ide> import org.apache.http.client.entity.UrlEncodedFormEntity;
<ide> import org.apache.http.client.methods.HttpGet;
<ide> import org.apache.http.client.methods.HttpPost;
<add>import org.apache.http.entity.StringEntity;
<ide> import org.apache.http.impl.clien... | |
Java | lgpl-2.1 | 212912cf34753c086229822a03f4f86622a97a7b | 0 | geotools/geotools,geotools/geotools,geotools/geotools,geotools/geotools | /*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2007-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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 ... | modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/Utils.java | /*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2007-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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 ... | minor clean up in imagemosaic
git-svn-id: b0f10281c9a1a817905b9aa75a7907aa928f8a7d@38043 e5c1c795-43da-0310-a71f-fac65c449510
| modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/Utils.java | minor clean up in imagemosaic | <ide><path>odules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/Utils.java
<ide> import it.geosolutions.imageio.stream.input.spi.URLImageInputStreamSpi;
<ide>
<ide> import java.awt.Color;
<del>import java.awt.Rectangle;
<ide> import java.awt.geom.AffineTransform;
<ide> import java.awt.image.BufferedIma... | |
Java | mit | a18f4c29e4048d16b7e6652be269eca631a826b3 | 0 | CS2103AUG2016-W09-C2/main,CS2103AUG2016-W09-C2/main | package seedu.address.logic.parser;
import seedu.address.logic.commands.*;
import seedu.address.commons.util.StringUtil;
import seedu.address.commons.exceptions.IllegalValueException;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static seedu.address.commons.core.Messages... | src/main/java/seedu/address/logic/parser/Parser.java | package seedu.address.logic.parser;
import seedu.address.logic.commands.*;
import seedu.address.commons.util.StringUtil;
import seedu.address.commons.exceptions.IllegalValueException;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static seedu.address.commons.core.Messages... | Refactor Parser prepareAdd to prepareFloatingAdd
| src/main/java/seedu/address/logic/parser/Parser.java | Refactor Parser prepareAdd to prepareFloatingAdd | <ide><path>rc/main/java/seedu/address/logic/parser/Parser.java
<ide> switch (commandWord) {
<ide>
<ide> case AddFloatingCommand.COMMAND_WORD:
<del> return prepareAdd(arguments);
<add> return prepareAddFloating(arguments);
<ide>
<ide> case SelectCommand.COMMAND_WORD:
<ide>... | |
JavaScript | agpl-3.0 | 759f77758ec63ac037a231bdef55dd82771e7c06 | 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 | d81b89c2-2e64-11e5-9284-b827eb9e62be | helloWorld.js | d815df90-2e64-11e5-9284-b827eb9e62be | d81b89c2-2e64-11e5-9284-b827eb9e62be | helloWorld.js | d81b89c2-2e64-11e5-9284-b827eb9e62be | <ide><path>elloWorld.js
<del>d815df90-2e64-11e5-9284-b827eb9e62be
<add>d81b89c2-2e64-11e5-9284-b827eb9e62be | |
JavaScript | mit | 8112691cc7ba44e60fc03837b225d30297d6ab7f | 0 | GatoPresto/ngDroplet,Wildhoney/ngDroplet,Wildhoney/ngDroplet,GatoPresto/ngDroplet | (function($angular) {
"use strict";
// The truest wisdom is a resolute determination...
$angular.module('ngDroplet', []).directive('droplet', ['$rootScope', '$window', '$timeout',
function DropletDirective($rootScope, $window, $timeout) {
return {
/**
* @property re... | components/ngDroplet.js | (function($angular) {
"use strict";
// The truest wisdom is a resolute determination...
$angular.module('ngDroplet', []).directive('droplet', ['$rootScope', '$window', '$timeout',
function DropletDirective($rootScope, $window, $timeout) {
return {
/**
* @property re... | Fixed bugs
| components/ngDroplet.js | Fixed bugs | <ide><path>omponents/ngDroplet.js
<ide> */
<ide> success: function success(httpRequest) {
<ide>
<del> $scope.finishedUploading();
<del>
<ide> httpRequest.upload.onload = function onLoad() {
<ide>
<ide> ... | |
Java | apache-2.0 | d2625d7eb3baea1a645a33dde9b9ab07769d4344 | 0 | subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai | package org.safehaus.subutai.common.settings;
public class Common
{
public static final String UNKNOWN_LXC_PARENT_NAME = "UNKNOWN";
public static final int REFRESH_UI_SEC = 3;
public static final int LXC_AGENT_WAIT_TIMEOUT_SEC = 600;
public static final int AGENT_FRESHNESS_MIN = 4;
public static ... | management/server/subutai-common/src/main/java/org/safehaus/subutai/common/settings/Common.java | package org.safehaus.subutai.common.settings;
public class Common
{
public static final String UNKNOWN_LXC_PARENT_NAME = "UNKNOWN";
public static final int REFRESH_UI_SEC = 3;
public static final int LXC_AGENT_WAIT_TIMEOUT_SEC = 600;
public static final int AGENT_FRESHNESS_MIN = 4;
public static ... | bugfix
| management/server/subutai-common/src/main/java/org/safehaus/subutai/common/settings/Common.java | bugfix | <ide><path>anagement/server/subutai-common/src/main/java/org/safehaus/subutai/common/settings/Common.java
<ide> public static final int REFRESH_UI_SEC = 3;
<ide> public static final int LXC_AGENT_WAIT_TIMEOUT_SEC = 600;
<ide> public static final int AGENT_FRESHNESS_MIN = 4;
<del> public static final int ... | |
Java | lgpl-2.1 | c89fd2440c0878ce79473f4868ed6dd46c9df991 | 0 | travisbrown/marc4j-old | package org.marc4j.test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
import org.marc4j.MarcJsonWriter;
import org.marc4j.MarcStrea... | src/org/marc4j/test/WriterTest.java | package org.marc4j.test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
import org.marc4j.MarcStreamReader;
import org.marc4j.MarcStr... | Submitted by: Robert Haschart
Adding test of setting Unicode Normalization on a MarcXmlWriter
| src/org/marc4j/test/WriterTest.java | Submitted by: Robert Haschart | <ide><path>rc/org/marc4j/test/WriterTest.java
<ide> import junit.framework.TestSuite;
<ide> import junit.textui.TestRunner;
<ide>
<add>import org.marc4j.MarcJsonWriter;
<ide> import org.marc4j.MarcStreamReader;
<ide> import org.marc4j.MarcStreamWriter;
<ide> import org.marc4j.MarcXmlReader;
<ide> InputStream i... | |
Java | apache-2.0 | 57d7897efd9d86544c4ed91dae5c322bbebd2ba9 | 0 | intellimate/izou-pf4j | /*
* Copyright 2012 Decebal Suiu
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with
* the License. You may obtain a copy of the License in the LICENSE file, or at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | src/main/java/ro/fortsoft/pf4j/PluginDescriptor.java | /*
* Copyright 2012 Decebal Suiu
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with
* the License. You may obtain a copy of the License in the LICENSE file, or at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | removed sdkversion from addon_config properties file
| src/main/java/ro/fortsoft/pf4j/PluginDescriptor.java | removed sdkversion from addon_config properties file | <ide><path>rc/main/java/ro/fortsoft/pf4j/PluginDescriptor.java
<ide> return;
<ide> }
<ide>
<del> String sdkVersion = getSdkVersion().toString();
<add> Version sdkVersion = getSdkVersion();
<ide> if (sdkVersion == null) {
<ide> log.error("Error, sdk-version not foun... | |
Java | mit | 52f4300c2580f10f8a79dd1b8bf9d1b9abdf7fd2 | 0 | Vlatombe/jenkins,mrobinet/jenkins,escoem/jenkins,lilyJi/jenkins,noikiy/jenkins,v1v/jenkins,maikeffi/hudson,stefanbrausch/hudson-main,SenolOzer/jenkins,hashar/jenkins,everyonce/jenkins,vvv444/jenkins,vlajos/jenkins,mcanthony/jenkins,akshayabd/jenkins,arunsingh/jenkins,lordofthejars/jenkins,MadsNielsen/jtemp,dbroady1/jen... | package hudson.security;
import org.acegisecurity.AuthenticationManager;
import org.acegisecurity.Authentication;
import org.acegisecurity.AuthenticationException;
import org.kohsuke.stapler.StaplerRequest;
import hudson.model.Descriptor;
import net.sf.json.JSONObject;
/**
* {@link SecurityRealm} that accepts {@link... | core/src/main/java/hudson/security/LegacySecurityRealm.java | package hudson.security;
import org.acegisecurity.AuthenticationManager;
import org.acegisecurity.Authentication;
import org.acegisecurity.AuthenticationException;
import hudson.model.Descriptor;
/**
* {@link SecurityRealm} that accepts {@link ContainerAuthentication} object
* without any check (that is, by assumin... | bug fix.
git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@6342 71c3de6d-444a-0410-be80-ed276b4c234a
| core/src/main/java/hudson/security/LegacySecurityRealm.java | bug fix. | <ide><path>ore/src/main/java/hudson/security/LegacySecurityRealm.java
<ide> import org.acegisecurity.AuthenticationManager;
<ide> import org.acegisecurity.Authentication;
<ide> import org.acegisecurity.AuthenticationException;
<add>import org.kohsuke.stapler.StaplerRequest;
<ide> import hudson.model.Descriptor;
<add>im... | |
Java | apache-2.0 | 742bb2ec5e9748e59bf6aa8897652af2b8b9e8e6 | 0 | nataliange/homework,nataliange/homework,nataliange/homework | package com.example.fw;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
import utils.ListOf;
import utils.SortedListOf;
import com.example.tests.ContactData;
import com.example.tests.TestBase;
import java.util.Array... | addressbook_nge/src/com/example/fw/ContactHelper.java | package com.example.fw;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
import utils.ListOf;
import utils.SortedListOf;
import com.example.tests.ContactData;
import com.example.tests.TestBase;
import java.util.Array... | DZ 38_39 updated
DZ 38_39 updated
| addressbook_nge/src/com/example/fw/ContactHelper.java | DZ 38_39 updated | <ide><path>ddressbook_nge/src/com/example/fw/ContactHelper.java
<ide> }
<ide> }
<ide>
<del>
<del>/* private void rebuildCache() {
<del>cachedContacts = new SortedListOf<ContactData>();
<del>
<del> manager.navigateTo().mainPage();
<del> List<WebElement> checkboxes = driver
<del> .findElements(By.name("select... | |
Java | apache-2.0 | e8c85091451f24b48bafe9335862e7d5282ff5eb | 0 | spencergibb/spring-cloud-gateway,spencergibb/spring-cloud-gateway,spring-cloud-incubator/spring-cloud-gateway,spring-cloud-incubator/spring-cloud-gateway | /*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | src/main/java/org/springframework/cloud/gateway/handler/FilteringWebHandler.java | /*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Add cache and public method to get combined filters for route
| src/main/java/org/springframework/cloud/gateway/handler/FilteringWebHandler.java | Add cache and public method to get combined filters for route | <ide><path>rc/main/java/org/springframework/cloud/gateway/handler/FilteringWebHandler.java
<ide> private final List<GlobalFilter> globalFilters;
<ide> private final Map<String, RouteFilter> routeFilters = new HashMap<>();
<ide>
<add> private final Map<String, List<WebFilter>> combinedFiltersForRoute = new HashMap<>(... | |
Java | apache-2.0 | 3a9aa17285908ba13a8d9555bda181b124a7b632 | 0 | apache/wicket,freiheit-com/wicket,aldaris/wicket,selckin/wicket,freiheit-com/wicket,martin-g/wicket-osgi,freiheit-com/wicket,Servoy/wicket,mosoft521/wicket,selckin/wicket,mafulafunk/wicket,AlienQueen/wicket,selckin/wicket,topicusonderwijs/wicket,aldaris/wicket,freiheit-com/wicket,apache/wicket,dashorst/wicket,martin-g/... | /*
* $Id$
* $Revision$
* $Date$
*
* ====================================================================
* 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/lic... | wicket/src/java/wicket/markup/html/form/Form.java | /*
* $Id$
* $Revision$
* $Date$
*
* ====================================================================
* 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/lic... | form components should only be updated when visible
git-svn-id: ac804e38dcddf5e42ac850d29d9218b7df6087b7@455438 13f79535-47bb-0310-9956-ffa450edef68
| wicket/src/java/wicket/markup/html/form/Form.java | form components should only be updated when visible | <ide><path>icket/src/java/wicket/markup/html/form/Form.java
<ide> {
<ide> // Update model of form component
<ide> final FormComponent formComponent = (FormComponent)component;
<del>
<del> formComponent.updateModel();
<add> if(formComponent.isVisi... | |
JavaScript | mit | 42e979db97708325b54fb82787ac67a8d2f27c21 | 0 | nonoroazoro/firefox,nonoroazoro/firefox,nonoroazoro/firefox | // ==UserScript==
// @name _Common.uc.js
// @description Common library for UserChrome.js.
// @charset UTF-8
// @history 2020-12-30 Added support for Firefox 84.
// @homepageURL https://github.com/nonoroazoro/firefox/tree/master/userchrome/quantum
// ==/UserScript==
const Common ... | userchrome/quantum/chrome/_Common.uc.js | // ==UserScript==
// @name _Common.uc.js
// @description Common library for UserChrome.js.
// @charset UTF-8
// @history 2020-12-30 Added support for Firefox 84.
// @homepageURL https://github.com/nonoroazoro/firefox/tree/master/userchrome/quantum
// ==/UserScript==
const Common ... | add comment
| userchrome/quantum/chrome/_Common.uc.js | add comment | <ide><path>serchrome/quantum/chrome/_Common.uc.js
<ide> // ==/UserScript==
<ide>
<ide> const Common = {
<add> /**
<add> * Copies string to clipboard.
<add> */
<ide> copy(str)
<ide> {
<ide> Components.classes["@mozilla.org/widget/clipboardhelper;1"] | |
Java | mit | 1771b43027d8e9ef167597cf725eab0b75b6a3f9 | 0 | JOML-CI/JOML,JOML-CI/JOML,JOML-CI/JOML | /*
* (C) Copyright 2015 Richard Greenlees
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publi... | src/org/joml/Matrix3f.java | /*
* (C) Copyright 2015 Richard Greenlees
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publi... | remove redundant casts to enable compile with -Werror
| src/org/joml/Matrix3f.java | remove redundant casts to enable compile with -Werror | <ide><path>rc/org/joml/Matrix3f.java
<ide> float c = (float) Math.cos(angle);
<ide> float s = (float) Math.sin(angle);
<ide> float omc = 1.0f - c;
<del> m00 = (float)(c + x*x*omc);
<del> m11 = (float)(c + y*y*omc);
<del> m22 = (float)(c + z*z*omc);
<add> m00 = c + x*x... | |
Java | unlicense | cf30cd12a0ca43f32972ae23c5fc2bc9b587d937 | 0 | pedrohnog/Trabalhos-FIAP,pedrohnog/Trabalhos-FIAP | package br.com.fiap.bot;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.pengrad.telegrambot.TelegramBot;
import com.pengrad.telegrambot.TelegramBotAdapter;
import com.pengrad.telegrambot.model.Chat;
import com.pengrad.telegrambot.model.Update;
import com.pengrad.telegrambot.model.re... | Trabalho1/TelegramBotDigitalBank/src/br/com/fiap/bot/Bot.java | package br.com.fiap.bot;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.pengrad.telegrambot.TelegramBot;
import com.pengrad.telegrambot.TelegramBotAdapter;
import com.pengrad.telegrambot.model.Chat;
import com.pengrad.telegrambot.model.Update;
import com.pengrad.telegrambot.model.re... | Tratamento de exceção para não derrubar o bot
Tratamento de exceção para não derrubar o bot
| Trabalho1/TelegramBotDigitalBank/src/br/com/fiap/bot/Bot.java | Tratamento de exceção para não derrubar o bot | <ide><path>rabalho1/TelegramBotDigitalBank/src/br/com/fiap/bot/Bot.java
<ide>
<ide> for (Update update : updates) {
<ide> m = update.updateId() + 1;
<del>
<add> String mensagemRetorno = "";
<ide> if(update.message() != null){
<ide> bot.execute(new SendChatAction(update.message().chat().id(), ... | |
Java | apache-2.0 | 623eec9d093c09bef9275efc0f5b4024441d3536 | 0 | kryptnostic/kodex | package com.kryptnostic.kodex.v1.crypto.ciphers;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import java.util.Arrays;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.SecretKeySpec;
... | src/main/java/com/kryptnostic/kodex/v1/crypto/ciphers/PasswordCryptoService.java | package com.kryptnostic.kodex.v1.crypto.ciphers;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import java.util.Arrays;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.SecretKeySpec;
... | Fix compile error in PasswordCryptoService.
| src/main/java/com/kryptnostic/kodex/v1/crypto/ciphers/PasswordCryptoService.java | Fix compile error in PasswordCryptoService. | <ide><path>rc/main/java/com/kryptnostic/kodex/v1/crypto/ciphers/PasswordCryptoService.java
<ide> Arrays.fill( password, (char) 0 );
<ide> super.finalize();
<ide> }
<add>
<add> @Override
<add> public byte[] getSecretKey() {
<add> throw new UnsupportedOperationException( "Password crypto ... | |
JavaScript | bsd-3-clause | 50ff0a96049d3bb4059157ea5a7a713ac436b548 | 0 | jsanch/vega-lite,osnr/vega-lite,uwdata/vega-lite,sandbox/vega-lite,vivekratnavel/vega-lite,vega/vega-lite,mendax-grip/vega-lite,Ye-Yong-Chi/vega-lite,vega/vega-lite,vivekratnavel/vega-lite,vega/vega-lite,sandbox/vega-lite,sandbox/vega-lite,Ye-Yong-Chi/vega-lite,mendax-grip/vega-lite,ellisonbg/vega-lite,ellisonbg/vega-l... | // Package of defining Vegalite Specification's json schema
var schema = module.exports = {},
util = require('../util');
schema.util = require('./schemautil');
schema.marktype = {
type: 'string',
enum: ['point', 'bar', 'line', 'area', 'circle', 'square', 'text']
};
schema.aggr = {
type: 'string',
enum: ['... | src/schema/schema.js | // Package of defining Vegalite Specification's json schema
var schema = module.exports = {},
util = require('../util');
schema.util = require('./schemautil');
schema.marktype = {
type: 'string',
enum: ['point', 'bar', 'line', 'area', 'circle', 'square', 'text']
};
schema.aggr = {
type: 'string',
enum: ['... | Revert "Enable grid by default"
This reverts commit ec853026928fd5fbbbc4b8618783e6f64792b7c6.
| src/schema/schema.js | Revert "Enable grid by default" | <ide><path>rc/schema/schema.js
<ide> properties: {
<ide> grid: {
<ide> type: 'boolean',
<del> default: true,
<add> default: false,
<ide> description: 'A flag indicate if gridlines should be created in addition to ticks.'
<ide> },
<ide> title: { | |
Java | bsd-3-clause | 5073891dd66b394465fcc67aab4f69dcae2d0e2c | 0 | jenkinsci/jaxen | /*
* $Header$
* $Revision: 1250 $
* $Date: 2006-11-08 12:27:30 -0800 (Wed, 08 Nov 2006) $
*
* ====================================================================
*
* Copyright 2000-2002 bob mcwhirter & James Strachan.
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or wi... | src/java/main/org/jaxen/expr/XPathFactory.java | /*
* $Header$
* $Revision: 1128 $
* $Date: 2006-02-05 13:49:04 -0800 (Sun, 05 Feb 2006) $
*
* ====================================================================
*
* Copyright 2000-2002 bob mcwhirter & James Strachan.
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or wi... | Adding JavaDoc
| src/java/main/org/jaxen/expr/XPathFactory.java | Adding JavaDoc | <ide><path>rc/java/main/org/jaxen/expr/XPathFactory.java
<ide> /*
<ide> * $Header$
<del> * $Revision: 1128 $
<del> * $Date: 2006-02-05 13:49:04 -0800 (Sun, 05 Feb 2006) $
<add> * $Revision: 1250 $
<add> * $Date: 2006-11-08 12:27:30 -0800 (Wed, 08 Nov 2006) $
<ide> *
<ide> * ==========================================... | |
Java | bsd-2-clause | fed9e6935b02254d21615edc443b4a8bb67382ad | 0 | fritz-gerneth/java-wamp-server | package de.innoaccel.wamp.server.converter;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.JsonNodeType;
import de.innoaccel.wamp.server.Websocket;
import de.innoaccel.wamp.server.message.Message;
import java.io.IOExceptio... | src/main/java/de/innoaccel/wamp/server/converter/JsonParsingConverter.java | package de.innoaccel.wamp.server.converter;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.JsonNodeType;
import de.innoaccel.wamp.server.Websocket;
import de.innoaccel.wamp.server.message.Message;
import java.io.IOExceptio... | Provide utility function to read integers
| src/main/java/de/innoaccel/wamp/server/converter/JsonParsingConverter.java | Provide utility function to read integers | <ide><path>rc/main/java/de/innoaccel/wamp/server/converter/JsonParsingConverter.java
<ide>
<ide> protected void assertMessageCode(JsonNode rootNode, int messageCode) throws MessageParseException, InvalidMessageCodeException
<ide> {
<del> JsonNode messageCodeNode = rootNode.get(0);
<del> if (null ... | |
Java | apache-2.0 | eb672dbba8751a7efbf7382278111c0940108570 | 0 | cassandra-project/platform,cassandra-project/platform,cassandra-project/platform,cassandra-project/platform | package eu.cassandra.server.api.csn;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import eu.ca... | src/eu/cassandra/server/api/csn/CSNClusters.java | package eu.cassandra.server.api.csn;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import eu.ca... | Only the last clustering for each graph_id will be returned #12 | src/eu/cassandra/server/api/csn/CSNClusters.java | Only the last clustering for each graph_id will be returned #12 | <ide><path>rc/eu/cassandra/server/api/csn/CSNClusters.java
<ide> public Response getClusters(@QueryParam("run_id") String run_id,@QueryParam("graph_id") String graph_id){
<ide> if(graph_id != null) {
<ide> String r = PrettyJSONPrinter.prettyPrint(
<del> new MongoDBQueries().getEntity((HttpHeaders)null, MongoG... | |
Java | mit | 619fd2d6955a2b630b10d913665f812aa17b6490 | 0 | patowen/hyperbolic-space | package net.patowen.hyperbolicspace;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.util.ArrayList;
import javax.media.opengl.GL3;
import com.jogamp.common.nio.Buffers;
public class Plane implements SceneNodeType
{
private Controller c;
private SceneNodeImpl sceneNode;
publi... | HyperbolicSpace/src/net/patowen/hyperbolicspace/Plane.java | package net.patowen.hyperbolicspace;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.util.ArrayList;
import javax.media.opengl.GL3;
import com.jogamp.common.nio.Buffers;
public class Plane implements SceneNodeType
{
private Controller c;
private SceneNodeImpl sceneNode;
publi... | Add basic planes | HyperbolicSpace/src/net/patowen/hyperbolicspace/Plane.java | Add basic planes | <ide><path>yperbolicSpace/src/net/patowen/hyperbolicspace/Plane.java
<ide> this.c = c;
<ide> ArrayList<Vertex> v = new ArrayList<Vertex>();
<ide>
<del> v.add(new Vertex( 0, 0, 0)); v.add(new Vertex( 0.5, 0, 0)); v.add(new Vertex( 0.5, 0.3, 0)); v.add(new Vertex(0.3, 0.5, 0)); v.add(new Vertex(0, 0.5, ... | |
Java | mit | 6a5b0fac763b28a2b64b8466d3045b44ba01d5bb | 0 | breakinblocks/BBTweaks,BlueAgent/BBTweaks | package rocks.boltsandnuts.bbtweaks.rituals;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockCrops;
import net.minecraft.block.BlockDoublePlant;
i... | src/main/java/rocks/boltsandnuts/bbtweaks/rituals/RitualEffectNatureLeech.java | package rocks.boltsandnuts.bbtweaks.rituals;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockCrops;
import net.minecraft.block.BlockDoublePlant;
i... | Added sparklies and sound to Ritual of Nature's Leech for Milky.
| src/main/java/rocks/boltsandnuts/bbtweaks/rituals/RitualEffectNatureLeech.java | Added sparklies and sound to Ritual of Nature's Leech for Milky. | <ide><path>rc/main/java/rocks/boltsandnuts/bbtweaks/rituals/RitualEffectNatureLeech.java
<ide> import net.minecraft.block.BlockCrops;
<ide> import net.minecraft.block.BlockDoublePlant;
<ide> import net.minecraft.block.BlockFlower;
<del>import net.minecraft.block.BlockGrass;
<ide> import net.minecraft.block.BlockLeaves;... | |
Java | apache-2.0 | cda2ecd589ebcf03f34b3d996789266dcd2fbc41 | 0 | gstevey/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gra... | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | subprojects/tooling-api/src/main/java/org/gradle/tooling/model/internal/ImmutableDomainObjectSet.java | /*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | made ImmutableDomainObjectSet serializable
- not sure if this is the right approach to overcome the serialization issue with the tooling API's migration model because Eclipse and IDEA models don't seem to have this problem; maybe ImmutableDomainObjectSet shouldn't go over the wire?
| subprojects/tooling-api/src/main/java/org/gradle/tooling/model/internal/ImmutableDomainObjectSet.java | made ImmutableDomainObjectSet serializable | <ide><path>ubprojects/tooling-api/src/main/java/org/gradle/tooling/model/internal/ImmutableDomainObjectSet.java
<ide>
<ide> import org.gradle.tooling.model.DomainObjectSet;
<ide>
<add>import java.io.Serializable;
<ide> import java.util.*;
<ide>
<del>public class ImmutableDomainObjectSet<T> extends AbstractSet<T> imp... | |
Java | apache-2.0 | bbd4ed80a8667b1d0930e211e56a93d9db908e30 | 0 | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | /*
* Copyright 2019, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | server/src/test/java/io/spine/server/bus/DispatchingQueueSynchronisationTest.java | /*
* Copyright 2019, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | Disable deadlock test
| server/src/test/java/io/spine/server/bus/DispatchingQueueSynchronisationTest.java | Disable deadlock test | <ide><path>erver/src/test/java/io/spine/server/bus/DispatchingQueueSynchronisationTest.java
<ide> import io.spine.test.bus.ShareId;
<ide> import io.spine.testing.server.blackbox.BlackBoxBoundedContext;
<ide> import io.spine.testing.server.blackbox.SingleTenantBlackBoxContext;
<add>import org.junit.jupiter.api.Disabled;... | |
Java | mit | ec3f35a06dbf6dff1a95587211ab813465c140c2 | 0 | ufologist/HttpToolbox | package com.github.ufologist.http.example;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.apache.http.Consts;
import org.apache.http.HttpEntity;
import org.apache.http.HttpMessage;
import org.a... | src/com/github/ufologist/http/example/HttpClientExample.java | package com.github.ufologist.http.example;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.apache.http.Consts;
import org.apache.http.HttpEntity;
import org.apache.http.HttpMessage;
import org.a... | 完全控制由httpclient发出去的HTTP请求协议的规格 | src/com/github/ufologist/http/example/HttpClientExample.java | 完全控制由httpclient发出去的HTTP请求协议的规格 | <ide><path>rc/com/github/ufologist/http/example/HttpClientExample.java
<ide> import org.apache.http.client.config.RequestConfig;
<ide> import org.apache.http.client.entity.EntityBuilder;
<ide> import org.apache.http.client.entity.UrlEncodedFormEntity;
<add>import org.apache.http.client.methods.CloseableHttpResponse;
<i... | |
Java | apache-2.0 | 12d7ac09f14b9bd9ccb53f4746b3ebced98b571f | 0 | ronanstokes/kite,andrewrothstein/kite,bbaugher/kite,tinkujohn/kite,bbrownz/kite,EdwardSkoviak/kite,bbaugher/kite,joey/kite,mkwhitacre/kite,tinkujohn/kite,gabrielreid/kite,gabrielreid/kite,prazanna/kite,bbrownz/kite,StephanieMak/kite,prazanna/kite,ronanstokes/kite,EdwardSkoviak/kite,bbrownz/kite,kite-sdk/kite,busbey/kit... | /*
* Copyright 2013 Cloudera Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | kite-morphlines/kite-morphlines-metrics-servlets/src/test/java/org/kitesdk/morphline/metrics/servlets/HttpMetricsMorphlineTest.java | /*
* Copyright 2013 Cloudera Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | CDK-989: HttpMetricsMorphlineTest assumes that only ConnectionException may be thrown
| kite-morphlines/kite-morphlines-metrics-servlets/src/test/java/org/kitesdk/morphline/metrics/servlets/HttpMetricsMorphlineTest.java | CDK-989: HttpMetricsMorphlineTest assumes that only ConnectionException may be thrown | <ide><path>ite-morphlines/kite-morphlines-metrics-servlets/src/test/java/org/kitesdk/morphline/metrics/servlets/HttpMetricsMorphlineTest.java
<ide> import java.net.ConnectException;
<ide> import java.net.URL;
<ide> import java.net.URLConnection;
<add>import java.net.SocketException;
<ide> import java.util.Iterator;
<id... | |
Java | apache-2.0 | 010eeacd87111e43f267f21d595d36f9b06f10fa | 0 | Kloudtek/kryptotek-oss | /*
* Copyright (c) 2016 Kloudtek Ltd
*/
package com.kloudtek.kryptotek.rest.server.jaxrs;
import com.kloudtek.kryptotek.CryptoEngine;
import com.kloudtek.kryptotek.CryptoUtils;
import com.kloudtek.kryptotek.DigestAlgorithm;
import com.kloudtek.kryptotek.key.SignatureVerificationKey;
import com.kloudtek.kryptotek.ke... | rest/server/jaxrs/src/main/java/com/kloudtek/kryptotek/rest/server/jaxrs/RESTAuthenticationFilter.java | /*
* Copyright (c) 2015 Kloudtek Ltd
*/
package com.kloudtek.kryptotek.rest.server.jaxrs;
import com.kloudtek.kryptotek.CryptoEngine;
import com.kloudtek.kryptotek.CryptoUtils;
import com.kloudtek.kryptotek.DigestAlgorithm;
import com.kloudtek.kryptotek.key.SignatureVerificationKey;
import com.kloudtek.kryptotek.ke... | Added updateAuthenticatedContext to allow easier customization
| rest/server/jaxrs/src/main/java/com/kloudtek/kryptotek/rest/server/jaxrs/RESTAuthenticationFilter.java | Added updateAuthenticatedContext to allow easier customization | <ide><path>est/server/jaxrs/src/main/java/com/kloudtek/kryptotek/rest/server/jaxrs/RESTAuthenticationFilter.java
<ide> /*
<del> * Copyright (c) 2015 Kloudtek Ltd
<add> * Copyright (c) 2016 Kloudtek Ltd
<ide> */
<ide>
<ide> package com.kloudtek.kryptotek.rest.server.jaxrs;
<ide> logger.warning("Unautho... | |
Java | agpl-3.0 | ff4ec3a8b144c06783ad050e7397974ecf542471 | 0 | akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow | /*
* Copyright (C) 2010-2015 Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo FLOW.
*
* Akvo FLOW is free software: you can redistribute it and modify it under the terms of
* the GNU Affero General Public License (AGPL) as published by the Free Software Foundation,
* either version 3 of the Li... | GAE/src/org/waterforpeople/mapping/dataexport/GraphicalSurveySummaryExporter.java | /*
* Copyright (C) 2010-2015 Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo FLOW.
*
* Akvo FLOW is free software: you can redistribute it and modify it under the terms of
* the GNU Affero General Public License (AGPL) as published by the Free Software Foundation,
* either version 3 of the Li... | [#828] Remove whitespace
| GAE/src/org/waterforpeople/mapping/dataexport/GraphicalSurveySummaryExporter.java | [#828] Remove whitespace | <ide><path>AE/src/org/waterforpeople/mapping/dataexport/GraphicalSurveySummaryExporter.java
<ide> effectiveId = collapseIdMap.get(nameToIdMap
<ide> .get(effectiveId));
<ide> }
<add>
<ide> String[] vals;
<del>
<ide> ... | |
Java | apache-2.0 | e03e8929a09cef4c91d3997e004c8e79ad5a4961 | 0 | lawloretienne/Trestle | package com.etiennelawlor.trestle.library;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.TextPaint;
import android.text.TextUtils;
import android.text.style.AbsoluteSizeSpan;
import a... | library/src/main/java/com/etiennelawlor/trestle/library/Trestle.java | package com.etiennelawlor.trestle.library;
import android.content.Context;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.TextPaint;
import android.text.TextUtils;
import android.text.... | Optimised Trestle class | library/src/main/java/com/etiennelawlor/trestle/library/Trestle.java | Optimised Trestle class | <ide><path>ibrary/src/main/java/com/etiennelawlor/trestle/library/Trestle.java
<ide> package com.etiennelawlor.trestle.library;
<ide>
<del>import android.content.Context;
<ide> import android.graphics.Paint;
<ide> import android.graphics.Typeface;
<ide> import android.text.Spannable;
<ide> * Created by etiennelawlor ... | |
Java | epl-1.0 | dd36de01ff554c9691befdfb7adbc5fea0531f19 | 0 | ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.... | /*******************************************************************************
* Copyright (c) 2015-2016 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distributi... | org.csstudio.display.builder.model/src/org/csstudio/display/builder/model/DisplayModel.java | /*******************************************************************************
* Copyright (c) 2015-2016 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distributi... | Display: Read macro preferences once for each display
Profiler showed that repeated fetching of macros from prefs slows down
the initial representation of model on UI thread | org.csstudio.display.builder.model/src/org/csstudio/display/builder/model/DisplayModel.java | Display: Read macro preferences once for each display | <ide><path>rg.csstudio.display.builder.model/src/org/csstudio/display/builder/model/DisplayModel.java
<ide> * this user data element of the model points to the embedding widget.
<ide> */
<ide> public static final String USER_DATA_EMBEDDING_WIDGET = "_embedding_widget";
<add>
<add> /** Macros set in pr... | |
JavaScript | mit | 4a417c23ce6838ec87a3b86fd574f36a16740366 | 0 | janimattiellonen/munkirjat-v4,janimattiellonen/munkirjat-v4 | import Noty from '../components/Noty';
export function handleError(response) {
if (null != response) {
if (response.status == 401) {
Noty.error("You must login first!");
}
}
} | src/actions/Errors.js | import Noty from '../components/Noty';
export function handleError(response) {
if (response.status == 401) {
Noty.error("You must login first!");
}
} | for some reason axios catch() is called even if a success
| src/actions/Errors.js | for some reason axios catch() is called even if a success | <ide><path>rc/actions/Errors.js
<ide> import Noty from '../components/Noty';
<ide>
<ide> export function handleError(response) {
<del> if (response.status == 401) {
<del> Noty.error("You must login first!");
<add> if (null != response) {
<add> if (response.status == 401) {
<add> Noty.error("You must login first!")... | |
Java | apache-2.0 | a028956702655787dce41719b5c55dfeeb67fdf6 | 0 | Valkryst/VTerminal | package com.valkryst.VTerminal.misc;
import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.valkryst.VTerminal.AsciiCharacter;
import com.valkryst.VTerminal.AsciiTile;
import com.valkryst.VTerminal.font.Font;
import lombok.Getter;
import java.awt.Graphics;
impo... | src/com/valkryst/VTerminal/misc/ColoredImageCache.java | package com.valkryst.VTerminal.misc;
import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.valkryst.VTerminal.AsciiCharacter;
import com.valkryst.VTerminal.AsciiTile;
import com.valkryst.VTerminal.font.Font;
import lombok.Getter;
import java.awt.Graphics;
impo... | Fixes indentation in constructors.
| src/com/valkryst/VTerminal/misc/ColoredImageCache.java | Fixes indentation in constructors. | <ide><path>rc/com/valkryst/VTerminal/misc/ColoredImageCache.java
<ide>
<ide> this.font = font;
<ide> cachedImages = Caffeine.newBuilder()
<del> .initialCapacity(100)
<del> .maximumSize(10_000)
<del> .expireAfterAccess(5, TimeUnit.MINUTES)
<del> ... | |
Java | apache-2.0 | 12effe1b76d48f182eac94fd983b6f6b00c4e27b | 0 | nykolaslima/vraptor4,danilomunoz/vraptor4,khajavi/vraptor4,clebersonpp/vraptor4,Jonss/vraptor4,Knoobie/vraptor4,tempbottle/vraptor4,tempbottle/vraptor4,rpeleias/vraptor4,clebersonpp/vraptor4,rpeleias/vraptor4,khajavi/vraptor4,garcia-jj/vraptor4-fork,tempbottle/vraptor4,caelum/vraptor4,garcia-jj/vraptor4-fork,khajavi/vr... | /***
* Copyright (c) 2009 Caelum - www.caelum.com.br/opensource 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
*
... | vraptor-core/src/main/java/br/com/caelum/vraptor/AfterCall.java | /***
* Copyright (c) 2009 Caelum - www.caelum.com.br/opensource 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
*
... | Adding info about stack.next | vraptor-core/src/main/java/br/com/caelum/vraptor/AfterCall.java | Adding info about stack.next | <ide><path>raptor-core/src/main/java/br/com/caelum/vraptor/AfterCall.java
<ide>
<ide> /**
<ide> * Executes a method after the current call. The target method must have no parameters, and you can't have more than
<del> * one method annotated with {@link AfterCall} in the same class.
<add> * one method annotated with... | |
Java | epl-1.0 | e19c3ba1a5e9f2699986bba34d928fc5d8574185 | 0 | eveCSS/eveCSS,eveCSS/eveCSS | package de.ptb.epics.eve.viewer.views.messagesview.ui;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import org.apache.log4j.Logger;
import org.eclipse.jface.databinding.viewers.ObservableListContentProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.vie... | applications/plugins/org.csstudio.eve.viewer/src/de/ptb/epics/eve/viewer/views/messagesview/ui/MessagesView.java | package de.ptb.epics.eve.viewer.views.messagesview.ui;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import org.apache.log4j.Logger;
import org.eclipse.jface.databinding.viewers.ObservableListContentProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.vie... | adjusted default width of date column in message view table | applications/plugins/org.csstudio.eve.viewer/src/de/ptb/epics/eve/viewer/views/messagesview/ui/MessagesView.java | adjusted default width of date column in message view table | <ide><path>pplications/plugins/org.csstudio.eve.viewer/src/de/ptb/epics/eve/viewer/views/messagesview/ui/MessagesView.java
<ide> TableViewerColumn timeColumn = new TableViewerColumn(this.tableViewer,
<ide> SWT.LEFT);
<ide> timeColumn.getColumn().setText("Time");
<del> timeColumn.getColumn().setWidth(180);
<add... | |
Java | lgpl-2.1 | ffc3620fbabb8a7192fc9c7800dc4b6dfd1db424 | 0 | kenweezy/teiid,kenweezy/teiid,kenweezy/teiid,jagazee/teiid-8.7,jagazee/teiid-8.7 | /*
* JBoss, Home of Professional Open Source.
* See the COPYRIGHT.txt file distributed with this work for information
* regarding copyright ownership. Some portions may be licensed
* to Red Hat, Inc. under one or more contributor license agreements.
*
* This library is free software; you can redistribute it and... | engine/src/main/java/org/teiid/query/metadata/MetadataValidator.java | /*
* JBoss, Home of Professional Open Source.
* See the COPYRIGHT.txt file distributed with this work for information
* regarding copyright ownership. Some portions may be licensed
* to Red Hat, Inc. under one or more contributor license agreements.
*
* This library is free software; you can redistribute it and... | TEIID-2076 fix for not performing implicit update
| engine/src/main/java/org/teiid/query/metadata/MetadataValidator.java | TEIID-2076 fix for not performing implicit update | <ide><path>ngine/src/main/java/org/teiid/query/metadata/MetadataValidator.java
<ide> }
<ide> }
<ide>
<del> GroupSymbol symbol = new GroupSymbol(t.getName());
<add> GroupSymbol symbol = new GroupSymbol(t.getFullName());
<ide> ResolverUtil.resolveGroup(symbol, metadata);
<ide>
<... | |
Java | apache-2.0 | 0daecd1721ed1c7d804d67b82484836dfc9acc89 | 0 | reportportal/commons-dao | /*
* Copyright (C) 2018 EPAM Systems
*
* 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 ag... | src/main/java/com/epam/ta/reportportal/dao/util/RecordMappers.java | /*
* Copyright (C) 2018 EPAM Systems
*
* 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 ag... | add correct handling of project user record
| src/main/java/com/epam/ta/reportportal/dao/util/RecordMappers.java | add correct handling of project user record | <ide><path>rc/main/java/com/epam/ta/reportportal/dao/util/RecordMappers.java
<ide> Project project = new Project();
<ide> project.setId(r.get(PROJECT_USER.PROJECT_ID));
<ide> projectUser.setProject(project);
<del> projectUser.setProjectRole(ProjectRole.valueOf(r.get(PROJECT_USER.PROJECT_ROLE).name()));
<add> pr... | |
Java | apache-2.0 | e3e8a748a855f3b1a8722405e7811ddd53403475 | 0 | gbif/crawler | package org.gbif.crawler.pipelines.dwca;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Optional;
import java.util.Set;
import java.util.UUID;
import org.gbif.api.model.crawler.OccurrenceValidationReport;
import org.gbif.api.vocabulary.EndpointType;
import org.gbif.common.messaging.AbstractMe... | crawler-cli/src/main/java/org/gbif/crawler/pipelines/dwca/DwcaToAvroCallback.java | package org.gbif.crawler.pipelines.dwca;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Optional;
import java.util.Set;
import java.util.UUID;
import org.gbif.api.model.crawler.OccurrenceValidationReport;
import org.gbif.api.vocabulary.EndpointType;
import org.gbif.common.messaging.AbstractMe... | adding HIVE_VIEW step
| crawler-cli/src/main/java/org/gbif/crawler/pipelines/dwca/DwcaToAvroCallback.java | adding HIVE_VIEW step | <ide><path>rawler-cli/src/main/java/org/gbif/crawler/pipelines/dwca/DwcaToAvroCallback.java
<ide> message.setPipelineSteps(Sets.newHashSet(
<ide> Steps.DWCA_TO_VERBATIM.name(),
<ide> Steps.VERBATIM_TO_INTERPRETED.name(),
<del> Steps.INTERPRETED_TO_INDEX.name()
<add> ... | |
Java | mit | 15f3867a7e917d852a3425f900e1b04ee3315dde | 0 | AlmuraDev/MoreMaterials | /*
* This file is part of MoreMaterials.
*
* Copyright (c) 2012 Andre Mohren (IceReaper)
*
* The MIT License
*
* 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,... | src/main/java/net/morematerials/manager/FurnaceRecipeManager.java | /*
* This file is part of MoreMaterials.
*
* Copyright (c) 2012 Andre Mohren (IceReaper)
*
* The MIT License
*
* 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,... | - Forgotten line in furnace stuff.
| src/main/java/net/morematerials/manager/FurnaceRecipeManager.java | - Forgotten line in furnace stuff. | <ide><path>rc/main/java/net/morematerials/manager/FurnaceRecipeManager.java
<ide> import java.util.HashMap;
<ide> import java.util.LinkedHashMap;
<ide>
<add>import org.bukkit.Bukkit;
<add>import org.bukkit.inventory.FurnaceRecipe;
<add>import org.bukkit.material.MaterialData;
<ide> import org.getspout.spoutapi.invento... | |
Java | apache-2.0 | 3535e1d8836ebb327fd99571ea261df40f533837 | 0 | Kixeye/chassis,zzglitch/chassis,zzglitch/chassis,zzglitch/chassis,Kixeye/chassis | package com.kixeye.chassis.transport.websocket;
/*
* #%L
* Chassis Transport Core
* %%
* Copyright (C) 2014 KIXEYE, Inc
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | chassis-transport/chassis-transport-core/src/main/java/com/kixeye/chassis/transport/websocket/WebSocketMessageMappingRegistry.java | package com.kixeye.chassis.transport.websocket;
/*
* #%L
* Chassis Transport Core
* %%
* Copyright (C) 2014 KIXEYE, Inc
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | changed from BeanFactoryPostProcessor to standard @Component with @PostConstruct as it now needs to scan the context for fully configured instances of WebSocketActionArgumentResolver so that it can configure each WebSocketAction with them.
| chassis-transport/chassis-transport-core/src/main/java/com/kixeye/chassis/transport/websocket/WebSocketMessageMappingRegistry.java | changed from BeanFactoryPostProcessor to standard @Component with @PostConstruct as it now needs to scan the context for fully configured instances of WebSocketActionArgumentResolver so that it can configure each WebSocketAction with them. | <ide><path>hassis-transport/chassis-transport-core/src/main/java/com/kixeye/chassis/transport/websocket/WebSocketMessageMappingRegistry.java
<ide> import org.slf4j.LoggerFactory;
<ide> import org.springframework.beans.BeansException;
<ide> import org.springframework.beans.FatalBeanException;
<add>import org.springframe... | |
JavaScript | bsd-3-clause | c446c883c3136b6fd47191a48bf70e879acdc3ff | 0 | wshager/frink,wshager/frink | import { ensureDoc } from "./doc";
import { compose, into, transform, forEach, filter, cat, distinctCat } from "./transducers";
import { seq, isSeq } from "./seq";
import { prettyXML } from "./pretty";
export function VNodeIterator(iter, parent, f){
this.iter = iter;
this.parent = parent;
this.f = f;
this.index... | src/access.js | import { compose, into, transform, forEach, filter, cat, distinctCat } from "./transducers";
import { seq, isSeq } from "./seq";
import { prettyXML } from "./pretty";
import * as inode from "./persist";
export function ensureRoot(node, cx = inode){
if(!node) return;
if(!node.inode) {
let root = cx.first(node);
... | use ensureDoc as main entry for reuse
| src/access.js | use ensureDoc as main entry for reuse | <ide><path>rc/access.js
<add>import { ensureDoc } from "./doc";
<add>
<ide> import { compose, into, transform, forEach, filter, cat, distinctCat } from "./transducers";
<ide>
<ide> import { seq, isSeq } from "./seq";
<ide>
<ide> import { prettyXML } from "./pretty";
<del>
<del>import * as inode from "./persist";
<del... | |
Java | bsd-3-clause | 3c9fb0fefdc949c937e62ec1bf2772c4f397c525 | 0 | stoewer/nix-java | package org.gnode.nix;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import static org.junit.Assert.*;
public class TestFile {
private File file_open;
private File file_other;
pr... | src/test/java/org/gnode/nix/TestFile.java | package org.gnode.nix;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Date;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class TestFile {
private File file_open;
private File file_other;
... | add tests for block funcs in File
| src/test/java/org/gnode/nix/TestFile.java | add tests for block funcs in File | <ide><path>rc/test/java/org/gnode/nix/TestFile.java
<ide> import org.junit.Test;
<ide>
<ide> import java.util.ArrayList;
<add>import java.util.Arrays;
<ide> import java.util.Date;
<add>import java.util.List;
<ide>
<del>import static org.junit.Assert.assertEquals;
<del>import static org.junit.Assert.assertTrue;
<add>i... | |
Java | apache-2.0 | 0316e264fcc7411ef68ad6aaa3e7c70ac4c13f04 | 0 | Distrotech/intellij-community,MER-GROUP/intellij-community,holmes/intellij-community,kool79/intellij-community,signed/intellij-community,suncycheng/intellij-community,tmpgit/intellij-community,jagguli/intellij-community,ThiagoGarciaAlves/intellij-community,SerCeMan/intellij-community,pwoodworth/intellij-community,fiter... | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | java/java-psi-impl/src/com/intellij/psi/impl/source/PsiClassImpl.java | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | optimization: getName()
| java/java-psi-impl/src/com/intellij/psi/impl/source/PsiClassImpl.java | optimization: getName() | <ide><path>ava/java-psi-impl/src/com/intellij/psi/impl/source/PsiClassImpl.java
<ide>
<ide> private final ClassInnerStuffCache myInnersCache = new ClassInnerStuffCache(this);
<ide>
<del> private PsiMethod myValuesMethod = null;
<del> private PsiMethod myValueOfMethod = null;
<del> private volatile String myCache... | |
JavaScript | mit | 61c42d4ba6a3b1ac8c4d26d2f0e38fd4491d6603 | 0 | johnboxall/betty | var Knox = require("knox");
var Async = require("async");
/**
* Useful for overriding `knox` client methods.
*/
var noop = function(source, destination, headers, callback) {
process.nextTick(function() {
callback(null, {});
});
};
/**
* Returns a rate-limited `knox` client for `bucket`. If `dryRun`... | lib/client.js | var Knox = require("knox");
var Async = require("async");
/**
* Useful for overriding `knox` client methods.
*/
var noop = function(source, destination, headers, callback) {
process.nextTick(function() {
callback(null, {});
});
};
/**
* Returns a rate-limited `knox` client for `bucket`. If `dryRun`... | putFileQueue correctly calls the passed callback.
| lib/client.js | putFileQueue correctly calls the passed callback. | <ide><path>ib/client.js
<ide>
<ide> var putFileQueue = Async.queue(function(task, callback) {
<ide> var done = function(err, res) {
<del> return callback(err, res);
<add> callback();
<add> task.callback(err, res)
<ide> };
<ide>
<ide> var request = clientPut... | |
Java | apache-2.0 | 56d64ea6dd35a36624d7390384eb266138fb3292 | 0 | wcm-io-qa/wcm-io-qa-galenium,wcm-io-qa/wcm-io-qa-galenium,wcm-io-qa/wcm-io-qa-galenium | /*
* #%L
* wcm.io
* %%
* Copyright (C) 2017 wcm.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | galenium/src/main/java/io/wcm/qa/galenium/selectors/AbstractSelectorBase.java | /*
* #%L
* wcm.io
* %%
* Copyright (C) 2017 wcm.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | locator was never set
| galenium/src/main/java/io/wcm/qa/galenium/selectors/AbstractSelectorBase.java | locator was never set | <ide><path>alenium/src/main/java/io/wcm/qa/galenium/selectors/AbstractSelectorBase.java
<ide> @Override
<ide> public Locator asLocator() {
<ide> if (getLocator() == null) {
<del> Locator.css(getString());
<add> setLocator(Locator.css(getString()));
<ide> }
<ide> return getLocator();
<ide> } | |
JavaScript | agpl-3.0 | e46e1cf4aaac7b4e768396facd24750ee77d01c8 | 0 | ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs | module.exports = function(grunt) {
require('google-closure-compiler').grunt(grunt, ['-Xms2048m']);
var defaultConfig, packageFile;
var path = grunt.option('src') || './configs';
var level = grunt.option('level') || 'ADVANCED';
var formatting = grunt.option('formatting') || '';
grunt.loadNpmTasks('grunt-c... | build/Gruntfile.js | module.exports = function(grunt) {
require('google-closure-compiler').grunt(grunt, ['-Xms2048m']);
var defaultConfig, packageFile;
var path = grunt.option('src') || './configs';
var level = grunt.option('level') || 'ADVANCED';
var formatting = grunt.option('formatting') || '';
grunt.loadNpmTasks('grunt-c... | split on PRETTY_PRINT and WHITESPACE_ONLY
| build/Gruntfile.js | split on PRETTY_PRINT and WHITESPACE_ONLY | <ide><path>uild/Gruntfile.js
<ide> grunt.registerTask('build_all', ['build_webword_init', 'build_sdk', 'build_webexcel_init', 'build_sdk', 'build_webpowerpoint_init', 'build_sdk']);
<ide>
<ide> grunt.registerTask('compile_sdk_init', function(compilation_level) {
<add> var splitLine = '';
<ide> var tmp_sdk_path = ... | |
Java | bsd-3-clause | 7d07833fac47fc1c049c677525335d2ae2150515 | 0 | hoijui/JavaOSC | /*
* Copyright (C) 2004-2014, C. Ramakrishnan / Illposed Software.
* All rights reserved.
*
* This code is licensed under the BSD 3-Clause license.
* See file LICENSE (or LICENSE.html) for more information.
*/
package com.illposed.osc.transport.udp;
import com.illposed.osc.OSCPacket;
import com.illposed.osc.OSC... | modules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortIn.java | /*
* Copyright (C) 2004-2014, C. Ramakrishnan / Illposed Software.
* All rights reserved.
*
* This code is licensed under the BSD 3-Clause license.
* See file LICENSE (or LICENSE.html) for more information.
*/
package com.illposed.osc.transport.udp;
import com.illposed.osc.OSCPacket;
import com.illposed.osc.OSC... | more simple solution to not hang after stopListening() [issue#20]
This uses less code and no "assign to null code-smell".
thanks to uzadow@github
| modules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortIn.java | more simple solution to not hang after stopListening() [issue#20] | <ide><path>odules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortIn.java
<ide> private boolean listening;
<ide> private final OSCParser converter;
<ide> private final OSCPacketDispatcher dispatcher;
<del> private Thread listeningThread;
<ide>
<ide> /**
<ide> * Create an OSCPort that listens using a spe... | |
Java | lgpl-2.1 | 79968f6a3c9ed2269564b8fabe74f7ecc8920be8 | 0 | shabanovd/exist,wolfgangmm/exist,shabanovd/exist,dizzzz/exist,shabanovd/exist,ljo/exist,eXist-db/exist,RemiKoutcherawy/exist,opax/exist,windauer/exist,wolfgangmm/exist,dizzzz/exist,kohsah/exist,jessealama/exist,adamretter/exist,ambs/exist,lcahlander/exist,RemiKoutcherawy/exist,dizzzz/exist,hungerburg/exist,wshager/exis... | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-04 Wolfgang M. Meier (wolfgang@exist-db.org)
* and others (see http://exist-db.org)
*
* This program 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 Sof... | src/org/exist/storage/serializers/XIncludeFilter.java | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-04 Wolfgang M. Meier (wolfgang@exist-db.org)
* and others (see http://exist-db.org)
*
* This program 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 Sof... | Fixed broken near() function: needs extra whitespace between adjacent elements in mixed content, otherwise the text content cannot be tokenized.
svn path=/trunk/eXist-1.0/; revision=964
| src/org/exist/storage/serializers/XIncludeFilter.java | Fixed broken near() function: needs extra whitespace between adjacent elements in mixed content, otherwise the text content cannot be tokenized. | <ide><path>rc/org/exist/storage/serializers/XIncludeFilter.java
<ide> // process the xpointer
<ide> try {
<ide> XQueryContext context = new XQueryContext(serializer.broker);
<del> LOG.debug(docName);
<ide> if(doc != null)
<ide> context.setStaticallyKnownDocuments(new String[] ... | |
Java | apache-2.0 | 6e75c886a748acbcf556df050a2ab82d3b46ff28 | 0 | wwjiang007/flink,zjureel/flink,gyfora/flink,twalthr/flink,StephanEwen/incubator-flink,godfreyhe/flink,tony810430/flink,wwjiang007/flink,zentol/flink,wwjiang007/flink,twalthr/flink,godfreyhe/flink,apache/flink,zentol/flink,wwjiang007/flink,godfreyhe/flink,gyfora/flink,godfreyhe/flink,StephanEwen/incubator-flink,wwjiang0... | /*
* 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 ... | flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/BuiltInFunctionTestBase.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 ... | [hotfix][table-planner] Propagate AssertionError in BuiltInFunctionTestBase
| flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/BuiltInFunctionTestBase.java | [hotfix][table-planner] Propagate AssertionError in BuiltInFunctionTestBase | <ide><path>link-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/BuiltInFunctionTestBase.java
<ide> try {
<ide> inputTable.select(testItem.expression).execute();
<ide> fail("Error expected: " + testItem.errorMessage);
<add> } catch (AssertionError e... | |
Java | mit | 8cfbb45e1cc99945f3b4f4021877396b163ce1e5 | 0 | instaclick/PDI-Plugin-Step-AMQP | package com.instaclick.pentaho.plugin.amqp;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.GetResponse;
import com.rabbitmq.client.MessageProperties;
import java.io.IOException;
import org.pentaho.di.core.excep... | src/main/java/com/instaclick/pentaho/plugin/amqp/AMQPPlugin.java | package com.instaclick.pentaho.plugin.amqp;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.GetResponse;
import com.rabbitmq.client.MessageProperties;
import java.io.IOException;
import org.pentaho.di.core.excep... | add check for uri not null if other parameters omited
| src/main/java/com/instaclick/pentaho/plugin/amqp/AMQPPlugin.java | add check for uri not null if other parameters omited | <ide><path>rc/main/java/com/instaclick/pentaho/plugin/amqp/AMQPPlugin.java
<ide> throw new AMQPException("Unable to retrieve field : " + meta.getBodyField());
<ide> }
<ide>
<del> if (username == null || password == null || host == null || port == null || vhost == null) {
<del> if ... | |
Java | bsd-2-clause | 91867c3159652d2d2189149285731bfe30156cdb | 0 | Z-app/zmote,Z-app/zmote | package se.z_app.zmote.epg;
import java.util.Observable;
import java.util.Observer;
import se.z_app.stb.Channel;
import se.z_app.stb.EPG;
import se.z_app.stb.api.EPGData;
import se.z_app.stb.api.STBContainer;
public class EPGContentHandler implements Runnable, Observer{
private Thread thread;
private boolean i... | src/se/z_app/zmote/epg/EPGContentHandler.java | package se.z_app.zmote.epg;
import java.util.Observable;
import java.util.Observer;
import se.z_app.stb.Channel;
import se.z_app.stb.EPG;
import se.z_app.stb.api.EPGData;
import se.z_app.stb.api.STBContainer;
public class EPGContentHandler implements Runnable, Observer{
private Thread thread;
private boolean i... | Adding some symatic suggare, if it cant fetch a epg or get the current channel, it returns a empty one
| src/se/z_app/zmote/epg/EPGContentHandler.java | Adding some symatic suggare, if it cant fetch a epg or get the current channel, it returns a empty one | <ide><path>rc/se/z_app/zmote/epg/EPGContentHandler.java
<ide> if(STBContainer.instance().getActiveSTB() != null){
<ide> synchronized (currentEPG) {
<ide> currentEPG = EPGData.instance().getEPG();
<del> EPGData.instance().populateWithChannelIcon(currentEPG);
<add> if(currentEPG != null){
<add> E... | |
Java | apache-2.0 | 8cf377e90dcd866118271ebb3789fa2e6ba47938 | 0 | sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt | /*
* JavaSMT is an API wrapper for a collection of SMT solvers.
* This file is part of JavaSMT.
*
* Copyright (C) 2007-2015 Dirk Beyer
* 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 ... | src/org/sosy_lab/solver/test/SolverTheoriesTest.java | /*
* JavaSMT is an API wrapper for a collection of SMT solvers.
* This file is part of JavaSMT.
*
* Copyright (C) 2007-2015 Dirk Beyer
* 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 ... | Issue #16: Move test cases for FormulaManagerViews.
These test cases in CPAchecker's CToFormulaConverterWithArraysTest were
moved to the SolversTheoryTest as they just test general array support.
| src/org/sosy_lab/solver/test/SolverTheoriesTest.java | Issue #16: Move test cases for FormulaManagerViews. | <ide><path>rc/org/sosy_lab/solver/test/SolverTheoriesTest.java
<ide> .isEqualTo("(select b i)"); // Compatibility to all solvers not guaranteed
<ide> }
<ide> }
<add>
<add> @Test
<add> public void testNestedRationalArray() {
<add> requireArrays();
<add> requireRationals();
<add>
<add> IntegerF... | |
Java | apache-2.0 | 84bfddff34be1f979815f7530dc87d9fe0715612 | 0 | miguel0afd/cassandra-cqlMod,stuhood/cassandra-old,mgmuscari/cassandra-cdh4,jsanda/cassandra,sbtourist/cassandra,ifesdjeen/cassandra,jeromatron/cassandra,mt0803/cassandra,segfault/apache_cassandra,sayanh/ViewMaintenanceSupport,nvoron23/cassandra,hengxin/cassandra,belliottsmith/cassandra,carlyeks/cassandra,pcn/cassandra-... | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | src/java/org/apache/cassandra/db/commitlog/CommitLog.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... | r/m underscores from CommitLog. patch by jbellis
git-svn-id: 1e8683751772dd0ef52a45d586103b4a82d616ff@908163 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/cassandra/db/commitlog/CommitLog.java | r/m underscores from CommitLog. patch by jbellis | <ide><path>rc/java/org/apache/cassandra/db/commitlog/CommitLog.java
<ide> import java.util.concurrent.ExecutionException;
<ide> import java.util.concurrent.ExecutorService;
<ide> import java.util.concurrent.Future;
<del>import java.util.concurrent.locks.Lock;
<del>import java.util.concurrent.locks.ReentrantLock;
<ide> ... | |
Java | bsd-3-clause | 5cac2ea711dcc2c5b5c4bed78fb4f5a2ee7eeca4 | 0 | Biomatters/barcode-validator,Biomatters/barcode-validator | package com.biomatters.plugins.barcoding.validator.research;
import com.biomatters.geneious.publicapi.components.Dialogs;
import com.biomatters.geneious.publicapi.databaseservice.DatabaseService;
import com.biomatters.geneious.publicapi.databaseservice.DatabaseServiceException;
import com.biomatters.geneious.publicapi... | researchTool/src/com/biomatters/plugins/barcoding/validator/research/BarcodeValidatorOperation.java | package com.biomatters.plugins.barcoding.validator.research;
import com.biomatters.geneious.publicapi.components.Dialogs;
import com.biomatters.geneious.publicapi.databaseservice.DatabaseService;
import com.biomatters.geneious.publicapi.databaseservice.DatabaseServiceException;
import com.biomatters.geneious.publicapi... | BV-87 Barcode Validator fails when Parameter Set X folders already exist
append an index suffix when folder already exist
| researchTool/src/com/biomatters/plugins/barcoding/validator/research/BarcodeValidatorOperation.java | BV-87 Barcode Validator fails when Parameter Set X folders already exist | <ide><path>esearchTool/src/com/biomatters/plugins/barcoding/validator/research/BarcodeValidatorOperation.java
<ide> while (parameterSetIterator.hasNext()) {
<ide> String setName = "Parameter Set " + String.format(parameterSetOrdinalFormat, currentParameterSet++);
<ide>
<add> if (resultsF... | |
Java | apache-2.0 | b53fa38639e816a7f7292e82190bba5ad6c45c74 | 0 | apache/commons-math,Hipparchus-Math/hipparchus,apache/commons-math,sdinot/hipparchus,sdinot/hipparchus,sdinot/hipparchus,sdinot/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus | /*
* 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/test/java/org/apache/commons/math3/linear/SymmLQTest.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 ... | Modified unit test of o.a.c.m3.linear.SymmLQ to show that lines 1208-1209 are essential (see MATH-761).
git-svn-id: 80d496c472b8b763a5e941dba212da9bf48aeceb@1303292 13f79535-47bb-0310-9956-ffa450edef68
| src/test/java/org/apache/commons/math3/linear/SymmLQTest.java | Modified unit test of o.a.c.m3.linear.SymmLQ to show that lines 1208-1209 are essential (see MATH-761). | <ide><path>rc/test/java/org/apache/commons/math3/linear/SymmLQTest.java
<ide> * count[3] = number of calls to terminationPerformed
<ide> */
<ide> final int[] count = new int[] {0, 0, 0, 0};
<add> final RealVector xFromListener = new ArrayRealVector(n);
<ide> final IterationListe... | |
Java | apache-2.0 | f306e44ad7700cce531bfefe9fc9934767b7ad4b | 0 | tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki | /*
JSPWiki - a JSP-based WikiWiki clone.
Copyright (C) 2001 Janne Jalkanen (Janne.Jalkanen@iki.fi)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the Licens... | src/com/ecyrd/jspwiki/WikiPage.java | /*
JSPWiki - a JSP-based WikiWiki clone.
Copyright (C) 2001 Janne Jalkanen (Janne.Jalkanen@iki.fi)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the Licens... | Provider move added some imports.
git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@621675 13f79535-47bb-0310-9956-ffa450edef68
| src/com/ecyrd/jspwiki/WikiPage.java | Provider move added some imports. | <ide><path>rc/com/ecyrd/jspwiki/WikiPage.java
<ide>
<ide> import java.util.Date;
<ide>
<add>import com.ecyrd.jspwiki.providers.WikiPageProvider;
<add>
<ide> /**
<ide> * Simple wrapper class for the Wiki page attributes. The Wiki page
<ide> * content is moved around in Strings, though.
<ide> private String m_... | |
Java | agpl-3.0 | 4968e8cceaeb065355091b84c5cca6707e231cc4 | 0 | imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms | package com.imcode.imcms.domain.service.api;
import com.imcode.imcms.WebAppSpringTestConfig;
import com.imcode.imcms.components.datainitializer.LoopDataInitializer;
import com.imcode.imcms.components.datainitializer.VersionDataInitializer;
import com.imcode.imcms.domain.dto.LoopDTO;
import com.imcode.imcms.domain.dto.... | src/test/java/com/imcode/imcms/domain/service/api/LoopServiceTest.java | package com.imcode.imcms.domain.service.api;
import com.imcode.imcms.components.datainitializer.LoopDataInitializer;
import com.imcode.imcms.components.datainitializer.VersionDataInitializer;
import com.imcode.imcms.config.TestConfig;
import com.imcode.imcms.domain.dto.LoopDTO;
import com.imcode.imcms.domain.dto.LoopE... | IMCMS-336 New design to super admin page: profiles tab
- Update test from junit4 to junit5
| src/test/java/com/imcode/imcms/domain/service/api/LoopServiceTest.java | IMCMS-336 New design to super admin page: profiles tab - Update test from junit4 to junit5 | <ide><path>rc/test/java/com/imcode/imcms/domain/service/api/LoopServiceTest.java
<ide> package com.imcode.imcms.domain.service.api;
<ide>
<add>import com.imcode.imcms.WebAppSpringTestConfig;
<ide> import com.imcode.imcms.components.datainitializer.LoopDataInitializer;
<ide> import com.imcode.imcms.components.datainiti... | |
Java | mit | aecbde4c871a0f406d8df30e3ec9b4ceb2d8a18f | 0 | meeroslaph/bionic-qa-selenium | package tests.tickets;
import org.testng.annotations.DataProvider;
public class TicketsData {
@DataProvider(name = "tickets")
public static Object[][] createData() {
return new Object[][]{
{ 1, 0, 2 },
{ 1, 0, 3 },
{ 2, 0, 3 }
};
}
} | src/test/java/tests/tickets/TicketsData.java | package tests.tickets;
import org.testng.annotations.DataProvider;
public class TicketsData {
@DataProvider(name = "tickets")
public static Object[][] createData() {
return new Object[][]{
{ 1, 0, 2 }
};
}
} | Updated locator for title on Comparison page.
| src/test/java/tests/tickets/TicketsData.java | Updated locator for title on Comparison page. | <ide><path>rc/test/java/tests/tickets/TicketsData.java
<ide> @DataProvider(name = "tickets")
<ide> public static Object[][] createData() {
<ide> return new Object[][]{
<del> { 1, 0, 2 }
<add> { 1, 0, 2 },
<add> { 1, 0, 3 },
<add> { 2, 0, 3 }
<i... | |
Java | agpl-3.0 | 899ed046d6939033194b284f5c45376ada826fd6 | 0 | relateiq/sql-layer,shunwang/sql-layer-1,relateiq/sql-layer,jaytaylor/sql-layer,shunwang/sql-layer-1,ngaut/sql-layer,qiuyesuifeng/sql-layer,qiuyesuifeng/sql-layer,relateiq/sql-layer,jaytaylor/sql-layer,shunwang/sql-layer-1,wfxiang08/sql-layer-1,jaytaylor/sql-layer,shunwang/sql-layer-1,relateiq/sql-layer,wfxiang08/sql-la... | /**
* END USER LICENSE AGREEMENT (“EULA”)
*
* READ THIS AGREEMENT CAREFULLY (date: 9/13/2011):
* http://www.akiban.com/licensing/20110913
*
* BY INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING
* ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS
* AGREEMENT IS ENFOR... | src/test/java/com/akiban/server/test/pt/AggregatePT.java | /**
* END USER LICENSE AGREEMENT (“EULA”)
*
* READ THIS AGREEMENT CAREFULLY (date: 9/13/2011):
* http://www.akiban.com/licensing/20110913
*
* BY INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING
* ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS
* AGREEMENT IS ENFOR... | Make sure to commit the initial data.
| src/test/java/com/akiban/server/test/pt/AggregatePT.java | Make sure to commit the initial data. | <ide><path>rc/test/java/com/akiban/server/test/pt/AggregatePT.java
<ide> import org.junit.Test;
<ide>
<ide> import java.util.*;
<add>import java.util.concurrent.Callable;
<ide> import java.util.concurrent.ConcurrentLinkedQueue;
<ide> import java.util.concurrent.locks.LockSupport;
<ide>
<ide> private TableIndex in... | |
Java | lgpl-2.1 | db6555e811ad16d1875ab954048152e431408459 | 0 | pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/pdf/impl/PdfExportImpl.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | [Misc] When exporting to PDF, don't apply CSS when it's empty. This should also speed up a bit PDF exporting when there's no custom CSS defined.
| xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/pdf/impl/PdfExportImpl.java | [Misc] When exporting to PDF, don't apply CSS when it's empty. This should also speed up a bit PDF exporting when there's no custom CSS defined. | <ide><path>wiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/pdf/impl/PdfExportImpl.java
<ide> if (style != null) {
<ide> css += style;
<ide> }
<del> return applyCSS(html, css, context);
<add> // Don't apply CSS if there's no CSS to apply!
<add> retur... | |
JavaScript | mit | 9ce98f9c3cc8b2c6de2b0b610550465824becd7c | 0 | avwo/whistle,avwo/whistle | var util = require('util');
var path = require('path');
var url = require('url');
var iconv = require('iconv-lite');
var request = require('../util/http-mgr').request;
var isUtf8 = require('../util/is-utf8');
var ca = require('../https/ca');
var Storage = require('../rules/storage');
var getServer = require('hagent').c... | lib/plugins/load-plugin.js | var util = require('util');
var path = require('path');
var url = require('url');
var iconv = require('iconv-lite');
var request = require('../util/http-mgr').request;
var isUtf8 = require('../util/is-utf8');
var ca = require('../https/ca');
var Storage = require('../rules/storage');
var getServer = require('hagent').c... | refactor: getFrames
| lib/plugins/load-plugin.js | refactor: getFrames | <ide><path>ib/plugins/load-plugin.js
<ide> }
<ide> }
<ide> retryRequestFrames(300);
<del> try {
<del> cb(frames || '');
<del> } catch(e) {}
<add> if (!frames || frames.length) {
<add> try {
<add> cb(frames || '');
<add> } catch(e) {}
<add> }
<ide> req[CLOSED] = closed... | |
Java | apache-2.0 | 05855fb1d7cd9e2a6761567f352f47cbff6e1670 | 0 | LightSun/android-common-util-light,LightSun/android-common-util-light,LightSun/android-common-util-light | package com.heaven7.util.extra.callback;
import com.heaven7.util.extra.collection.CopyOnWriteArray;
import java.util.ArrayList;
/**
* simple manager for manage a array of items. support max
* Created by heaven7 on 2016/12/19.
*
* @param <T> the data type, may be a listener type.
*/
public abstract class Callba... | CommonUtil-mini/util-extra/src/main/java/com/heaven7/util/extra/callback/CallbackManager.java | package com.heaven7.util.extra.callback;
import com.heaven7.util.extra.collection.CopyOnWriteArray;
import java.util.ArrayList;
/**
* simple manager for manage a array of items. support max
* Created by heaven7 on 2016/12/19.
*
* @param <T> the data type, may be a listener type.
*/
public abstract class Callba... | change doc
| CommonUtil-mini/util-extra/src/main/java/com/heaven7/util/extra/callback/CallbackManager.java | change doc | <ide><path>ommonUtil-mini/util-extra/src/main/java/com/heaven7/util/extra/callback/CallbackManager.java
<ide> * @param maxCapacity the capacity.
<ide> */
<ide> public CallbackManager(int maxCapacity) {
<add> this.mMaxcapacity = maxCapacity;
<ide> this.mList = new CopyOnWriteArray<T>() {
<id... | |
JavaScript | mit | 2bc1c4682dce9c2546fdd9d66ce326816d520135 | 0 | baiyanghese/paper.js,luisbrito/paper.js,lehni/paper.js,ClaireRutkoske/paper.js,Olegas/paper.js,EskenderDev/paper.js,proofme/paper.js,luisbrito/paper.js,mcanthony/paper.js,JunaidPaul/paper.js,Olegas/paper.js,rgordeev/paper.js,nancymark/paper.js,EskenderDev/paper.js,li0t/paper.js,JunaidPaul/paper.js,superjudge/paper.js,E... | // Override equals to convert functions to message and execute them as tests()
function equals(actual, expected, message) {
if (typeof actual === 'function') {
if (!message) {
message = actual.toString().match(
/^\s*function[^\{]*\{([\s\S]*)\}\s*$/)[1]
.replace(/ /g, '')
.replace(/^\s+|\s+$/g, ''... | test/lib/helpers.js | // Override equals to convert functions to message and execute them as tests()
function equals(actual, expected, message) {
if (typeof actual === 'function') {
if (!message) {
message = actual.toString().match(
/^\s*function[^\{]*\{([\s\S]*)\}\s*$/)[1]
.replace(/ /g, '')
.replace(/^\s+|\s+$/g, ''... | Tests: add checkIdentity flag to helper functions for strict comparison check.
| test/lib/helpers.js | Tests: add checkIdentity flag to helper functions for strict comparison check. | <ide><path>est/lib/helpers.js
<ide> return copy.parent.children[copy.name] == copy;
<ide> }, true);
<ide> }
<del> compareItems(item, copy);
<add> compareItems(item, copy, true);
<ide> // Remove the cloned item to restore the document:
<ide> copy.remove();
<ide> }
<ide> }
<ide> }
<ide>
<del>function compareCha... | |
Java | apache-2.0 | error: pathspec 'src/test/java/org/apache/hadoop/hbase/regionserver/wal/FaultySequenceFileLogReader.java' did not match any file(s) known to git
| e5f4703ca44d2499c73e1068352512652a98d77c | 1 | ChinmaySKulkarni/hbase,JingchengDu/hbase,justintung/hbase,Guavus/hbase,francisliu/hbase,Eshcar/hbase,Guavus/hbase,joshelser/hbase,mahak/hbase,StackVista/hbase,toshimasa-nasu/hbase,StackVista/hbase,joshelser/hbase,Eshcar/hbase,ndimiduk/hbase,ultratendency/hbase,HubSpot/hbase,justintung/hbase,HubSpot/hbase,ultratendency/... | /**
* Copyright 2010 The Apache Software Foundation
*
* 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... | src/test/java/org/apache/hadoop/hbase/regionserver/wal/FaultySequenceFileLogReader.java | HBASE-2935 ... missing file
git-svn-id: 949c06ec81f1cb709fd2be51dd530a930344d7b3@1031423 13f79535-47bb-0310-9956-ffa450edef68
| src/test/java/org/apache/hadoop/hbase/regionserver/wal/FaultySequenceFileLogReader.java | HBASE-2935 ... missing file | <ide><path>rc/test/java/org/apache/hadoop/hbase/regionserver/wal/FaultySequenceFileLogReader.java
<add>/**
<add> * Copyright 2010 The Apache Software Foundation
<add> *
<add> * Licensed to the Apache Software Foundation (ASF) under one
<add> * or more contributor license agreements. See the NOTICE file
<add> * distrib... | |
JavaScript | bsd-3-clause | 2c5fdd43ffeb3d2cd6bd248a346fce6c8cc3446d | 0 | huntergdavis/Quick-Grapher | /* OUR ONLY GLOBALS ARE DECLARED
HERE- array of variable names to legend info, array of variable names to values graphial graph*/
// var arrayLegendHash = new Array();
// var arrayValueHash = new Array();
// var colorArray = [];
// var variableFound = 0;
var parsedEquation = undefined;
/* loadSaved uses the passed va... | js/quick_graph.js | /* OUR ONLY GLOBALS ARE DECLARED
HERE- array of variable names to legend info, array of variable names to values graphial graph*/
// var arrayLegendHash = new Array();
// var arrayValueHash = new Array();
// var colorArray = [];
// var variableFound = 0;
var parsedEquation = undefined;
/* loadSaved uses the passed va... | Still not removing
| js/quick_graph.js | Still not removing | <ide><path>s/quick_graph.js
<ide>
<ide> // Clear sliders
<ide> $("tr.variable").empty();
<del> $("table").remove(".variable");
<add> $("tbody").remove("tr.variable");
<ide> }
<ide>
<ide> // sin = ú | |
Java | apache-2.0 | bdac7c91a38d9b855f83a972c5005c0ffe08d609 | 0 | ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma | /*
*
* Copyright (c) 2007 University of British Columbia
*
* 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 ... | gemma-core/src/main/java/ubic/gemma/ontology/GeneOntologyService.java | /*
*
* Copyright (c) 2007 University of British Columbia
*
* 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 ... | changed getAllGOTermIds to filter out root terms
| gemma-core/src/main/java/ubic/gemma/ontology/GeneOntologyService.java | changed getAllGOTermIds to filter out root terms | <ide><path>emma-core/src/main/java/ubic/gemma/ontology/GeneOntologyService.java
<ide> return overlap;
<ide> }
<ide>
<del>
<ide> /**
<ide> * @return a collection of all existing GO term ids
<ide> */
<del> public Collection<String> getAllGOTermIds (){
<del>
<add> public Collect... | |
JavaScript | mit | 73fb654498b7f54c6143c52039409a4162ff782e | 0 | webtek-hein/app,webtek-hein/app,webtek-hein/app | /**
* Created by hpb on 7/15/2017.
*/
$(document).ready(function() {
$('#example1').DataTable({responsive: true});
} );
$(document).on("click", ".open-modal-action", function () {
var item_id = $(this).data('id');
$(".modal-body #item-id").val( item_id );
var item = $(this).data('id');
$(".mod... | assets/js/action.js | /**
* Created by hpb on 7/15/2017.
*/
$(document).ready(function() {
$('#example1').DataTable({responsive: true});
} );
$(document).on("click", ".open-modal-action", function () {
var item_id = $(this).data('id');
$(".modal-body #item-id").val( item_id );
var item = $(this).data('id');
$(".mod... | simple date validation
| assets/js/action.js | simple date validation | <ide><path>ssets/js/action.js
<ide> return false;
<ide> }
<ide> });
<add> $( "input[name=datereceived]" ).on("blur",function () {
<add> del_date = new Date($('input[name=datedelivered]').val());
<add> date_rec = new Date($('input[name=datereceived]').val(... | |
Java | apache-2.0 | e4d035e5b111042758132bd8cd765b8d5b49a134 | 0 | snorrees/artemis-odb,snorrees/artemis-odb,gjroelofs/artemis-odb,gjroelofs/artemis-odb,antag99/artemis-odb,DaanVanYperen/artemis-odb,antag99/artemis-odb,gjroelofs/artemis-odb | package com.artemis;
import com.artemis.utils.Bag;
import java.util.BitSet;
/**
* Fastest way of changing entity component compositions. Primarily useful when
* bootstrapping entities over several different managers/systems or when
* dealing with many entities at the same time (light particle systems etc).
* <p>... | artemis/src/main/java/com/artemis/EntityTransmuter.java | package com.artemis;
import com.artemis.utils.Bag;
import java.util.BitSet;
/**
* Fastest way of changing entity component compositions. Primarily useful when
* bootstrapping entities over several different managers/systems or when
* dealing with many entities at the same time (light particle systems etc).
* <p>... | gwt... sigh. last compilation error.
| artemis/src/main/java/com/artemis/EntityTransmuter.java | gwt... sigh. last compilation error. | <ide><path>rtemis/src/main/java/com/artemis/EntityTransmuter.java
<ide>
<ide> @Override
<ide> public String toString() {
<del> return String.format("EntityTransmuter(add=%s remove=%s)", additions, removals);
<add> return "EntityTransmuter(add=" + additions + " remove=" + removals + ")";
<ide> }
<ide>
<ide> stat... | |
Java | bsd-3-clause | 72a44e46ed622d6af19db77bfe63a3db0db966b7 | 0 | amesrobotics/2013robot | /* Currently managed by: Levi Raby,Tarun Sunkaraneni, Adam Jessop
*
*
*
*/
package edu.ames.frc.robot;
//Non-explicit imports of io libraries. Once code is finished it should be changed into a set of explicit imports.
import java.io.*;
import javax.microedition.io.*;
import edu.wpi.first.wpilibj.DriverStation;
i... | src/edu/ames/frc/robot/Communication.java | /* Currently managed by: Levi Raby,Tarun Sunkaraneni, Adam Jessop
*
*
*
*/
package edu.ames.frc.robot;
//Non-explicit imports of io libraries. Once code is finished it should be changed into a set of explicit imports.
import java.io.*;
import javax.microedition.io.*;
import edu.wpi.first.wpilibj.DriverStation;
i... | finished my job | src/edu/ames/frc/robot/Communication.java | finished my job | <ide><path>rc/edu/ames/frc/robot/Communication.java
<ide> Connector.open("socket://127.0.0.1:3243");
<ide>
<ide>
<del>
<del> //psock.setSocketOption(SocketConnection.LINGER, 5);
<del>
<ide> InputStream is = psock.openInputStream();
<ide> OutputStream os = p... | |
Java | apache-2.0 | ec0e538534df66bb05f05ecb70c7a99049b60f44 | 0 | apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin | /*
* 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 ... | core-common/src/main/java/org/apache/kylin/common/util/JsonUtil.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 ... | KYLIN-4543 Remove the usage for jackson enableDefaultTyping()
(cherry picked from commit fefd5f6df6a0fdb90cda7a0a66d1aa09d14edbd1)
| core-common/src/main/java/org/apache/kylin/common/util/JsonUtil.java | KYLIN-4543 Remove the usage for jackson enableDefaultTyping() | <ide><path>ore-common/src/main/java/org/apache/kylin/common/util/JsonUtil.java
<ide> // reuse the object mapper to save memory footprint
<ide> private static final ObjectMapper mapper = new ObjectMapper();
<ide> private static final ObjectMapper indentMapper = new ObjectMapper();
<del> private static fin... | |
Java | epl-1.0 | 436f6b1804ad1593fc3be3ccc376c912141b036d | 0 | rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/activity/ActivityStack.java | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | Add test for isInTransaction flag in NotificatinEvent
| model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/activity/ActivityStack.java | Add test for isInTransaction flag in NotificatinEvent | <ide><path>odel/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/activity/ActivityStack.java
<ide>
<ide> // Send notifications.
<ide>
<del> record.sendNotifcations( true );
<add> record.sendNotifcations( false );
<ide>
<ide> sendNotifcations( new ActivityStackEvent( this,
<ide> ActivityStack... | |
Java | bsd-3-clause | fd11a5886c29ce2158d885a9b8155042e361d301 | 0 | dejlek/jlib | /**
* $Id$
*
* Copyright (c) 2009-2010 Areen Design Services Ltd
* 23 Eyot Gardens; London; W6 9TR
* http://www.areen.com
* All rights reserved.
*
* This software is the confidential and proprietary information of
* Areen Design Services Ltd ("Confidential Information"). You shall not
* disclose such Confid... | src/main/java/com/areen/jlib/util/Utility.java | /**
* $Id$
*
* Copyright (c) 2009-2010 Areen Design Services Ltd
* 23 Eyot Gardens; London; W6 9TR
* http://www.areen.com
* All rights reserved.
*
* This software is the confidential and proprietary information of
* Areen Design Services Ltd ("Confidential Information"). You shall not
* disclose such Confid... | Properly formatted code.
git-svn-id: a6571597954494654385eb5e6693f686f629ea20@78 bee1aa47-a06f-436c-a2f2-6a1efea3c100
| src/main/java/com/areen/jlib/util/Utility.java | Properly formatted code. | <ide><path>rc/main/java/com/areen/jlib/util/Utility.java
<ide> */
<ide> public class Utility {
<ide>
<del> public static String getLineInfo() {
<add> public static String getLineInfo() {
<ide> StackTraceElement ste = new Throwable().getStackTrace()[1];
<ide> return ste.getFileName() + ": Line " + s... | |
Java | lgpl-2.1 | 9fe76a0bb2ed867e6b32bda90f8e09ec3856af6a | 0 | xwiki-contrib/currikiorg,xwiki-contrib/currikiorg,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork,xwiki-contrib/currikiorg,xwiki-contrib/currikiorg,i2geo/i2gCurrikiFork,xwiki-contrib/currikiorg,xwiki-contrib/currikiorg,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork | package org.curriki.xwiki.plugin.curriki;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.curriki.xwiki.plugin.asset.Asset;
import org.curriki.xwiki.plugin.asset.composite.RootCollectionCompositeAsset;
import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.XWikiException;
import com.x... | plugins/curriki/src/main/java/org/curriki/xwiki/plugin/curriki/CurrikiPluginApi.java | package org.curriki.xwiki.plugin.curriki;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.curriki.xwiki.plugin.asset.Asset;
import org.curriki.xwiki.plugin.asset.composite.RootCollectionCompositeAsset;
import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.XWikiException;
import com.x... | - CURRIKI-2881
- parseLong() should be used not getLong()
svn@13422
| plugins/curriki/src/main/java/org/curriki/xwiki/plugin/curriki/CurrikiPluginApi.java | - CURRIKI-2881 - parseLong() should be used not getLong() | <ide><path>lugins/curriki/src/main/java/org/curriki/xwiki/plugin/curriki/CurrikiPluginApi.java
<ide> }
<ide>
<ide> public Date getDateMinusDays(String days) {
<del> return new Date((new Date()).getTime() - Long.getLong(days) * Timer.ONE_DAY);
<add> return new Date((new Date()).getTime() - Long.pa... | |
Java | agpl-3.0 | 0f9d9b1a037129a07a52754183bda53f00e8dd0d | 0 | podd/podd-redesign,podd/podd-redesign,podd/podd-redesign,podd/podd-redesign | /**
* PODD is an OWL ontology database used for scientific project management
*
* Copyright (C) 2009-2013 The University Of Queensland
*
* 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 Foundati... | webapp/api/src/main/java/com/github/podd/restlet/PoddSesameRealm.java | /**
* PODD is an OWL ontology database used for scientific project management
*
* Copyright (C) 2009-2013 The University Of Queensland
*
* 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 Foundati... | do not allow inactive users to successfully login fixes #139 | webapp/api/src/main/java/com/github/podd/restlet/PoddSesameRealm.java | do not allow inactive users to successfully login fixes #139 | <ide><path>ebapp/api/src/main/java/com/github/podd/restlet/PoddSesameRealm.java
<ide> {
<ide> PoddSesameRealm.this.log.error("Cannot create a user for the given identifier: {}", identifier);
<ide> throw new IllegalArgumentException("Cannot create a user for the given identifi... | |
Java | mit | 675fa611ea353b35c947b67e2e975477ac5d27b4 | 0 | zalando/tracer,zalando/tracer,whiskeysierra/tracer,whiskeysierra/tracer | package org.zalando.tracer.spring;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.sprin... | tracer-spring-boot-starter/src/main/java/org/zalando/tracer/spring/TracerSchedulingAutoConfiguration.java | package org.zalando.tracer.spring;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.sprin... | Changed core pool size to number of processors
| tracer-spring-boot-starter/src/main/java/org/zalando/tracer/spring/TracerSchedulingAutoConfiguration.java | Changed core pool size to number of processors | <ide><path>racer-spring-boot-starter/src/main/java/org/zalando/tracer/spring/TracerSchedulingAutoConfiguration.java
<ide> @Bean(destroyMethod = "shutdown")
<ide> @ConditionalOnMissingBean(name = "taskSchedulerService")
<ide> public ScheduledExecutorService taskSchedulerService() {
<del> ... | |
JavaScript | apache-2.0 | 85fc18a5dde81b4c1e14ca0caf9ed7879b918020 | 0 | tlhunter/mixpanel-js,tlhunter/mixpanel-js,tlhunter/mixpanel-js,getto23/mixpanel-js,getto23/mixpanel-js,getto23/mixpanel-js | /*
* Mixpanel JS Library v2.2.3
*
* Copyright 2012, Mixpanel, Inc. All Rights Reserved
* http://mixpanel.com/
*
* Includes portions of Underscore.js
* http://documentcloud.github.com/underscore/
* (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
* Released under the MIT License.
*/
// ==ClosureCompiler==
// @com... | mixpanel.js | /*
* Mixpanel JS Library v2.2.3
*
* Copyright 2012, Mixpanel, Inc. All Rights Reserved
* http://mixpanel.com/
*
* Includes portions of Underscore.js
* http://documentcloud.github.com/underscore/
* (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
* Released under the MIT License.
*/
// ==ClosureCompiler==
// @com... | notification style tweaks
| mixpanel.js | notification style tweaks | <ide><path>ixpanel.js
<ide> },
<ide> '#mixpanel-notification-thumbnail': {
<ide> 'position': 'absolute',
<del> 'right': '70px',
<add> 'right': '65px',
<ide> 'overflow': 'hidden',
<ide> 'border-radius': '50%',
<ide> ... | |
Java | apache-2.0 | 53af2ec73e366766f3f8d35a74d1b60bc781e323 | 0 | danberindei/JGroups,TarantulaTechnology/JGroups,ligzy/JGroups,ibrahimshbat/JGroups,pruivo/JGroups,Sanne/JGroups,vjuranek/JGroups,rhusar/JGroups,rvansa/JGroups,dimbleby/JGroups,ibrahimshbat/JGroups,tristantarrant/JGroups,Sanne/JGroups,pferraro/JGroups,ibrahimshbat/JGroups,danberindei/JGroups,dimbleby/JGroups,rhusar/JGro... | // $Id: PromiseTest.java,v 1.2 2006/01/24 22:44:27 belaban Exp $
package org.jgroups.tests;
import junit.framework.TestCase;
import org.jgroups.TimeoutException;
import org.jgroups.util.Promise;
import org.jgroups.util.Util;
/**
* Various test cases for Promise
* @author Bela Ban
*/
public class PromiseTest ext... | tests/junit/org/jgroups/tests/PromiseTest.java | // $Id: PromiseTest.java,v 1.1 2004/09/16 15:03:42 belaban Exp $
package org.jgroups.tests;
import junit.framework.TestCase;
import org.jgroups.TimeoutException;
import org.jgroups.util.Queue;
import org.jgroups.util.QueueClosedException;
import org.jgroups.util.Util;
import org.jgroups.util.Promise;
/**
* Variou... | no message
| tests/junit/org/jgroups/tests/PromiseTest.java | no message | <ide><path>ests/junit/org/jgroups/tests/PromiseTest.java
<del>// $Id: PromiseTest.java,v 1.1 2004/09/16 15:03:42 belaban Exp $
<add>// $Id: PromiseTest.java,v 1.2 2006/01/24 22:44:27 belaban Exp $
<ide>
<ide> package org.jgroups.tests;
<ide>
<ide>
<ide> import junit.framework.TestCase;
<ide> import org.jgroups.Timeo... | |
Java | apache-2.0 | 04cd1bcea1f27134ba528c4e96d261066d949f98 | 0 | elubow/titan,samanalysis/titan,pluradj/titan,elubow/titan,mbrukman/titan,graben1437/titan,samanalysis/titan,pluradj/titan,englishtown/titan,thinkaurelius/titan,amcp/titan,dylanht/titan,samanalysis/titan,pluradj/titan,banjiewen/titan,CYPP/titan,graben1437/titan,englishtown/titan,CYPP/titan,banjiewen/titan,banjiewen/tita... | package com.thinkaurelius.titan.graphdb.tinkerpop.io.graphson;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.Deser... | titan-core/src/main/java/com/thinkaurelius/titan/graphdb/tinkerpop/io/graphson/TitanGraphSONModule.java | package com.thinkaurelius.titan.graphdb.tinkerpop.io.graphson;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.da... | Added a deserializer for GraphSON for the RelationIdentifier.
A bug in TinkerPop serialization allowed tests in the IO suite to pass previously when the probably shouldn't have. Still not completely sure how they passed at all in previous runs, but they were (some magic in jackson data-bind that i haven't been able t... | titan-core/src/main/java/com/thinkaurelius/titan/graphdb/tinkerpop/io/graphson/TitanGraphSONModule.java | Added a deserializer for GraphSON for the RelationIdentifier. | <ide><path>itan-core/src/main/java/com/thinkaurelius/titan/graphdb/tinkerpop/io/graphson/TitanGraphSONModule.java
<ide>
<ide> import com.fasterxml.jackson.core.JsonGenerationException;
<ide> import com.fasterxml.jackson.core.JsonGenerator;
<add>import com.fasterxml.jackson.core.JsonParser;
<ide> import com.fasterxml.j... | |
JavaScript | mit | 57eb518569cfea1cb2ffbe9dd068d84ce99dd120 | 0 | TarikHuber/react-most-wanted,TarikHuber/react-most-wanted,TarikHuber/react-most-wanted | import * as functions from 'firebase-functions'
import admin from 'firebase-admin'
const runtimeOpts = {
timeoutSeconds: 540,
memory: '2GB',
}
export default functions
.region('europe-west1')
.runWith(runtimeOpts)
.database.ref('/group_chat_messages/{groupUid}/{messageUid}')
.onCreate(async (eventSnapshot... | packages/rmw-shell/cra-template-rmw/template/functions/db/groupChatMessages/onCreate.f.js | import * as functions from 'firebase-functions'
import admin from 'firebase-admin'
export default functions
.region('europe-west1')
.database.ref('/group_chat_messages/{groupUid}/{messageUid}')
.onCreate(async (eventSnapshot, context) => {
const { timestamp, params } = context
const { groupUid, messageUi... | Updated group notifications
| packages/rmw-shell/cra-template-rmw/template/functions/db/groupChatMessages/onCreate.f.js | Updated group notifications | <ide><path>ackages/rmw-shell/cra-template-rmw/template/functions/db/groupChatMessages/onCreate.f.js
<ide> import * as functions from 'firebase-functions'
<ide> import admin from 'firebase-admin'
<ide>
<add>const runtimeOpts = {
<add> timeoutSeconds: 540,
<add> memory: '2GB',
<add>}
<add>
<ide> export default functio... | |
Java | lgpl-2.1 | 0c2626313d1dddaba15971d12d086b2b768958d3 | 0 | xwiki/xwiki-commons,xwiki/xwiki-commons | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-commons-core/xwiki-commons-extension/xwiki-platform-extension-api/src/main/java/org/xwiki/extension/internal/DefaultExtensionManagerConfiguration.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | XWIKI-6957: Introduce API to get work directory
* better naming
* improve log and javadoc | xwiki-commons-core/xwiki-commons-extension/xwiki-platform-extension-api/src/main/java/org/xwiki/extension/internal/DefaultExtensionManagerConfiguration.java | XWIKI-6957: Introduce API to get work directory * better naming * improve log and javadoc | <ide><path>wiki-commons-core/xwiki-commons-extension/xwiki-platform-extension-api/src/main/java/org/xwiki/extension/internal/DefaultExtensionManagerConfiguration.java
<ide> */
<ide> public File getHome()
<ide> {
<del> return this.container.getApplicationContext().getWorkDirectory();
<add> ret... | |
Java | bsd-3-clause | f19f72067dea1072154d95529bfc0ac6f6bb98bc | 0 | muloem/xins,muloem/xins,muloem/xins | /*
* $Id$
*
* Copyright 2003-2005 Wanadoo Nederland B.V.
* See the COPYRIGHT file for redistribution and use restrictions.
*/
package org.xins.client;
import java.util.List;
import org.xins.common.MandatoryArgumentChecker;
import org.xins.common.service.TargetDescriptor;
import org.xins.common.text.FastStringB... | src/java-client-framework/org/xins/client/InvalidRequestException.java | /*
* $Id$
*
* Copyright 2003-2005 Wanadoo Nederland B.V.
* See the COPYRIGHT file for redistribution and use restrictions.
*/
package org.xins.client;
import java.util.List;
import org.xins.common.MandatoryArgumentChecker;
import org.xins.common.service.TargetDescriptor;
import org.xins.common.text.FastStringB... | Improved exception message for param-combo failures.
| src/java-client-framework/org/xins/client/InvalidRequestException.java | Improved exception message for param-combo failures. | <ide><path>rc/java-client-framework/org/xins/client/InvalidRequestException.java
<ide> int size = missingParamElements.size();
<ide> for (int i = 0; i < size; i++) {
<ide> DataElement e = (DataElement) missingParamElements.get(i);
<del> String parameterName = e.getAttribute("par... | |
Java | apache-2.0 | fd685eda3d22dbfed1bc9fb1228a7bc45aafa05b | 0 | biezhi/blade,biezhi/blade | package com.blade.server.netty;
import com.blade.Blade;
import com.blade.Environment;
import com.blade.event.BeanProcessor;
import com.blade.event.EventType;
import com.blade.ioc.BeanDefine;
import com.blade.ioc.DynamicContext;
import com.blade.ioc.Ioc;
import com.blade.ioc.OrderComparator;
import com.blade.ioc.annota... | src/main/java/com/blade/server/netty/NettyServer.java | package com.blade.server.netty;
import com.blade.Blade;
import com.blade.Environment;
import com.blade.event.BeanProcessor;
import com.blade.event.EventType;
import com.blade.ioc.BeanDefine;
import com.blade.ioc.DynamicContext;
import com.blade.ioc.Ioc;
import com.blade.ioc.OrderComparator;
import com.blade.ioc.annota... | Modify NettyServer log format
| src/main/java/com/blade/server/netty/NettyServer.java | Modify NettyServer log format | <ide><path>rc/main/java/com/blade/server/netty/NettyServer.java
<ide> this.environment = blade.environment();
<ide>
<ide> long initStart = System.currentTimeMillis();
<del> log.info("Environment: jdk.version\t\t=> {}", System.getProperty("java.version"));
<add> log.info("Environment: jdk.... | |
Java | apache-2.0 | error: pathspec 'src/java/grails/plugin/lightweight/Utils.java' did not match any file(s) known to git
| fbbc887af5eb5b623f2ccd853a2deabdccc83ecb | 1 | wotifgroup/grails-lightweight-deploy,wotifgroup/grails-lightweight-deploy | package grails.plugin.lightweight;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
public class Utils {
public static boolean deleteDir(final Fil... | src/java/grails/plugin/lightweight/Utils.java | Code cleanups
| src/java/grails/plugin/lightweight/Utils.java | Code cleanups | <ide><path>rc/java/grails/plugin/lightweight/Utils.java
<add>package grails.plugin.lightweight;
<add>
<add>import java.io.BufferedInputStream;
<add>import java.io.BufferedOutputStream;
<add>import java.io.File;
<add>import java.io.FileOutputStream;
<add>import java.io.IOException;
<add>import java.util.zip.ZipEntry;
<a... | |
Java | mit | acb72d41e55b934da9a80b197e6cf31ae14b4828 | 0 | Davinder2me/aws-mock,Davinder2me/aws-mock,Davinder2me/aws-mock,treelogic-swe/aws-mock,treelogic-swe/aws-mock,Davinder2me/aws-mock,treelogic-swe/aws-mock,treelogic-swe/aws-mock | package com.tlswe.awsmock.ec2.control;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.TreeSet;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import ja... | src/main/java/com/tlswe/awsmock/ec2/control/MockEC2QueryHandler.java | package com.tlswe.awsmock.ec2.control;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.TreeSet;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import ja... | Bugfix: set default max results
| src/main/java/com/tlswe/awsmock/ec2/control/MockEC2QueryHandler.java | Bugfix: set default max results | <ide><path>rc/main/java/com/tlswe/awsmock/ec2/control/MockEC2QueryHandler.java
<ide>
<ide> private static final String TOKEN_DICT = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
<ide>
<add> /**
<add> * AWS's token is 276 bytes in length (19 fixed + 240 generated per response + 17 fixed)... | |
Java | apache-2.0 | ebf7fb5ced822ef2e69db84d63482e3dd1beb0f4 | 0 | hyperic/sigar,ruleless/sigar,monicasarbu/sigar,lsjeng/sigar,OlegYch/sigar,abhinavmishra14/sigar,hyperic/sigar,couchbase/sigar,boundary/sigar,cit-lab/sigar,ChunPIG/sigar,scouter-project/sigar,scouter-project/sigar,cit-lab/sigar,cit-lab/sigar,formicary/sigar,scouter-project/sigar,kaustavha/sigar,OlegYch/sigar,abhinavmish... | package net.hyperic.sigar.test;
import java.io.File;
import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.ProcExe;
import net.hyperic.sigar.SigarNotImplementedException;
public class TestProcExe extends SigarTestCase {
public TestProcExe(String name) {
super(... | bindings/java/src/net/hyperic/sigar/test/TestProcExe.java | package net.hyperic.sigar.test;
import java.io.File;
import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.ProcExe;
import net.hyperic.sigar.SigarNotImplementedException;
public class TestProcExe extends SigarTestCase {
public TestProcExe(String name) {
super(... | cwd might be empty
| bindings/java/src/net/hyperic/sigar/test/TestProcExe.java | cwd might be empty | <ide><path>indings/java/src/net/hyperic/sigar/test/TestProcExe.java
<ide> String cwd = exe.getCwd();
<ide> traceln("cwd='" + cwd + "'");
<ide>
<del> assertTrue(new File(cwd).isDirectory());
<add> if (cwd.length() > 0) {
<add> assertTrue(new File(cwd).isDirec... | |
JavaScript | mpl-2.0 | b70984cb13b6254003cfc7c0c6199f041b0a8f77 | 0 | qmsk/pngtile,qmsk/pngtile,qmsk/pngtile,qmsk/pngtile,qmsk/pngtile | // A source of tile images of a specific width/height, zoom level range, and some other attributes
/**
* A source of image tiles.
*
* The image source is expected to serve fixed-size tiles (tile_width × tile_height) of image data based on the
* x, y, zl URL query parameters.
*
* x, y - the pixel coordi... | static/tiles2.js | // A source of tile images of a specific width/height, zoom level range, and some other attributes
var Source = Class.create({
initialize: function (path, tile_width, tile_height, zoom_min, zoom_max, img_width, img_height) {
this.path = path;
this.tile_width = tile_width;
this.tile_height = ... | cleanup tiles2.js, fix scaling of old layer when zooming, and have double-click always center
| static/tiles2.js | cleanup tiles2.js, fix scaling of old layer when zooming, and have double-click always center | <ide><path>tatic/tiles2.js
<ide> // A source of tile images of a specific width/height, zoom level range, and some other attributes
<add>
<add>/**
<add> * A source of image tiles.
<add> *
<add> * The image source is expected to serve fixed-size tiles (tile_width × tile_height) of image data based on the
<add> * x, y, ... | |
Java | bsd-3-clause | 5c48805776774e507ecf0ba34045592c4619d337 | 0 | jpverkamp/wombat-ide,jpverkamp/wombat-ide | package wombat.scheme;
import java.io.*;
import java.net.URISyntaxException;
import java.util.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
/**
* Class to wrap Petite bindings.
*/
public class Petite {
/**
* Run from the command line, providing a REPL.
* @param args Ignored.
* @throws URISy... | petite/src/wombat/scheme/Petite.java | package wombat.scheme;
import java.io.*;
import java.net.URISyntaxException;
import java.util.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
/**
* Class to wrap Petite bindings.
*/
public class Petite {
/**
* Run from the command line, providing a REPL.
* @param args Ignored.
* @throws URISy... | Set executable bit when unpacking files from zip so that Petite interop works on Linux/OSX
| petite/src/wombat/scheme/Petite.java | Set executable bit when unpacking files from zip so that Petite interop works on Linux/OSX | <ide><path>etite/src/wombat/scheme/Petite.java
<ide> ZipEntry entry = entries.nextElement();
<ide>
<ide> if (entry.isDirectory()) {
<del> System.out.println("unzipping directory:\n" + entry.getName() + "\nto:\n" + new File(dir, entry.getName()));
<ide> new File... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.